diff options
Diffstat (limited to 'sys-apps/isapnptools/files/isapnptools-1.27-fno-common.patch')
-rw-r--r-- | sys-apps/isapnptools/files/isapnptools-1.27-fno-common.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/isapnptools/files/isapnptools-1.27-fno-common.patch b/sys-apps/isapnptools/files/isapnptools-1.27-fno-common.patch new file mode 100644 index 000000000000..54da41cdd602 --- /dev/null +++ b/sys-apps/isapnptools/files/isapnptools-1.27-fno-common.patch @@ -0,0 +1,22 @@ +--- a/src/isapnp_main.c ++++ b/src/isapnp_main.c +@@ -1153,7 +1153,7 @@ + return 0; + } + +-unsigned char serial_identifier[NUM_CARDS+1][IDENT_LEN]; ++extern unsigned char serial_identifier[NUM_CARDS+1][IDENT_LEN]; + static char *boardid[NUM_CARDS+1]; + static unsigned long serno[NUM_CARDS+1]; + +--- a/src/isapnp_main.l ++++ b/src/isapnp_main.l +@@ -363,7 +363,7 @@ + return 0; + } + +-unsigned char serial_identifier[NUM_CARDS+1][IDENT_LEN]; ++extern unsigned char serial_identifier[NUM_CARDS+1][IDENT_LEN]; + static char *boardid[NUM_CARDS+1]; + static unsigned long serno[NUM_CARDS+1]; + |