aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/devil/jasper-4.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/devil/jasper-4.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/devil/jasper-4.patch')
-rw-r--r--vcpkg/ports/devil/jasper-4.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/devil/jasper-4.patch b/vcpkg/ports/devil/jasper-4.patch
new file mode 100644
index 0000000..2373a0f
--- /dev/null
+++ b/vcpkg/ports/devil/jasper-4.patch
@@ -0,0 +1,28 @@
+diff --git a/DevIL/src-IL/src/il_jp2.cpp b/DevIL/src-IL/src/il_jp2.cpp
+index a419c1484..7b7e3cb12 100644
+--- a/DevIL/src-IL/src/il_jp2.cpp
++++ b/DevIL/src-IL/src/il_jp2.cpp
+@@ -314,9 +314,9 @@ ILboolean iLoadJp2Internal(jas_stream_t *Stream, ILimage *Image)
+
+
+ #ifdef __APPLE__
+-static int iJp2_file_read(void *obj, char *buf, unsigned int cnt)
++static ssize_t iJp2_file_read(void *obj, char *buf, size_t cnt)
+ #else
+-static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, unsigned int cnt)
++static ssize_t iJp2_file_read(jas_stream_obj_t *obj, char *buf, size_t cnt)
+ #endif
+ {
+ obj;
+@@ -324,9 +324,9 @@ static int iJp2_file_read(jas_stream_obj_t *obj, char *buf, unsigned int cnt)
+ }
+
+ #ifdef __APPLE__
+-static int iJp2_file_write(void *obj, const char *buf, unsigned int cnt)
++static ssize_t iJp2_file_write(void *obj, const char *buf, size_t cnt)
+ #else
+-static int iJp2_file_write(jas_stream_obj_t *obj, const char *buf, unsigned int cnt)
++static ssize_t iJp2_file_write(jas_stream_obj_t *obj, const char *buf, size_t cnt)
+ #endif
+ {
+ obj;