summaryrefslogtreecommitdiff
path: root/dev-cpp/glog/files/glog-0.6.0-cmake-4.patch
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2025-05-26 03:37:29 +0100
committerSam James <sam@gentoo.org>2025-05-26 03:37:29 +0100
commit89bae30fab90f218bd7a1d56e825819e4576a4c4 (patch)
tree1953e3eb30e6bd91f5745b8707a160047222b0f2 /dev-cpp/glog/files/glog-0.6.0-cmake-4.patch
parentfcfdc0e2ae7bea8b70496c0ba82e24e3b885b777 (diff)
downloadgentoo-89bae30fab90f218bd7a1d56e825819e4576a4c4.tar.gz
gentoo-89bae30fab90f218bd7a1d56e825819e4576a4c4.tar.bz2
gentoo-89bae30fab90f218bd7a1d56e825819e4576a4c4.zip
dev-cpp/glog: backport fixes to 0.6.0
* Fix CMake 4 * Skip buggy tests Bug: https://bugs.gentoo.org/863599 Bug: https://bugs.gentoo.org/954083 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/glog/files/glog-0.6.0-cmake-4.patch')
-rw-r--r--dev-cpp/glog/files/glog-0.6.0-cmake-4.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-cpp/glog/files/glog-0.6.0-cmake-4.patch b/dev-cpp/glog/files/glog-0.6.0-cmake-4.patch
new file mode 100644
index 000000000000..0f17e373e2e3
--- /dev/null
+++ b/dev-cpp/glog/files/glog-0.6.0-cmake-4.patch
@@ -0,0 +1,18 @@
+https://bugs.gentoo.org/954083
+https://github.com/google/glog/commit/3411d58669fe07e70335b252299432a00d1e7c6c
+
+From 3411d58669fe07e70335b252299432a00d1e7c6c Mon Sep 17 00:00:00 2001
+From: Sergiu Deitsch <sergiu.deitsch@gmail.com>
+Date: Thu, 5 Oct 2023 00:48:10 +0200
+Subject: [PATCH] cmake: eliminate deprecation warning
+
+--- a/cmake/GetCacheVariables.cmake
++++ b/cmake/GetCacheVariables.cmake
+@@ -1,5 +1,5 @@
+ cmake_policy (PUSH)
+-cmake_policy (VERSION 3.3)
++cmake_policy (VERSION 3.16...3.27)
+
+ include (CMakeParseArguments)
+
+