diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-08-11 10:35:49 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-08-11 10:35:49 +0000 |
commit | e5438a7070455755d7784f96ebf9ac5b199beaee (patch) | |
tree | d67b5a0d19030bf745b5ff3bfeb51d4450ab300b /package/libnids | |
parent | 178a57f0ae4d3300f8822ceb72d12e6ee62efccd (diff) | |
download | upstream-e5438a7070455755d7784f96ebf9ac5b199beaee.tar.gz upstream-e5438a7070455755d7784f96ebf9ac5b199beaee.tar.bz2 upstream-e5438a7070455755d7784f96ebf9ac5b199beaee.zip |
Fix building when target arch = i386
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1609 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libnids')
-rw-r--r-- | package/libnids/patches/no_asm_for_i386.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libnids/patches/no_asm_for_i386.patch b/package/libnids/patches/no_asm_for_i386.patch new file mode 100644 index 0000000000..ff6fde7b12 --- /dev/null +++ b/package/libnids/patches/no_asm_for_i386.patch @@ -0,0 +1,12 @@ +diff -ruN libnids-1.18-orig/src/checksum.c libnids-1.18/src/checksum.c +--- libnids-1.18-orig/src/checksum.c 2003-09-20 22:40:44.000000000 +0200 ++++ libnids-1.18/src/checksum.c 2005-08-09 23:55:00.000000000 +0200 +@@ -4,7 +4,7 @@ + #include <netinet/tcp.h> + #include <netinet/udp.h> + +-#if ( __i386__ || __i386 ) ++#if 0 + // all asm procedures are copied from Linux 2.0.36 and 2.2.10 kernels + + /* |