File isapnp-static_nonstatic_mix.diff of Package isapnp

--- include/isapnp/res-access.h
+++ include/isapnp/res-access.h
@@ -63,7 +63,9 @@
 #define IDENT_LEN 9
 #define TMP_LEN 16
 
+#ifndef NO_SERIAL_IDENTIFIER
 extern unsigned char serial_identifier[NUM_CARDS + 1][IDENT_LEN];
+#endif
 extern unsigned char csumdiff[NUM_CARDS + 1];
 
 extern int csum;
--- src/isapnp_main.l
+++ src/isapnp_main.l
@@ -22,6 +22,9 @@
 #include <time.h>
 #include <isapnp/release.h>
 #include <isapnp/errenum.h>
+
+#define NO_SERIAL_IDENTIFIER
+
 #ifdef HAVE_SFN
 #include <isapnp/callback.h>
 #include <isapnp/res_acce.h>