SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,33 @@
Fix build with OpenEXR>=3
Index: src/osgPlugins/exr/ReaderWriterEXR.cpp
--- src/osgPlugins/exr/ReaderWriterEXR.cpp.orig
+++ src/osgPlugins/exr/ReaderWriterEXR.cpp
@@ -41,11 +41,11 @@ class C_IStream: public Imf::IStream (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 @@ class C_OStream: public Imf::OStream (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);
};