[med-svn] [Git][med-team/gdcm][master] d/patches: bump CXX standard to 20 to fix FTBFS with new poppler

Gianfranco Costamagna (@locutusofborg) gitlab at salsa.debian.org
Thu Aug 1 18:44:59 BST 2024



Gianfranco Costamagna pushed to branch master at Debian Med / gdcm


Commits:
3c830e9f by Andreas Hasenack at 2024-06-24T17:45:57-03:00
d/patches: bump CXX standard to 20 to fix FTBFS with new poppler

- - - - -


2 changed files:

- + debian/patches/cxx-standard-20.patch
- debian/patches/series


Changes:

=====================================
debian/patches/cxx-standard-20.patch
=====================================
@@ -0,0 +1,22 @@
+Description: set CXX standard to 20, following poppler's change[1]
+ 1. https://gitlab.freedesktop.org/poppler/poppler/-/commit/d8ae3ba#9a2aa4db38d3115ed60da621e012c0efc0172aae
+Author: Andreas Hasenack <andreas.hasenack at canonical.com>
+Bug: https://sourceforge.net/p/gdcm/bugs/561/
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gdcm/+bug/2070303
+Last-Update: 2024-06-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 38c65d11..41345485 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -23,6 +23,9 @@ project(GDCM
+ ## NOTE: the "DESCRIPTION" feature of project() was introduced in cmake 3.10.0
+ set(PROJECT_DESCRIPTION "GDCM - Grassroots DICOM. GDCM is yet another DICOM library.")
+ 
++# https://sourceforge.net/p/gdcm/bugs/561/
++# due to https://gitlab.freedesktop.org/poppler/poppler/-/commit/d8ae3ba#9a2aa4db38d3115ed60da621e012c0efc0172aae
++set(CMAKE_CXX_STANDARD 20)
+ ## Set aliases for backwards compatibility.  GDCM_VERSION_XXX are configured by the project() command 
+ set(GDCM_MAJOR_VERSION ${GDCM_VERSION_MAJOR})
+ set(GDCM_MINOR_VERSION ${GDCM_VERSION_MINOR})


=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ rename-pdf.patch
 dircos_rev.patch
 de650849a1f294dda8401e2925c40daec51d0d3b.patch
 3be6c2fa0945c91889bcf06e8c20e88f69692dd5.patch
+cxx-standard-20.patch



View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/commit/3c830e9f56e8afc0e6e2fee55ef40003e2fc989f

-- 
View it on GitLab: https://salsa.debian.org/med-team/gdcm/-/commit/3c830e9f56e8afc0e6e2fee55ef40003e2fc989f
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/debian-med-commit/attachments/20240801/6414d0fa/attachment-0001.htm>


More information about the debian-med-commit mailing list