Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/isapnptools/files/
Date: Sat, 04 Feb 2017 21:22:07
Message-Id: 1486243170.a61c3bbbaae154b09ce43a7139930b7f2d58008d.soap@gentoo
1 commit: a61c3bbbaae154b09ce43a7139930b7f2d58008d
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 3 15:09:30 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 4 21:19:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61c3bbb
7
8 sys-apps/isapnptools: remove unused patch
9
10 Closes: https://github.com/gentoo/gentoo/pull/3791
11
12 .../isapnptools/files/isapnptools-1.26-gcc.patch | 41 ----------------------
13 1 file changed, 41 deletions(-)
14
15 diff --git a/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch b/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch
16 deleted file mode 100644
17 index 3d1f2ce..00000000
18 --- a/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch
19 +++ /dev/null
20 @@ -1,41 +0,0 @@
21 -http://bugs.gentoo.org/117333
22 -
23 ---- isapnptools/src/isapnp_main.l
24 -+++ isapnptools/src/isapnp_main.l
25 -@@ -363,7 +363,6 @@
26 - return 0;
27 - }
28 -
29 --static unsigned char serial_identifier[NUM_CARDS+1][IDENT_LEN];
30 - static char *boardid[NUM_CARDS+1];
31 - static unsigned long serno[NUM_CARDS+1];
32 -
33 ---- isapnptools/src/callbacks.c
34 -+++ isapnptools/src/callbacks.c
35 -@@ -49,6 +49,7 @@
36 - #include <isapnp/callbacks.h>
37 - #endif
38 - #include <stdio.h>
39 -+#include <stdlib.h>
40 - #include <errno.h>
41 - #include <string.h>
42 -
43 ---- isapnptools/src/resource.c
44 -+++ isapnptools/src/resource.c
45 -@@ -12,6 +12,7 @@
46 - alloc_in_range_list() reordered to handle source name by P.Fox
47 - */
48 -
49 -+#define _GNU_SOURCE
50 - #ifdef HAVE_CONFIG_H
51 - #include <config.h>
52 - #endif
53 -@@ -285,7 +286,7 @@
54 - void allocate_pci_resources( void )
55 - {
56 - char *line = 0;
57 -- int lineMax = 0;
58 -+ size_t lineMax = 0;
59 -
60 - FILE *fp = fopen( "/proc/bus/pci/devices", "rt" );
61 - if( !fp )