aboutsummaryrefslogtreecommitdiffstats
path: root/main/ngrep/no-strip.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-24 08:47:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-24 08:55:08 +0000
commit25948a450ec1e10d2d4d52b2cd50e032d0a8e732 (patch)
tree8a61fb2800ab92f70cfe86659ad6ab48d1861a29 /main/ngrep/no-strip.patch
parent4b944db481e2cd3109b3ebd21a914bc60be5a4db (diff)
downloadaports-25948a450ec1e10d2d4d52b2cd50e032d0a8e732.tar.bz2
aports-25948a450ec1e10d2d4d52b2cd50e032d0a8e732.tar.xz
main/ngrep: fix segfault on invalid filters and add -dbg
A comment in configure.in says: > dnl For libpcap's that don't need the restart function called for > dnl multiple lexer passes, allow them to turn it off here. This option > dnl exists solely to address a very rude email from the maintainer > dnl indicating that it shouldn't be called directly (and of course he > dnl was wrong because this is still needed). This indicates that you should not really call pcap_restart() directly, so we use this --disable-pcap-restart. This fixes segfault when the filter is invalid. ref #4466
Diffstat (limited to 'main/ngrep/no-strip.patch')
-rw-r--r--main/ngrep/no-strip.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/ngrep/no-strip.patch b/main/ngrep/no-strip.patch
new file mode 100644
index 0000000000..b9c20e7865
--- /dev/null
+++ b/main/ngrep/no-strip.patch
@@ -0,0 +1,10 @@
+--- ./configure.in.orig
++++ ./configure.in
+@@ -161,7 +161,6 @@
+ dnl OS-specific options
+ dnl
+
+-STRIPFLAG="-s"
+ HAVE_DUMB_UDPHDR="0"
+
+ case "$target_os" in