diff options
| author | Marek Szuba <marecki@gentoo.org> | 2024-04-24 13:22:37 +0100 |
|---|---|---|
| committer | Marek Szuba <marecki@gentoo.org> | 2024-04-24 13:38:19 +0100 |
| commit | b53980535864e0f237a00d27673764fbca95482c (patch) | |
| tree | 8a8718b5801b2969063c1b0318ccbe1039338690 /net-libs/libhtp/files/libhtp-0.5.48-configure_fortify_source.patch | |
| parent | f15c851a1b5af3b0ad6ae972d06de3f2a2fad354 (diff) | |
| download | gentoo-b53980535864e0f237a00d27673764fbca95482c.tar.gz gentoo-b53980535864e0f237a00d27673764fbca95482c.tar.bz2 gentoo-b53980535864e0f237a00d27673764fbca95482c.zip | |
net-libs/libhtp: add 0.5.48, drop 0.5.47
Signed-off-by: Marek Szuba <marecki@gentoo.org>
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) |
