aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/irrlicht/fix-osx-compilation.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/irrlicht/fix-osx-compilation.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/irrlicht/fix-osx-compilation.patch')
-rw-r--r--vcpkg/ports/irrlicht/fix-osx-compilation.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/irrlicht/fix-osx-compilation.patch b/vcpkg/ports/irrlicht/fix-osx-compilation.patch
new file mode 100644
index 0000000..a1daf0b
--- /dev/null
+++ b/vcpkg/ports/irrlicht/fix-osx-compilation.patch
@@ -0,0 +1,13 @@
+diff --git a/source/Irrlicht/CImageLoaderJPG.cpp b/source/Irrlicht/CImageLoaderJPG.cpp
+index 404bd53..71684d8 100644
+--- a/source/Irrlicht/CImageLoaderJPG.cpp
++++ b/source/Irrlicht/CImageLoaderJPG.cpp
+@@ -68,7 +68,7 @@ void CImageLoaderJPG::init_source (j_decompress_ptr cinfo)
+ boolean CImageLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
+ {
+ // DO NOTHING
+- return 1;
++ return TRUE;
+ }
+
+