From 421689301cacd688a7d2b6317ee03546b422c41b Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 27 Mar 2010 13:31:21 +0000 Subject: [PATCH] [package] fix libnids compilation failure (#6947) git-svn-id: svn://svn.openwrt.org/openwrt/packages@20509 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libnids/patches/003-missing_else.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libnids/patches/003-missing_else.patch diff --git a/libs/libnids/patches/003-missing_else.patch b/libs/libnids/patches/003-missing_else.patch new file mode 100644 index 000000000..215fe920a --- /dev/null +++ b/libs/libnids/patches/003-missing_else.patch @@ -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