diff options
author | Sam James <sam@gentoo.org> | 2021-08-04 21:10:50 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-04 21:11:44 +0100 |
commit | 8ed43f3b77d28bf20172338ba6269566a8187513 (patch) | |
tree | ead883d9d8eb89843487f9479d58d63a0f55789c /net-firewall/fwbuilder/files | |
parent | net-firewall/fwbuilder: version bump (diff) | |
download | gentoo-8ed43f3b77d28bf20172338ba6269566a8187513.tar.gz gentoo-8ed43f3b77d28bf20172338ba6269566a8187513.tar.bz2 gentoo-8ed43f3b77d28bf20172338ba6269566a8187513.zip |
net-firewall/fwbuilder: modernise ebuild, drop -Werror
Closes: https://bugs.gentoo.org/787671
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-firewall/fwbuilder/files')
-rw-r--r-- | net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-drop-Werror.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-drop-Werror.patch b/net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-drop-Werror.patch new file mode 100644 index 000000000000..36722122e5cb --- /dev/null +++ b/net-firewall/fwbuilder/files/fwbuilder-6.0.0_p20200502-drop-Werror.patch @@ -0,0 +1,25 @@ +From e4c76883d8de814050893bec4d196d5d5f48c9c2 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Wed, 4 Aug 2021 20:46:56 +0100 +Subject: [PATCH] Drop -Werror + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ddabd38..97477b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -45,7 +45,7 @@ endif() + set(CMAKE_CXX_STANDARD 11) + set(CMAKE_POSITION_INDEPENDENT_CODE ON) + set(CXX_DEFAULT_FLAGS # clang/GCC warnings +- $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:-Wall;-Wextra;-Werror;-Wno-overloaded-virtual> ++ $<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>>:-Wall;-Wextra;-Wno-overloaded-virtual> + # MSVC warnings + $<$<CXX_COMPILER_ID:MSVC>:/WX;/W4>) + +-- +2.32.0 + |