public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/vtk] rawhide: Add vtk-gdal313.patch
Date: Fri, 19 Jun 2026 16:10:17 GMT [thread overview]
Message-ID: <178188541717.1.1181012865540995515.rpms-vtk-4bfa6b2f9bdd@fedoraproject.org> (raw)
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/
reply other threads:[~2026-06-19 16:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178188541717.1.1181012865540995515.rpms-vtk-4bfa6b2f9bdd@fedoraproject.org \
--to=manisandro@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox