[package] fix libnids compilation failure (#6947)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 27 Mar 2010 13:31:21 +0000 (13:31 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 27 Mar 2010 13:31:21 +0000 (13:31 +0000)
SVN-Revision: 20509

libs/libnids/patches/003-missing_else.patch [new file with mode: 0644]

diff --git a/libs/libnids/patches/003-missing_else.patch b/libs/libnids/patches/003-missing_else.patch
new file mode 100644 (file)
index 0000000..215fe92
--- /dev/null
@@ -0,0 +1,11 @@
+diff -urN libnids-1.18/src/killtcp.c libnids-1.18.new/src/killtcp.c
+--- libnids-1.18/src/killtcp.c 2002-08-21 18:19:40.000000000 +0200
++++ libnids-1.18.new/src/killtcp.c     2010-03-27 13:44:59.000000000 +0100
+@@ -100,6 +100,6 @@
+     if (initialized)
+       abort();
+ }
+-#elif
++#else
+ #error Something wrong with LIBNET_VER
+ #endif