diff options
-rw-r--r-- | sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch b/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch deleted file mode 100644 index 3d1f2cee9f80..000000000000 --- a/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch +++ /dev/null @@ -1,41 +0,0 @@ -http://bugs.gentoo.org/117333 - ---- isapnptools/src/isapnp_main.l -+++ isapnptools/src/isapnp_main.l -@@ -363,7 +363,6 @@ - return 0; - } - --static unsigned char serial_identifier[NUM_CARDS+1][IDENT_LEN]; - static char *boardid[NUM_CARDS+1]; - static unsigned long serno[NUM_CARDS+1]; - ---- isapnptools/src/callbacks.c -+++ isapnptools/src/callbacks.c -@@ -49,6 +49,7 @@ - #include <isapnp/callbacks.h> - #endif - #include <stdio.h> -+#include <stdlib.h> - #include <errno.h> - #include <string.h> - ---- isapnptools/src/resource.c -+++ isapnptools/src/resource.c -@@ -12,6 +12,7 @@ - alloc_in_range_list() reordered to handle source name by P.Fox - */ - -+#define _GNU_SOURCE - #ifdef HAVE_CONFIG_H - #include <config.h> - #endif -@@ -285,7 +286,7 @@ - void allocate_pci_resources( void ) - { - char *line = 0; -- int lineMax = 0; -+ size_t lineMax = 0; - - FILE *fp = fopen( "/proc/bus/pci/devices", "rt" ); - if( !fp ) |