zeal, fix for 32bit (#13909)

This commit is contained in:
Schrijvers Luc
2026-04-04 10:54:16 +02:00
committed by GitHub
parent 68c491413e
commit 69d5772e34
2 changed files with 27 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
From d42150cdb37315ba51df496effe0a033d397fe32 Mon Sep 17 00:00:00 2001
From 2427ca20a63ce8dea5ce07a8da337fd1f203a707 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 3 Sep 2018 20:03:29 +1000
Subject: Fix build for Haiku
@@ -60,7 +60,7 @@ index 0000000..1bb9cde
2.52.0
From 18a56e281b935298a659307fc5c54a6e192802fc Mon Sep 17 00:00:00 2001
From 3be6259bbcf93aaf35be81e2f757c7e2ffa02b6b Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Wed, 6 Dec 2023 17:04:14 +0100
Subject: Fix linking with libnetwork
@@ -85,7 +85,7 @@ index d2521b0..3b15f5b 100644
2.52.0
From b449ca2425353f595dd658822c47de0f27e85d3d Mon Sep 17 00:00:00 2001
From 61e5d27d1abbc4f1a2f3e068675dc0a125550b76 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Wed, 28 May 2025 09:29:04 +0200
Subject: Fix: undefined reference to `QxtGlobalShortcutPrivate::isSupported()'
@@ -114,3 +114,26 @@ index 1bb9cde..654766f 100644
--
2.52.0
From 34b9cb276b47771f87a89432fc4f6332f71f3afb Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Sat, 4 Apr 2026 10:51:51 +0200
Subject: set CMAKE_COMPILE_WARNING_AS_ERROR as OFF
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0e70da9..a5643e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,7 +67,7 @@ add_custom_target(zeal_version
)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
- set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
+ set(CMAKE_COMPILE_WARNING_AS_ERROR OFF)
endif()
option(BUILD_TESTING "Build the testing suite" ON)
--
2.52.0

View File

@@ -60,8 +60,7 @@ BUILD()
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
-DZEAL_RELEASE_BUILD=ON \
-DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
-DZEAL_RELEASE_BUILD=ON
make -Cbuild $jobArgs
}