[Git][debian-gis-team/pgrouting][master] Fix building with pre-3.27 CMake.

Christoph Berg (@myon) gitlab at salsa.debian.org
Thu Jan 23 15:25:01 GMT 2025



Christoph Berg pushed to branch master at Debian GIS Project / pgrouting


Commits:
90affd10 by Christoph Berg at 2025-01-23T16:23:40+01:00
Fix building with pre-3.27 CMake.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/2728.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pgrouting (3.7.2-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fix building with pre-3.27 CMake.
+
+ -- Christoph Berg <myon at debian.org>  Thu, 23 Jan 2025 15:11:25 +0000
+
 pgrouting (3.7.2-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/2728.patch
=====================================
@@ -0,0 +1,29 @@
+Description: Fix building with pre-3.27 CMake
+Author: Christoph Berg <myon at debian.org>
+Forwarded: https://github.com/pgRouting/pgrouting/pull/2728
+
+From acd98947a52352981db2bc890e9f6ac925eaa83a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= <lnicola at users.noreply.github.com>
+Date: Thu, 23 Jan 2025 16:59:38 +0200
+Subject: [PATCH] Make sure `CMP0148` exists
+
+Might help building on pre-3.27 CMake like in Debian 12.
+---
+ CMakeLists.txt | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4963f56ae9..f199796f4b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -14,7 +14,9 @@ if(POLICY CMP0167)
+     cmake_policy(SET CMP0167 OLD)
+ endif()
+
+-cmake_policy(SET CMP0148 OLD)
++if(POLICY CMP0148)
++    cmake_policy(SET CMP0148 OLD)
++endif()
+
+ #---------------------------------------------
+ # Setting kind of build


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 privacy-breach-uses-embedded-file.patch
 extension-no-version
+2728.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/pgrouting/-/commit/90affd10223ad72da6ac9a3c4bf8dd6c54834064

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgrouting/-/commit/90affd10223ad72da6ac9a3c4bf8dd6c54834064
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20250123/d6f10743/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list