diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-24 23:59:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-24 23:59:27 +0100 |
commit | b987a550f067c3da93b0664cf1fdc8a624c0aa38 (patch) | |
tree | 9ad1767fad656d26471a81af6bac8400a1c75218 /net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch | |
parent | e3f21c8aff8a76afe3423721c437a088e9232840 (diff) |
gentoo auto-resync : 24:04:2024 - 23:59:27
Diffstat (limited to 'net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch')
-rw-r--r-- | net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch b/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch new file mode 100644 index 000000000000..7287e01ec81f --- /dev/null +++ b/net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch @@ -0,0 +1,21 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -204,18 +204,6 @@ + fi + + dnl ----------------------------------------------- +-dnl Check for GCC -D_FORTIFY_SOURCE support +-dnl ----------------------------------------------- +-AC_MSG_CHECKING(for gcc support of FORTIFY_SOURCE) +-TMPCFLAGS="${CFLAGS}" +-CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=2" +-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}" +-fi +- +-dnl ----------------------------------------------- + dnl Check for GCC -Wformat-security support + dnl ----------------------------------------------- + AC_MSG_CHECKING(for gcc support of -Wformat -Wformat-security) |