summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/honeyd/fix-autogen.patch
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-07-07 23:33:49 +0200
committerlassulus <lass@aidsballs.de>2016-07-07 23:33:49 +0200
commit18ff162945aa66192e89b5b57c49e4b4fe122f64 (patch)
treec99bc60647988323c3054add53dc538fe78e9861 /makefu/5pkgs/honeyd/fix-autogen.patch
parentf4b2262c7eb07a4b66a9352e9851e9e94c13b540 (diff)
parentfa2eb245f30df9f69720ec5853b2c15dd67cdf28 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/honeyd/fix-autogen.patch')
-rw-r--r--makefu/5pkgs/honeyd/fix-autogen.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/makefu/5pkgs/honeyd/fix-autogen.patch b/makefu/5pkgs/honeyd/fix-autogen.patch
new file mode 100644
index 000000000..9fccafa82
--- /dev/null
+++ b/makefu/5pkgs/honeyd/fix-autogen.patch
@@ -0,0 +1,42 @@
+--- ./configure.in 2016-06-27 18:36:06.640779048 +0200
++++ ./configure.in 2016-06-27 18:34:53.968803854 +0200
+@@ -119,11 +119,11 @@
+ ;;
+ *)
+ AC_MSG_RESULT($withval)
+- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
++ if test -f $withval/include/pcap.h -a -f $withval/lib/libpcap.so; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+- PCAPINC="-I$withval -I$withval/bpf"
+- PCAPLIB="-L$withval -lpcap"
++ PCAPINC="-I$withval/include -I$withval/include/bpf"
++ PCAPLIB="-L$withval/lib -lpcap"
+ else
+ AC_ERROR(pcap.h or libpcap.a not found in $withval)
+ fi
+@@ -230,7 +230,7 @@
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ EVENTINC="-I$withval"
+ EVENTLIB="-L$withval -levent"
+- elif test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
++ elif test -f $withval/include/event.h -a -f $withval/lib/libevent.so; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ EVENTINC="-I$withval/include"
+@@ -354,12 +354,12 @@
+ ;;
+ *)
+ AC_MSG_RESULT($withval)
+- if test -f $withval/readline/readline.h -a -f $withval/libreadline.a; then
++ if test -f $withval/include/readline/readline.h -o -f $withval/lib/libreadline.so; then
+ owd=`pwd`
+ if cd $withval; then withval=`pwd`; cd $owd; fi
+ AC_DEFINE(HAVE_LIBREADLINE, 1, [Define if you have libreadline])
+- EDITINC="-I$withval"
+- EDITLIB="-L$withval -lreadline"
++ EDITINC="-I$withval/include"
++ EDITLIB="-L$withval/lib -lreadline"
+ else
+ AC_ERROR(readline/readline.h or libreadline.a not found in $withval)
+ fi