holgersson-overlay/app-text/zeal/files/zeal-0.7.0-CMakeLists-Disable-Werror.patch
Nils Freydank b1441618d5
app-text/zeal: Import and bump orphaned package
The package is based on the latest one from ::gentoo,
bumped to 0.7.0, moved to qt6 (w/ qt5 support) and
cleaned up.

Thanks-To: Sam James <sam@gentoo.org>
Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2024-03-23 18:45:29 +01:00

31 lines
815 B
Diff

From d2d95443fcd9f79b70568513412c289219e5afdc Mon Sep 17 00:00:00 2001
From: Nils Freydank <holgersson@posteo.de>
Date: Sat, 23 Mar 2024 19:00:00 +0100
Subject: [PATCH] CMakeLists: Disable -Werror
Gentoo policy is to disable -Werror by default,
see e.g. https://bugs.gentoo.org/926121.
Signed-off-by: Nils Freydank <holgersson@posteo.de>
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6a31c6..4a9a86f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,8 @@ add_custom_target(zeal_version
)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
- set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
+ # Upstream is slightly insane.
+ set(CMAKE_COMPILE_WARNING_AS_ERROR OFF)
endif()
add_subdirectory(assets)
--
2.44.0