[Git][debian-gis-team/qgis][master] Add patch to fix FTBFS with GDAL 3.5.0.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed May 11 07:39:43 BST 2022



Bas Couwenberg pushed to branch master at Debian GIS Project / qgis


Commits:
28d7072e by Bas Couwenberg at 2022-05-11T08:39:32+02:00
Add patch to fix FTBFS with GDAL 3.5.0.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/gdal-multiarch.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+qgis (3.22.6+dfsg-1~exp2) UNRELEASED; urgency=medium
+
+  * Add patch to fix FTBFS with GDAL 3.5.0.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 11 May 2022 08:31:31 +0200
+
 qgis (3.22.6+dfsg-1~exp1) experimental; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/gdal-multiarch.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Add support for GDAL 3.5.0 Multi-Arch path.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/qgis/QGIS/pull/48509
+
+--- a/cmake/FindGDAL.cmake
++++ b/cmake/FindGDAL.cmake
+@@ -174,7 +174,7 @@ ELSE(WIN32)
+             SET(GDAL_LIBRARY ${GDAL_LINK_DIRECTORIES}/lib${GDAL_LIB_NAME}.dylib CACHE STRING INTERNAL FORCE)
+           ENDIF (NOT GDAL_LIBRARY)
+         ELSE (APPLE)
+-          FIND_LIBRARY(GDAL_LIBRARY NAMES ${GDAL_LIB_NAME} PATHS ${GDAL_LINK_DIRECTORIES}/lib)
++          FIND_LIBRARY(GDAL_LIBRARY NAMES ${GDAL_LIB_NAME} gdal PATHS ${GDAL_LINK_DIRECTORIES}/lib ${GDAL_LINK_DIRECTORIES})
+         ENDIF (APPLE)
+       
+       ELSE(GDAL_CONFIG)


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ python-env.patch
 developersmap-use-debian-package.patch
 exclude-elvensword-resources.patch
 spelling-errors.patch
+gdal-multiarch.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/-/commit/28d7072eaa09c5a07c1b1957c8b987f5fffd26d6

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/qgis/-/commit/28d7072eaa09c5a07c1b1957c8b987f5fffd26d6
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/20220511/80d06f31/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list