Received: by mail.netbsd.org (Postfix, from userid 605) id 497AB84D75; Mon, 24 Jun 2019 19:01:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C374284D6F for ; Mon, 24 Jun 2019 19:01:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6Yvi6EMsQU9L for ; Mon, 24 Jun 2019 19:01:52 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0D27F84D6D for ; Mon, 24 Jun 2019 19:01:52 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 06D74FBF4; Mon, 24 Jun 2019 19:01:52 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1561402911183310" MIME-Version: 1.0 Date: Mon, 24 Jun 2019 19:01:51 +0000 From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= Subject: CVS commit: pkgsrc/comms/lirc To: pkgsrc-changes@NetBSD.org Reply-To: triaxx@netbsd.org X-Mailer: log_accum Message-Id: <20190624190152.06D74FBF4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1561402911183310 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: triaxx Date: Mon Jun 24 19:01:51 UTC 2019 Modified Files: pkgsrc/comms/lirc: Makefile distinfo pkgsrc/comms/lirc/patches: patch-daemons_transmit.c patch-daemons_transmit.h Log Message: lirc: fix build on Arch Linux * Remove inlining for send_data() * Add Linux specific missing include for major() * Bump revision To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 pkgsrc/comms/lirc/Makefile cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/lirc/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/comms/lirc/patches/patch-daemons_transmit.c \ pkgsrc/comms/lirc/patches/patch-daemons_transmit.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1561402911183310 Content-Disposition: inline Content-Length: 4160 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/comms/lirc/Makefile diff -u pkgsrc/comms/lirc/Makefile:1.7 pkgsrc/comms/lirc/Makefile:1.8 --- pkgsrc/comms/lirc/Makefile:1.7 Tue Feb 27 23:56:07 2018 +++ pkgsrc/comms/lirc/Makefile Mon Jun 24 19:01:51 2019 @@ -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 Index: pkgsrc/comms/lirc/distinfo diff -u pkgsrc/comms/lirc/distinfo:1.3 pkgsrc/comms/lirc/distinfo:1.4 --- pkgsrc/comms/lirc/distinfo:1.3 Mon May 2 02:32:14 2016 +++ pkgsrc/comms/lirc/distinfo Mon Jun 24 19:01:51 2019 @@ -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) = e91534c63e 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 Index: pkgsrc/comms/lirc/patches/patch-daemons_transmit.c diff -u pkgsrc/comms/lirc/patches/patch-daemons_transmit.c:1.1 pkgsrc/comms/lirc/patches/patch-daemons_transmit.c:1.2 --- pkgsrc/comms/lirc/patches/patch-daemons_transmit.c:1.1 Mon May 2 02:32:14 2016 +++ pkgsrc/comms/lirc/patches/patch-daemons_transmit.c Mon Jun 24 19:01:51 2019 @@ -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); Index: pkgsrc/comms/lirc/patches/patch-daemons_transmit.h diff -u pkgsrc/comms/lirc/patches/patch-daemons_transmit.h:1.1 pkgsrc/comms/lirc/patches/patch-daemons_transmit.h:1.2 --- pkgsrc/comms/lirc/patches/patch-daemons_transmit.h:1.1 Mon May 2 02:32:14 2016 +++ pkgsrc/comms/lirc/patches/patch-daemons_transmit.h Mon Jun 24 19:01:51 2019 @@ -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); --_----------=_1561402911183310--