[131264] trunk/dports/sysutils/lirc
ecronin at macports.org
ecronin at macports.org
Wed Jan 7 17:08:36 PST 2015
Revision: 131264
https://trac.macports.org/changeset/131264
Author: ecronin at macports.org
Date: 2015-01-07 17:08:36 -0800 (Wed, 07 Jan 2015)
Log Message:
-----------
lirc: Fix C89 inline issue, de-blacklist clang, transfer maintainership
No revbump since it was a build failure
Modified Paths:
--------------
trunk/dports/sysutils/lirc/Portfile
Added Paths:
-----------
trunk/dports/sysutils/lirc/files/patch-inline_functions.diff
Modified: trunk/dports/sysutils/lirc/Portfile
===================================================================
--- trunk/dports/sysutils/lirc/Portfile 2015-01-08 00:56:11 UTC (rev 131263)
+++ trunk/dports/sysutils/lirc/Portfile 2015-01-08 01:08:36 UTC (rev 131264)
@@ -6,7 +6,7 @@
version 0.9.0
categories sysutils net
license GPL-2+
-maintainers ecronin openmaintainer
+maintainers ctreleaven openmaintainer
platforms darwin
description Linux Infrared Remote Control
long_description \
@@ -21,16 +21,12 @@
livecheck.distname LIRC
-patchfiles patch-osx_patches.diff
+patchfiles patch-osx_patches.diff patch-inline_functions.diff
configure.args --with-driver=udp --with-devdir=${prefix}/var/run \
--sysconfdir=${prefix}/etc --localstatedir=${prefix}/var \
--mandir=${prefix}/share/man
-# Build fails with clang
-# see bug report at: https://sourceforge.net/apps/mantisbt/lirc/view.php?id=1
-compiler.blacklist-append *clang*
-
variant iguanaIR \
description {Use IguanaIR USB device} {
configure.args-replace --with-driver=udp --with-driver=iguanaIR
Added: trunk/dports/sysutils/lirc/files/patch-inline_functions.diff
===================================================================
--- trunk/dports/sysutils/lirc/files/patch-inline_functions.diff (rev 0)
+++ trunk/dports/sysutils/lirc/files/patch-inline_functions.diff 2015-01-08 01:08:36 UTC (rev 131264)
@@ -0,0 +1,58 @@
+--- daemons/receive.c.orig 2015-01-07 21:18:22.000000000 +1030
++++ daemons/receive.c 2015-01-07 21:19:52.000000000 +1030
+@@ -286,7 +286,7 @@
+ return (retval);
+ }
+
+-inline int expectone(struct ir_remote *remote, int bit)
++static inline int expectone(struct ir_remote *remote, int bit)
+ {
+ if (is_biphase(remote)) {
+ int all_bits = bit_count(remote);
+@@ -332,7 +332,7 @@
+ return (1);
+ }
+
+-inline int expectzero(struct ir_remote *remote, int bit)
++static inline int expectzero(struct ir_remote *remote, int bit)
+ {
+ if (is_biphase(remote)) {
+ int all_bits = bit_count(remote);
+@@ -414,7 +414,7 @@
+ return (deltas);
+ }
+
+-inline int get_header(struct ir_remote *remote)
++static inline int get_header(struct ir_remote *remote)
+ {
+ if (is_rcmm(remote)) {
+ lirc_t deltap, deltas, sum;
+@@ -524,7 +524,7 @@
+ return (1);
+ }
+
+-inline int get_repeat(struct ir_remote *remote)
++static inline int get_repeat(struct ir_remote *remote)
+ {
+ if (!get_lead(remote))
+ return (0);
+--- daemons/transmit.c.orig 2015-01-07 21:38:21.000000000 +1030
++++ daemons/transmit.c 2015-01-07 21:38:34.000000000 +1030
+@@ -179,7 +179,7 @@
+ }
+ }
+
+-inline void send_data(struct ir_remote *remote, ir_code data, int bits, int done)
++static inline void send_data(struct ir_remote *remote, ir_code data, int bits, int done)
+ {
+ int i;
+ int all_bits = bit_count(remote);
+@@ -313,7 +313,7 @@
+ send_trail(remote);
+ }
+
+-inline void send_code(struct ir_remote *remote, ir_code code, int repeat)
++static inline void send_code(struct ir_remote *remote, ir_code code, int repeat)
+ {
+ if (!repeat || !(remote->flags & NO_HEAD_REP))
+ send_header(remote);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150107/2e86a373/attachment.html>
More information about the macports-changes
mailing list