diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-01 22:12:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-01 22:12:56 +0000 |
commit | 628cef6be185ccc2e04a4eaf166e84a8502a7dd5 (patch) | |
tree | 0338c266dfce0ce1f990e030af6c61fd28b5528c /sys-apps/isapnptools/files | |
parent | stable amd64 (diff) | |
download | historical-628cef6be185ccc2e04a4eaf166e84a8502a7dd5.tar.gz historical-628cef6be185ccc2e04a4eaf166e84a8502a7dd5.tar.bz2 historical-628cef6be185ccc2e04a4eaf166e84a8502a7dd5.zip |
Touchup building #117333 and remove old sed line.
Package-Manager: portage-2.1_pre3
Diffstat (limited to 'sys-apps/isapnptools/files')
-rw-r--r-- | sys-apps/isapnptools/files/digest-isapnptools-1.26-r2 | 1 | ||||
-rw-r--r-- | sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/isapnptools/files/digest-isapnptools-1.26-r2 b/sys-apps/isapnptools/files/digest-isapnptools-1.26-r2 new file mode 100644 index 000000000000..b499926c6700 --- /dev/null +++ b/sys-apps/isapnptools/files/digest-isapnptools-1.26-r2 @@ -0,0 +1 @@ +MD5 26def2016548edeafe383113f0bc8ac6 isapnptools-1.26.tgz 231098 diff --git a/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch b/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch new file mode 100644 index 000000000000..3d1f2cee9f80 --- /dev/null +++ b/sys-apps/isapnptools/files/isapnptools-1.26-gcc.patch @@ -0,0 +1,41 @@ +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 ) |