diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-04-06 23:38:11 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-04-06 23:38:40 +0200 |
commit | cfb358842c4d0a288c8e5b22ee15e31489cc5b68 (patch) | |
tree | acba0b18e8cf65ae12ea067adcf194fb78dc65da /testing/vis/fortify-source.patch | |
parent | 9dd7a679aeeaf9c8024a46a986f926f5105bf022 (diff) | |
download | aports-cfb358842c4d0a288c8e5b22ee15e31489cc5b68.tar.bz2 aports-cfb358842c4d0a288c8e5b22ee15e31489cc5b68.tar.xz |
testing/vis: upgrade to 0.2
Diffstat (limited to 'testing/vis/fortify-source.patch')
-rw-r--r-- | testing/vis/fortify-source.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testing/vis/fortify-source.patch b/testing/vis/fortify-source.patch index bb790c703d..763c73e7ab 100644 --- a/testing/vis/fortify-source.patch +++ b/testing/vis/fortify-source.patch @@ -2,15 +2,15 @@ 010_all_default-fortify-source.patch patch in main/gcc. Disabling it here silences a bunch of compiler warnings. -diff -upr vis-0.1.orig/config.mk vis-0.1/config.mk ---- vis-0.1.orig/config.mk 2016-02-27 17:42:14.812754756 +0100 -+++ vis-0.1/config.mk 2016-02-27 17:42:23.349390641 +0100 -@@ -64,7 +64,7 @@ STRIP ?= strip +diff -upr vis-0.2.orig/configure vis-0.2/configure +--- vis-0.2.orig/configure 2016-04-06 23:36:44.232477390 +0200 ++++ vis-0.2/configure 2016-04-06 23:36:59.705671155 +0200 +@@ -199,7 +199,7 @@ tryflag CFLAGS_TRY -Werror=unused-com + tryldflag LDFLAGS_TRY -Werror=unknown-warning-option + tryldflag LDFLAGS_TRY -Werror=unused-command-line-argument - # Hardening - ifeq (${CC},gcc) -- CFLAGS += -fPIC -fstack-protector-all -D_FORTIFY_SOURCE=2 -+ CFLAGS += -fPIC -fstack-protector-all - LDFLAGS += -z now -z relro -pie - else ifeq (${CC},clang) - CFLAGS += -fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 +-CFLAGS_STD="-std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DNDEBUG -D_FORTIFY_SOURCE=2" ++CFLAGS_STD="-std=c99 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DNDEBUG" + LDFLAGS_STD="-lc" + + OS=$(uname) |