diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 17:43:31 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-06 17:43:31 +0100 |
commit | a43ce22bf093eb78276a17344da5b2d79a8a1a2d (patch) | |
tree | 0b3983fee412cfd585e1ab803d029848f647b7bd /package/libnids/patches/patch-configure_in | |
parent | 05ff775a609f652231b8535b2b52eb40d01c65fd (diff) |
fix uclibc build, _GNU_SOURCE breaks it
Diffstat (limited to 'package/libnids/patches/patch-configure_in')
-rw-r--r-- | package/libnids/patches/patch-configure_in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/libnids/patches/patch-configure_in b/package/libnids/patches/patch-configure_in new file mode 100644 index 000000000..2554d2f32 --- /dev/null +++ b/package/libnids/patches/patch-configure_in @@ -0,0 +1,20 @@ +--- libnids-1.24.orig/configure.in 2006-05-01 19:14:51.000000000 +0200 ++++ libnids-1.24/configure.in 2014-01-06 16:25:57.765584034 +0100 +@@ -65,13 +65,13 @@ AC_ARG_WITH(libpcap, + ;; + *) + AC_MSG_RESULT($withval) +- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then ++ if test -f $withval/include/pcap.h; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi +- PCAP_CFLAGS="-I$withval -I$withval/bpf" +- PCAPLIB="-L$withval -lpcap" ++ PCAP_CFLAGS="-I$withval/include -I$withval/include/bpf" ++ PCAPLIB="-L$withval/lib -lpcap" + else +- AC_ERROR(pcap.h or libpcap.a not found in $withval) ++ AC_ERROR(pcap.h not found in $withval) + fi + ;; + esac ], |