aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/magnum-plugins/002-fix-stb-conflict.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/magnum-plugins/002-fix-stb-conflict.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/magnum-plugins/002-fix-stb-conflict.patch')
-rw-r--r--vcpkg/ports/magnum-plugins/002-fix-stb-conflict.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/magnum-plugins/002-fix-stb-conflict.patch b/vcpkg/ports/magnum-plugins/002-fix-stb-conflict.patch
new file mode 100644
index 0000000..13d535b
--- /dev/null
+++ b/vcpkg/ports/magnum-plugins/002-fix-stb-conflict.patch
@@ -0,0 +1,13 @@
+diff --git a/src/MagnumPlugins/StbImageImporter/StbImageImporter.cpp b/src/MagnumPlugins/StbImageImporter/StbImageImporter.cpp
+index c24a968..1a38162 100644
+--- a/src/MagnumPlugins/StbImageImporter/StbImageImporter.cpp
++++ b/src/MagnumPlugins/StbImageImporter/StbImageImporter.cpp
+@@ -45,7 +45,7 @@
+ #endif
+
+ /* Not defining malloc/free, because there's no equivalent for realloc in C++ */
+-#include "stb_image.h"
++#include "external/stb/stb_image.h"
+
+ namespace Magnum { namespace Trade {
+