From 9de8a3dd724d4361e7045e05585ae435705d8f8e Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 11 Aug 2005 10:35:49 +0000 Subject: Fix building when target arch = i386 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1609 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/libnids/patches/no_asm_for_i386.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openwrt/package/libnids/patches/no_asm_for_i386.patch (limited to 'openwrt/package/libnids') diff --git a/openwrt/package/libnids/patches/no_asm_for_i386.patch b/openwrt/package/libnids/patches/no_asm_for_i386.patch new file mode 100644 index 000000000..ff6fde7b1 --- /dev/null +++ b/openwrt/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 + #include + +-#if ( __i386__ || __i386 ) ++#if 0 + // all asm procedures are copied from Linux 2.0.36 and 2.2.10 kernels + + /* -- cgit v1.2.3