summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2019-06-24 19:01:51 +0000
committertriaxx <triaxx@pkgsrc.org>2019-06-24 19:01:51 +0000
commit8bdf3a646016d4d63cc717b909624097158c4033 (patch)
tree9bd646c24f6aad7929ff6a7279242d3bac938665 /comms
parent0e35a26a7eeff51c9a5521b6f02ca2bed4034ff2 (diff)
downloadpkgsrc-8bdf3a646016d4d63cc717b909624097158c4033.tar.gz
lirc: fix build on Arch Linux
* Remove inlining for send_data() * Add Linux specific missing include for major() * Bump revision
Diffstat (limited to 'comms')
-rw-r--r--comms/lirc/Makefile4
-rw-r--r--comms/lirc/distinfo7
-rw-r--r--comms/lirc/patches/patch-daemons_transmit.c13
-rw-r--r--comms/lirc/patches/patch-daemons_transmit.h7
4 files changed, 21 insertions, 10 deletions
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile
index 046a91299e8..c7a87a678dd 100644
--- a/comms/lirc/Makefile
+++ b/comms/lirc/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2018/02/27 23:56:07 khorben Exp $
+# $NetBSD: Makefile,v 1.8 2019/06/24 19:01:51 triaxx Exp $
#
DISTNAME= lirc-0.9.0
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lirc/}
EXTRACT_SUFX= .tar.bz2
diff --git a/comms/lirc/distinfo b/comms/lirc/distinfo
index f2d911256fe..49ce7e9c300 100644
--- a/comms/lirc/distinfo
+++ b/comms/lirc/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2016/05/02 02:32:14 dholland Exp $
+$NetBSD: distinfo,v 1.4 2019/06/24 19:01:51 triaxx Exp $
SHA1 (lirc-0.9.0.tar.bz2) = 8456bf7101d4f2d31d61c5073357a4981b458581
RMD160 (lirc-0.9.0.tar.bz2) = d8f1cf3a03573be36787e87adc71beba3e678a37
@@ -6,7 +6,8 @@ SHA512 (lirc-0.9.0.tar.bz2) = e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825
Size (lirc-0.9.0.tar.bz2) = 857286 bytes
SHA1 (patch-daemons_config__file.c) = 1a0c581aab83217e02abca7e3080ab8abba74d8c
SHA1 (patch-daemons_config__file.h) = 5f0e21dc8ceffff9d5d82f05bd92f6dc8041813d
+SHA1 (patch-daemons_hw__default.c) = f25ad50c0f3966904d0e37e47e50e6bc4b40df46
SHA1 (patch-daemons_receive.c) = 4b2df8f3a954b51dd1df433aabdc515b49ab3e23
SHA1 (patch-daemons_receive.h) = 82bb820eb9766cec02f20b3b2fbd1f5d7d9b5d68
-SHA1 (patch-daemons_transmit.c) = 53ee2de7599c94945151acae9ec004bbfc1e71fc
-SHA1 (patch-daemons_transmit.h) = e5ffa99809003e1035978d148162cd624c4264c7
+SHA1 (patch-daemons_transmit.c) = c84c913ca0b9c239abff1aebef1be3ae8ae5c25b
+SHA1 (patch-daemons_transmit.h) = 675a52d98db95016fbef2e81400f78fc68ecb66f
diff --git a/comms/lirc/patches/patch-daemons_transmit.c b/comms/lirc/patches/patch-daemons_transmit.c
index 62886010000..c10b0c99e01 100644
--- a/comms/lirc/patches/patch-daemons_transmit.c
+++ b/comms/lirc/patches/patch-daemons_transmit.c
@@ -1,8 +1,8 @@
-$NetBSD: patch-daemons_transmit.c,v 1.1 2016/05/02 02:32:14 dholland Exp $
+$NetBSD: patch-daemons_transmit.c,v 1.2 2019/06/24 19:01:51 triaxx Exp $
Patch up gcc inline mess.
---- daemons/transmit.c~ 2011-03-25 22:28:18.000000000 +0000
+--- daemons/transmit.c.orig 2011-03-25 22:28:18.000000000 +0000
+++ daemons/transmit.c
@@ -27,7 +27,7 @@ struct sbuf send_buffer;
static void send_signals(lirc_t * signals, int n);
@@ -13,3 +13,12 @@ Patch up gcc inline mess.
{
(*code) &= ~((((ir_code) 1) << bit));
(*code) |= ((ir_code) (data ? 1 : 0) << bit);
+@@ -179,7 +179,7 @@ inline void send_trail(struct ir_remote
+ }
+ }
+
+-inline void send_data(struct ir_remote *remote, ir_code data, int bits, int done)
++void send_data(struct ir_remote *remote, ir_code data, int bits, int done)
+ {
+ int i;
+ int all_bits = bit_count(remote);
diff --git a/comms/lirc/patches/patch-daemons_transmit.h b/comms/lirc/patches/patch-daemons_transmit.h
index cc078a74e6a..ab8c8b70d19 100644
--- a/comms/lirc/patches/patch-daemons_transmit.h
+++ b/comms/lirc/patches/patch-daemons_transmit.h
@@ -1,15 +1,16 @@
-$NetBSD: patch-daemons_transmit.h,v 1.1 2016/05/02 02:32:14 dholland Exp $
+$NetBSD: patch-daemons_transmit.h,v 1.2 2019/06/24 19:01:51 triaxx Exp $
Patch up gcc inline mess.
---- daemons/transmit.h~ 2011-03-25 22:28:18.000000000 +0000
+--- daemons/transmit.h.orig 2011-03-25 22:28:18.000000000 +0000
+++ daemons/transmit.h
-@@ -29,7 +29,7 @@ struct sbuf {
+@@ -29,7 +29,8 @@ struct sbuf {
};
void init_send_buffer(void);
-inline void set_bit(ir_code * code, int bit, int data);
+void set_bit(ir_code * code, int bit, int data);
++void send_data(struct ir_remote *remote, ir_code data, int bits, int done);
int init_send(struct ir_remote *remote, struct ir_ncode *code);
int init_sim(struct ir_remote *remote, struct ir_ncode *code, int repeat_preset);