Changeset 117991


Ignore:
Timestamp:
Mar 18, 2014, 3:53:02 PM (6 years ago)
Author:
macsforever2000@…
Message:

lirc: Update to version 0.9.0. Build fix for Xcode 5. (#41498)

Location:
trunk/dports/sysutils/lirc
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/lirc/Portfile

    r91621 r117991  
    44
    55name            lirc
    6 version         0.8.3
    7 revision        2
     6version         0.9.0
    87categories      sysutils net
    98license         GPL-2+
     
    1817master_sites    sourceforge
    1918use_bzip2       yes
    20 checksums       md5 8e78eeded7b31e5ad02e328970437c0f \
    21                 sha1 4b5aec19fa9ee15bafaeb1f87c154a0d4e045dcc \
    22                 rmd160 8948efc3e9dc34426ea32a3c63da63c0efa7dce2
     19checksums           rmd160  d8f1cf3a03573be36787e87adc71beba3e678a37 \
     20                    sha256  6323afae6ad498d4369675f77ec3dbb680fe661bea586aa296e67f2e2daba4ff
     21
    2322livecheck.distname  LIRC
     23
     24patchfiles          patch-osx_patches.diff
    2425
    2526configure.args  --with-driver=udp --with-devdir=${prefix}/var/run \
     
    2728                --mandir=${prefix}/share/man
    2829
     30# Build fails with clang
     31# see bug report at: https://sourceforge.net/apps/mantisbt/lirc/view.php?id=1
     32compiler.blacklist-append *clang*
     33
    2934variant iguanaIR \
    3035    description {Use IguanaIR USB device} {
    31     configure.args-delete   --with-driver=udp
    32     configure.args-append   --with-driver=iguanaIR
    33     depends_lib-append  port:iguanaIR
    34     patchfiles-append \
    35         patch-daemons-hw_iguanaIR.c.diff \
    36         patch-drivers-lirc.h.diff
     36    configure.args-replace    --with-driver=udp --with-driver=iguanaIR
     37    depends_lib-append        port:iguanaIR
     38    patchfiles-append         patch-drivers-lirc.h.diff
    3739}
    3840
     
    6264notes "
    6365After installing you must configure an IR device for lirc to use. Most\
    64 hardware devices are not supported on Mac OS X (known exceptions: IguanaIR)\;\
    65 network sources (remote lircd, HD Homerun, etc) are fully supported.
     66hardware devices are not supported on Mac OS X (known exceptions: IguanaIR).\
     67Network sources (remote lircd, HD Homerun, etc) are fully supported.
    6668
    6769Please edit ${prefix}/etc/LaunchDaemons/org.macports.${name}/${name}.wrapper\
  • trunk/dports/sysutils/lirc/files/patch-drivers-lirc.h.diff

    r64117 r117991  
    11--- drivers/lirc.h.org  2008-01-12 15:57:57.000000000 -0600
    22+++ drivers/lirc.h      2010-01-21 10:03:23.000000000 -0600
    3 @@ -8,7 +8,7 @@
     3@@ -9,7 +9,7 @@
     4 #if defined(__linux__)
     5 #include <linux/types.h>
    46 #include <linux/ioctl.h>
    5  #else
    6  #include <sys/types.h>
    7 -#if defined(__NetBSD__)
    8 +#if defined(__NetBSD__) || defined(__APPLE__)
     7-#elif defined(_NetBSD_)
     8+#elif defined(_NetBSD_) || defined(__APPLE__)
    99 #include <sys/ioctl.h>
    10  #endif
    11  typedef u_int32_t __u32;
     10 #elif defined(_CYGWIN_)
     11 #define __USE_LINUX_IOCTL_DEFS
Note: See TracChangeset for help on using the changeset viewer.