]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/isapnptools
Habe ein Paar lange dagewesene Errors behoben.
[ipfire-2.x.git] / lfs / isapnptools
index 5d5331f272224e638be911f5faf447fcc72986c6..3535e0d38a2df072ea9664f24e5fc18db44f07ba 100644 (file)
@@ -72,6 +72,8 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP)/src && sed -i -e 's/#ifdef\ ENABLE_PCI/#ifdef\ ENABLE_PCI\n#define\ __KERNEL__\n#include\ <linux\/mod_devicetable.h>\n#undef __KERNEL__/' resource.c
+       cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/isapnptools-1.26-gcc-4.patch
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install