adding patch for iptables building on x86
This commit is contained in:
		
							parent
							
								
									20bf4c7ec6
								
							
						
					
					
						commit
						77d1b82411
					
				|  | @ -186,12 +186,15 @@ iptables/Makefile: | |||
| 	cp iptables-patch-1 iptables | ||||
| 	cp iptables-patch-2 iptables | ||||
| 	cp iptables-patch-3 iptables | ||||
| 	cp iptables-patch-4 iptables | ||||
| 	-cd iptables && \
 | ||||
| 	 	patch -N -p1 --reject-file=- < iptables-patch-1 | ||||
| 	-cd iptables && \
 | ||||
| 	 	patch -N -p1 --reject-file=- < iptables-patch-2 | ||||
| 	-cd iptables && \
 | ||||
| 	 	patch -N -p1 --reject-file=- < iptables-patch-3 | ||||
| 	-cd iptables && \
 | ||||
| 	 	patch -N -p0 --reject-file=- < iptables-patch-4 | ||||
| 	cd iptables && ./autogen.sh | ||||
| 	cp config.sub iptables | ||||
| 	cp config.guess iptables | ||||
|  |  | |||
|  | @ -0,0 +1,10 @@ | |||
| --- extensions/libipt_ULOG.c	2015-05-13 11:59:59.752055326 -0400 | ||||
| +++ extensions/libipt_ULOG.new.c	2015-05-13 12:09:29.410078607 -0400 | ||||
| @@ -12,6 +12,7 @@ | ||||
|  #include <stdio.h> | ||||
|  #include <string.h> | ||||
|  #include <xtables.h> | ||||
| +#define ffs(i) __builtin_ffs(i) | ||||
|  /* For 64bit kernel / 32bit userspace */ | ||||
|  #include <linux/netfilter_ipv4/ipt_ULOG.h> | ||||
|   | ||||
		Loading…
	
		Reference in New Issue