pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/lirc lirc: fix build on Arch Linux
details: https://anonhg.NetBSD.org/pkgsrc/rev/819c2cacd5e5
branches: trunk
changeset: 335631:819c2cacd5e5
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Mon Jun 24 19:01:51 2019 +0000
description:
lirc: fix build on Arch Linux
* Remove inlining for send_data()
* Add Linux specific missing include for major()
* Bump revision
diffstat:
comms/lirc/Makefile | 4 ++--
comms/lirc/distinfo | 7 ++++---
comms/lirc/patches/patch-daemons_transmit.c | 13 +++++++++++--
comms/lirc/patches/patch-daemons_transmit.h | 7 ++++---
4 files changed, 21 insertions(+), 10 deletions(-)
diffs (84 lines):
diff -r 183558e6fe1b -r 819c2cacd5e5 comms/lirc/Makefile
--- a/comms/lirc/Makefile Mon Jun 24 14:27:55 2019 +0000
+++ b/comms/lirc/Makefile Mon Jun 24 19:01:51 2019 +0000
@@ -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 -r 183558e6fe1b -r 819c2cacd5e5 comms/lirc/distinfo
--- a/comms/lirc/distinfo Mon Jun 24 14:27:55 2019 +0000
+++ b/comms/lirc/distinfo Mon Jun 24 19:01:51 2019 +0000
@@ -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 @@
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 -r 183558e6fe1b -r 819c2cacd5e5 comms/lirc/patches/patch-daemons_transmit.c
--- a/comms/lirc/patches/patch-daemons_transmit.c Mon Jun 24 14:27:55 2019 +0000
+++ b/comms/lirc/patches/patch-daemons_transmit.c Mon Jun 24 19:01:51 2019 +0000
@@ -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 @@
{
(*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 -r 183558e6fe1b -r 819c2cacd5e5 comms/lirc/patches/patch-daemons_transmit.h
--- a/comms/lirc/patches/patch-daemons_transmit.h Mon Jun 24 14:27:55 2019 +0000
+++ b/comms/lirc/patches/patch-daemons_transmit.h Mon Jun 24 19:01:51 2019 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index