diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 10:01:36 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 11:24:37 +0000 |
commit | 1ccb7c0c01a3eea05bbf0139b6e91a3c88cb2ed3 (patch) | |
tree | 22ab5ed7612a97b14efa36e6ace75edeaef82cb1 /community/openvas-cli/001-fortify-source.patch | |
parent | 1d98247a68304d44413a33e3ca074cd07c3aabea (diff) | |
download | aports-1ccb7c0c01a3eea05bbf0139b6e91a3c88cb2ed3.tar.bz2 aports-1ccb7c0c01a3eea05bbf0139b6e91a3c88cb2ed3.tar.xz |
community/openvas-cli: moved from testing
Diffstat (limited to 'community/openvas-cli/001-fortify-source.patch')
-rw-r--r-- | community/openvas-cli/001-fortify-source.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/community/openvas-cli/001-fortify-source.patch b/community/openvas-cli/001-fortify-source.patch new file mode 100644 index 0000000000..49a9cdfd97 --- /dev/null +++ b/community/openvas-cli/001-fortify-source.patch @@ -0,0 +1,16 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index db7cb9b..3681573 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -190,9 +190,9 @@ configure_file (VERSION.in VERSION) + ## Program + + if (MINGW) +- set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2") ++ set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2") + else (MINGW) +- set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -D_FORTIFY_SOURCE=2 -fstack-protector") ++ set (HARDENING_FLAGS "-Wformat -Wformat-security -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector") + set (LINKER_HARDENING_FLAGS "-Wl,-z,relro -Wl,-z,now") + endif (MINGW) + |