public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vtk] rawhide: Add vtk-gdal313.patch
@ 2026-06-19 16:10 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-06-19 16:10 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/vtk
Branch : rawhide
Commit : 4bfa6b2f9bdd9ae8adb94c9c0cc1749aacf7e949
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-06-19T18:10:02+02:00
Stats : +23/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/vtk/c/4bfa6b2f9bdd9ae8adb94c9c0cc1749aacf7e949?branch=rawhide
Log:
Add vtk-gdal313.patch
---
diff --git a/vtk-gdal313.patch b/vtk-gdal313.patch
new file mode 100644
index 0000000..097cf2e
--- /dev/null
+++ b/vtk-gdal313.patch
@@ -0,0 +1,21 @@
+diff -rupN VTK-9.6.2/IO/GDAL/vtkGDALRasterReader.cxx VTK-9.6.2-new/IO/GDAL/vtkGDALRasterReader.cxx
+--- VTK-9.6.2/IO/GDAL/vtkGDALRasterReader.cxx 2026-05-18 21:46:56.000000000 +0200
++++ VTK-9.6.2-new/IO/GDAL/vtkGDALRasterReader.cxx 2026-06-19 18:08:21.049063630 +0200
+@@ -182,7 +182,7 @@ void vtkGDALRasterReader::vtkGDALRasterR
+ this->Reader->DriverShortName = GDALGetDriverShortName(driver);
+ this->Reader->DriverLongName = GDALGetDriverLongName(driver);
+
+- char** papszMetaData = GDALGetMetadata(this->GDALData, nullptr);
++ CSLConstList papszMetaData = GDALGetMetadata(this->GDALData, nullptr);
+ if (CSLCount(papszMetaData) > 0)
+ {
+ for (int i = 0; papszMetaData[i] != nullptr; ++i)
+@@ -882,7 +882,7 @@ std::vector<std::string> vtkGDALRasterRe
+ {
+ std::vector<std::string> domainMetaData;
+
+- char** papszMetadata = GDALGetMetadata(this->Impl->GDALData, domain.c_str());
++ CSLConstList papszMetadata = GDALGetMetadata(this->Impl->GDALData, domain.c_str());
+
+ if (CSLCount(papszMetadata) > 0)
+ {
diff --git a/vtk.spec b/vtk.spec
index 49d057d..dd0e3e5 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -91,6 +91,8 @@ Patch: vtk-libharu.patch
Patch: vtk-ppc64-no-always-inline.patch
# Fix Integer Overflow on 32-bit in KissFFT
Patch: vtk-CVE-2025-34297.patch
+# Fix build against GDAL 3.13+
+Patch: vtk-gdal313.patch
URL: https://vtk.org/
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-19 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 16:10 [rpms/vtk] rawhide: Add vtk-gdal313.patch Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox