diff options
-rw-r--r-- | sci-electronics/kicad/files/kicad-7.0.0-werror.patch | 21 | ||||
-rw-r--r-- | sci-electronics/kicad/kicad-7.0.0-r1.ebuild | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/sci-electronics/kicad/files/kicad-7.0.0-werror.patch b/sci-electronics/kicad/files/kicad-7.0.0-werror.patch new file mode 100644 index 000000000000..b5fa3b1ae15d --- /dev/null +++ b/sci-electronics/kicad/files/kicad-7.0.0-werror.patch @@ -0,0 +1,21 @@ +From 04fc6081bd3d6575d00589f71150ab796778a9c9 Mon Sep 17 00:00:00 2001 +From: Matthew Smith <matthew@gentoo.org> +Date: Mon, 20 Feb 2023 17:53:50 +0000 +Subject: [PATCH] build: Remove Werror flag from clipper2 + +Bug: https://bugs.gentoo.org/895014 + +--- a/thirdparty/clipper2/CMakeLists.txt ++++ b/thirdparty/clipper2/CMakeLists.txt +@@ -27,7 +27,7 @@ target_compile_definitions(clipper2 PUBLIC USINGZ) + if (MSVC) + target_compile_options(clipper2 PRIVATE /W4 /WX) + else() +- target_compile_options(clipper2 PRIVATE -Wall -Wextra -Wpedantic -Werror) ++ target_compile_options(clipper2 PRIVATE -Wall -Wextra -Wpedantic) + target_link_libraries(clipper2 PUBLIC -lm) + endif() + +-- +2.39.2 + diff --git a/sci-electronics/kicad/kicad-7.0.0-r1.ebuild b/sci-electronics/kicad/kicad-7.0.0-r1.ebuild index 6e1f702ce060..a6db98a4f37a 100644 --- a/sci-electronics/kicad/kicad-7.0.0-r1.ebuild +++ b/sci-electronics/kicad/kicad-7.0.0-r1.ebuild @@ -77,6 +77,8 @@ CHECKREQS_DISK_BUILD="900M" PATCHES=( # https://bugs.gentoo.org/895188 "${FILESDIR}"/${PN}-7.0.0-wxwidgets-version.patch + + "${FILESDIR}"/${PN}-7.0.0-werror.patch ) pkg_setup() { |