summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-09-26 11:23:42 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-09-26 11:26:19 +0100
commit829665513dc699948aac45dd46237067d05bca4f (patch)
tree3cc959866f18e72a296a1bbb97612a482efdac69 /net-analyzer/driftnet/files/driftnet-1.3.0-CFLAGS.patch
parentapp-crypt/jitterentropy: stable 2.2.0 for ppc64 (diff)
downloadgentoo-829665513dc699948aac45dd46237067d05bca4f.tar.gz
gentoo-829665513dc699948aac45dd46237067d05bca4f.tar.bz2
gentoo-829665513dc699948aac45dd46237067d05bca4f.zip
net-analyzer/driftnet: revert "[QA] Revert "Version 1.3.0" & followup"
This reverts commit 634a58c17ef7d17ad11ced70a9830d136fc8e960. Bug: https://bugs.gentoo.org/744664 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'net-analyzer/driftnet/files/driftnet-1.3.0-CFLAGS.patch')
-rw-r--r--net-analyzer/driftnet/files/driftnet-1.3.0-CFLAGS.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-analyzer/driftnet/files/driftnet-1.3.0-CFLAGS.patch b/net-analyzer/driftnet/files/driftnet-1.3.0-CFLAGS.patch
new file mode 100644
index 000000000000..2b25ed45833a
--- /dev/null
+++ b/net-analyzer/driftnet/files/driftnet-1.3.0-CFLAGS.patch
@@ -0,0 +1,21 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -68,12 +68,12 @@
+ ,
+ [enable_debug=yes])
+
+-if test "x$enable_debug" = xyes; then
+- CFLAGS="-O2 -g -DDEBUG"
+-else
+- CFLAGS="-O2 -DNDEBUG"
+-fi
+-#AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes")
++#if test "x$enable_debug" = xyes; then
++# CFLAGS="-O2 -g -DDEBUG"
++#else
++# CFLAGS="-O2 -DNDEBUG"
++#fi
++AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes")
+
+ #
+ # Checks for programs.