[Git][debian-gis-team/gdal][master] Fix libavif.patch to not break the build when AVIF support is not enabled.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Aug 27 18:44:13 BST 2025
Bas Couwenberg pushed to branch master at Debian GIS Project / gdal
Commits:
81eda462 by Bas Couwenberg at 2025-08-27T19:07:45+02:00
Fix libavif.patch to not break the build when AVIF support is not enabled.
- - - - -
1 changed file:
- debian/patches/libavif.patch
Changes:
=====================================
debian/patches/libavif.patch
=====================================
@@ -28,6 +28,6 @@ Forwarded: https://github.com/OSGeo/gdal/pull/12973
endif ()
+
+option(AVIF_VERSION_CHECK "Check libavif runtime vs compile-time versions" ON)
-+if (AVIF_VERSION_CHECK)
++if (HAVE_AVIF AND AVIF_VERSION_CHECK)
+ set_property(TARGET AVIF::AVIF APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS "AVIF_VERSION_CHECK")
+endif ()
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal/-/commit/81eda462a8bb5214c12ec0d2cf670f59d1c69652
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal/-/commit/81eda462a8bb5214c12ec0d2cf670f59d1c69652
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/20250827/56893180/attachment.htm>
More information about the Pkg-grass-devel
mailing list