diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-11 09:34:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-11 09:34:39 +0100 |
commit | 7e2b5bc2c2e2e045de6095d46c24ee857453adf2 (patch) | |
tree | 4387abc7e6be6debdd362738e7976e0d053163a1 /games-util/grfcodec/files | |
parent | 9b97cf60d2411c33c1b2170b730b345ea9995002 (diff) |
gentoo auto-resync : 11:08:2023 - 09:34:39
Diffstat (limited to 'games-util/grfcodec/files')
-rw-r--r-- | games-util/grfcodec/files/grfcodec-6.0.6_p20230811-no-fortify-source.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games-util/grfcodec/files/grfcodec-6.0.6_p20230811-no-fortify-source.patch b/games-util/grfcodec/files/grfcodec-6.0.6_p20230811-no-fortify-source.patch new file mode 100644 index 000000000000..ce71610a0cad --- /dev/null +++ b/games-util/grfcodec/files/grfcodec-6.0.6_p20230811-no-fortify-source.patch @@ -0,0 +1,19 @@ +From a6e90d5121cfd312df535d90d1b939d9f9c616a1 Mon Sep 17 00:00:00 2001 +From: Matthew Smith <matthew@gentoo.org> +Date: Fri, 11 Aug 2023 07:59:54 +0100 +Subject: [PATCH] build: Remove -D_FORTIFY_SOURCE=2 + +Bug: https://bugs.gentoo.org/894648 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -47,7 +47,6 @@ endif() + # it does not appear to support the $<> tags. + add_compile_options( + "$<$<CONFIG:Debug>:-D_DEBUG>" +- "$<$<NOT:$<CONFIG:Debug>>:-D_FORTIFY_SOURCE=2>" # FORTIFY_SOURCE should only be used in non-debug builds (requires -O1+) + ) + if(MINGW) + add_link_options( +-- +2.41.0 + |