Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2015/01/01 09:35:17 dholland Exp $
# $NetBSD: Makefile,v 1.5 2016/04/11 04:22:33 dbj Exp $
#
DISTNAME= lirc-0.9.0
@@ -38,7 +38,7 @@ post-install:
.include "available.mk"
.if ${LIRC_AVAILABLE} == no
PKG_SKIP_REASON= "lirc is not available for this platform"
PKG_SKIP_REASON+= "lirc is not available for this platform"
.endif
.include "options.mk"

View File

@@ -1,5 +1,12 @@
$NetBSD: distinfo,v 1.1 2012/12/02 01:21:51 cheusov Exp $
$NetBSD: distinfo,v 1.3 2016/05/02 02:32:14 dholland Exp $
SHA1 (lirc-0.9.0.tar.bz2) = 8456bf7101d4f2d31d61c5073357a4981b458581
RMD160 (lirc-0.9.0.tar.bz2) = d8f1cf3a03573be36787e87adc71beba3e678a37
SHA512 (lirc-0.9.0.tar.bz2) = e91534c63e6065bd7da3b15e1676edf1672b8beb21864a6825df86247d7d165bf2dee6f8191732933e24e42a406e46afc55559948e4061eed2de7b08fac13431
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_receive.c) = 4b2df8f3a954b51dd1df433aabdc515b49ab3e23
SHA1 (patch-daemons_receive.h) = 82bb820eb9766cec02f20b3b2fbd1f5d7d9b5d68
SHA1 (patch-daemons_transmit.c) = 53ee2de7599c94945151acae9ec004bbfc1e71fc
SHA1 (patch-daemons_transmit.h) = e5ffa99809003e1035978d148162cd624c4264c7

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-daemons_config__file.c,v 1.1 2016/05/02 02:32:14 dholland Exp $
Patch up gcc inline mess.
--- daemons/config_file.c~ 2011-03-25 22:28:18.000000000 +0000
+++ daemons/config_file.c
@@ -77,7 +77,7 @@ int add_void_array(struct void_array *ar
return (1);
}
-inline void *get_void_array(struct void_array *ar)
+static inline void *get_void_array(struct void_array *ar)
{
return (ar->ptr);
}

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-daemons_config__file.h,v 1.1 2016/05/02 02:32:14 dholland Exp $
Patch up gcc inline mess.
--- daemons/config_file.h~ 2011-03-25 22:28:18.000000000 +0000
+++ daemons/config_file.h
@@ -67,7 +67,6 @@ struct void_array {
void **init_void_array(struct void_array *ar, size_t chunk_size, size_t item_size);
int add_void_array(struct void_array *ar, void *data);
-inline void *get_void_array(struct void_array *ar);
/* some safer functions */
void *s_malloc(size_t size);

View File

@@ -0,0 +1,48 @@
$NetBSD: patch-daemons_receive.c,v 1.1 2016/05/02 02:32:14 dholland Exp $
Patch up gcc inline mess.
--- daemons/receive.c~ 2011-03-25 22:28:18.000000000 +0000
+++ daemons/receive.c
@@ -25,12 +25,12 @@ extern struct ir_remote *last_remote;
struct rbuf rec_buffer;
-inline lirc_t lirc_t_max(lirc_t a, lirc_t b)
+static inline lirc_t lirc_t_max(lirc_t a, lirc_t b)
{
return (a > b ? a : b);
}
-inline void set_pending_pulse(lirc_t deltap)
+static inline void set_pending_pulse(lirc_t deltap)
{
LOGPRINTF(5, "pending pulse: %lu", deltap);
rec_buffer.pendingp = deltap;
@@ -378,7 +378,7 @@ inline int expectzero(struct ir_remote *
return (1);
}
-inline lirc_t sync_rec_buffer(struct ir_remote * remote)
+static inline lirc_t sync_rec_buffer(struct ir_remote * remote)
{
int count;
lirc_t deltas, deltap;
@@ -414,7 +414,7 @@ inline lirc_t sync_rec_buffer(struct ir_
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 @@ inline int get_gap(struct ir_remote *rem
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);

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-daemons_receive.h,v 1.1 2016/05/02 02:32:14 dholland Exp $
Patch up gcc inline mess.
--- daemons/receive.h~ 2011-03-25 22:28:18.000000000 +0000
+++ daemons/receive.h
@@ -39,7 +39,6 @@ static inline lirc_t receive_timeout(lir
return 2 * usec < MIN_RECEIVE_TIMEOUT ? MIN_RECEIVE_TIMEOUT : 2 * usec;
}
-inline lirc_t lirc_t_max(lirc_t a, lirc_t b);
void init_rec_buffer();
int clear_rec_buffer(void);
int receive_decode(struct ir_remote *remote, ir_code * prep, ir_code * codep, ir_code * postp, int *repeat_flag,

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-daemons_transmit.c,v 1.1 2016/05/02 02:32:14 dholland Exp $
Patch up gcc inline mess.
--- daemons/transmit.c~ 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);
static int init_send_or_sim(struct ir_remote *remote, struct ir_ncode *code, int sim, int repeat_preset);
-inline void set_bit(ir_code * code, int bit, int data)
+void set_bit(ir_code * code, int bit, int data)
{
(*code) &= ~((((ir_code) 1) << bit));
(*code) |= ((ir_code) (data ? 1 : 0) << bit);

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-daemons_transmit.h,v 1.1 2016/05/02 02:32:14 dholland Exp $
Patch up gcc inline mess.
--- daemons/transmit.h~ 2011-03-25 22:28:18.000000000 +0000
+++ daemons/transmit.h
@@ -29,7 +29,7 @@ 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);
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);