summaryrefslogtreecommitdiff
path: root/net-libs/libhtp/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libhtp/files')
-rw-r--r--net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch (renamed from net-libs/libhtp/files/libhtp-0.5.43-configure_fortify_source.patch)6
1 files changed, 2 insertions, 4 deletions
diff --git a/net-libs/libhtp/files/libhtp-0.5.43-configure_fortify_source.patch b/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch
index 7fc605f14a38..7287e01ec81f 100644
--- a/net-libs/libhtp/files/libhtp-0.5.43-configure_fortify_source.patch
+++ b/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch
@@ -1,8 +1,6 @@
-Hardened profiles now set -D_FORTIFY_SOURCE=3, do not let upstream weaken it.
-
--- a/configure.ac
+++ b/configure.ac
-@@ -206,18 +206,6 @@
+@@ -204,18 +204,6 @@
fi
dnl -----------------------------------------------
@@ -11,7 +9,7 @@ Hardened profiles now set -D_FORTIFY_SOURCE=3, do not let upstream weaken it.
-AC_MSG_CHECKING(for gcc support of FORTIFY_SOURCE)
-TMPCFLAGS="${CFLAGS}"
-CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=2"
--AC_TRY_COMPILE(,,[gcc_have_fortify_source=yes],[gcc_have_fortify_source=no])
+-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[gcc_have_fortify_source=yes],[gcc_have_fortify_source=no])
-AC_MSG_RESULT($gcc_have_fortify_source)
-if test "$gcc_have_fortify_source" != "yes"; then
- CFLAGS="${TMPCFLAGS}"