public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/vtk] rawhide: Add workaround for convience header removed from OCCT.
@ 2026-09-21 22:51 Richard Shaw
0 siblings, 0 replies; only message in thread
From: Richard Shaw @ 2026-09-21 22:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/vtk
Branch : rawhide
Commit : c7bf6a65c86bc6b03e66b620c7fd81ccd8ee5d48
Author : Richard Shaw <hobbes1069@gmail.com>
Date : 2026-09-21T17:50:31-05:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/vtk/c/c7bf6a65c86bc6b03e66b620c7fd81ccd8ee5d48?branch=rawhide
Log:
Add workaround for convience header removed from OCCT.
---
diff --git a/vtk.spec b/vtk.spec
index 80f87ae..fa52aa1 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -633,6 +633,11 @@ sed -i -e '/VERSION *"/d' ThirdParty/fast_float/CMakeLists.txt
# Remove unused KWSys items
find Utilities/KWSys/vtksys/ -name \*.[ch]\* | grep -vE '^Utilities/KWSys/vtksys/([a-z].*|Configure|SharedForward|Status|String\.hxx|Base64|CommandLineArguments|Directory|DynamicLoader|Encoding|FStream|FundamentalType|Glob|MD5|Process|RegularExpression|System|SystemInformation|SystemTools)(C|CXX|UNIX)?\.' | xargs rm
+# Convience header was removed in 8.x
+%if 0%{?fedora} > 45
+ sed -i '/#include <Standard_PrimitiveTypes.hxx>/d' IO/OCCT/vtkOCCTReader.cxx
+endif
+
# Save an unbuilt copy of the Example's sources for %doc
mkdir vtk-examples
cp -a Examples vtk-examples
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 22:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 22:51 [rpms/vtk] rawhide: Add workaround for convience header removed from OCCT Richard Shaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox