aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/osg/openexr3.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/osg/openexr3.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/osg/openexr3.patch')
-rw-r--r--vcpkg/ports/osg/openexr3.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/vcpkg/ports/osg/openexr3.patch b/vcpkg/ports/osg/openexr3.patch
new file mode 100644
index 0000000..9d52500
--- /dev/null
+++ b/vcpkg/ports/osg/openexr3.patch
@@ -0,0 +1,46 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c7de889..2a58f19 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -743,6 +743,9 @@ ELSE()
+ FIND_PACKAGE(Inventor)
+ FIND_PACKAGE(Jasper)
+ FIND_PACKAGE(OpenEXR)
++ set(OPENEXR_FOUND "${OpenEXR_FOUND}")
++ set(OPENEXR_LIBRARIES OpenEXR::OpenEXR)
++ set(OPENEXR_LIBRARIES_VARS OPENEXR_LIBRARIES)
+ FIND_PACKAGE(OpenCascade)
+ FIND_PACKAGE(COLLADA)
+ FIND_PACKAGE(FBX)
+diff --git a/src/osgPlugins/exr/ReaderWriterEXR.cpp b/src/osgPlugins/exr/ReaderWriterEXR.cpp
+index 7132e97..bea1483 100644
+--- a/src/osgPlugins/exr/ReaderWriterEXR.cpp
++++ b/src/osgPlugins/exr/ReaderWriterEXR.cpp
+@@ -41,11 +41,11 @@ public:
+ {
+ return _inStream->read(c,n).good();
+ };
+- virtual Int64 tellg ()
++ virtual uint64_t tellg ()
+ {
+ return _inStream->tellg();
+ };
+- virtual void seekg (Int64 pos)
++ virtual void seekg (uint64_t pos)
+ {
+ _inStream->seekg(pos);
+ };
+@@ -69,11 +69,11 @@ public:
+ {
+ _outStream->write(c,n);
+ };
+- virtual Int64 tellp ()
++ virtual uint64_t tellp ()
+ {
+ return _outStream->tellp();
+ };
+- virtual void seekp (Int64 pos)
++ virtual void seekp (uint64_t pos)
+ {
+ _outStream->seekp(pos);
+ };