]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed libnetfilter_queue.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 May 2008 17:44:25 +0000 (19:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 May 2008 17:44:25 +0000 (19:44 +0200)
This package didn't compile correctly due to a missing
of the linux/types.h header file.

lfs/libnetfilter_queue

index a052a04e6c068063b7b2d42c4c9ca5d044959b37..a97f4a361d574dbf222f39f5ebbefaca7ab4441d 100644 (file)
@@ -37,7 +37,7 @@ TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 # Top-level Rules
 ###############################################################################
 
-objects = $(DL_FILE)
+objects = $(DL_FILE) $(THISAPP)-sysheader.patch $(THISAPP)-linuxtypes.patch
 
 install: $(TARGET)
 
@@ -53,6 +53,9 @@ $(patsubst %,$(DIR_DL)/%,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-sysheader.patch
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-linuxtypes.patch
+       cd $(DIR_APP) && autoreconf -i --force
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make -j $(PARALLELISM)
        cd $(DIR_APP) && make install