summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ngrep/files/ngrep-1.45-prefix.patch')
-rw-r--r--net-analyzer/ngrep/files/ngrep-1.45-prefix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-analyzer/ngrep/files/ngrep-1.45-prefix.patch b/net-analyzer/ngrep/files/ngrep-1.45-prefix.patch
new file mode 100644
index 000000000000..8618f5daae31
--- /dev/null
+++ b/net-analyzer/ngrep/files/ngrep-1.45-prefix.patch
@@ -0,0 +1,17 @@
+* refrain from doing an absolutely insane check (to see if pcap is
+ installed in more than one place)
+
+--- a/configure.in
++++ b/configure.in
+@@ -268,10 +268,7 @@
+
+ AC_MSG_CHECKING(for a complete set of pcap headers)
+
+-possible_dirs="`eval echo -n ${includedir}` \
+- /usr/include /usr/include/pcap \
+- /usr/local/include /usr/local/include/pcap \
+- /usr/share/include /usr/share/include/pcap"
++possible_dirs="`eval echo -n ${includedir}`"
+
+ AC_ARG_WITH(pcap-includes,
+ [ --with-pcap-includes specify the pcap include directory],