summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-08-09 00:01:09 +0000
committerjoerg <joerg@pkgsrc.org>2020-08-09 00:01:09 +0000
commit2ad5ccba63752a0c79630992e55c05ff45a7c221 (patch)
treeb44446a5b7f3888adb3c3ac22ce4fbbe4859d9d3 /x11
parent3e684f55fa23047c9b0338582d972c2985cc0822 (diff)
downloadpkgsrc-2ad5ccba63752a0c79630992e55c05ff45a7c221.tar.gz
Fix build against newer Jasper.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs4/distinfo3
-rw-r--r--x11/kdelibs4/patches/patch-kimgio_jp2.cpp20
2 files changed, 22 insertions, 1 deletions
diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo
index 5c8b1cd08f5..4b52b9d317c 100644
--- a/x11/kdelibs4/distinfo
+++ b/x11/kdelibs4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.55 2020/03/24 20:34:31 joerg Exp $
+$NetBSD: distinfo,v 1.56 2020/08/09 00:01:09 joerg Exp $
SHA1 (kdelibs-4.14.38.tar.xz) = 2271f8b38cd5b6b55fa31c567271e3ca37ef641a
RMD160 (kdelibs-4.14.38.tar.xz) = edf16e14842237950655bf44c073070c5bb7d74b
@@ -25,6 +25,7 @@ SHA1 (patch-kdecore_util_kshareddatacache_p.h) = 6d064fe75fbecd489b0343960333864
SHA1 (patch-kdeui_icons_kiconcache.cpp) = c360192afd21efedc6dad8a6ccdd61573ee0dbac
SHA1 (patch-khtml_dom_dom2_traversal.h) = b001fc3825fcfea8f25b7219057e59d5b87723e4
SHA1 (patch-khtml_misc_AtomicString.cpp) = eff036bcd09e031651eba1e3a2136e313d184f2b
+SHA1 (patch-kimgio_jp2.cpp) = f2fa84cb1ab17697fd07c2507bba1ff21d1dc9ee
SHA1 (patch-kinit_CMakeLists.txt) = bcbf273d79702a4f1a617df0c86c2d5771447364
SHA1 (patch-kinit_kinit.cpp) = 75dfe546c92169e692ddb45cd1a056a1b4042bb6
SHA1 (patch-kio_CMakeLists.txt) = 3033fe7d31555e83f197f889cf1aa15949a3c14e
diff --git a/x11/kdelibs4/patches/patch-kimgio_jp2.cpp b/x11/kdelibs4/patches/patch-kimgio_jp2.cpp
new file mode 100644
index 00000000000..ecf1e9e373c
--- /dev/null
+++ b/x11/kdelibs4/patches/patch-kimgio_jp2.cpp
@@ -0,0 +1,20 @@
+$NetBSD: patch-kimgio_jp2.cpp,v 1.1 2020/08/09 00:01:09 joerg Exp $
+
+--- kimgio/jp2.cpp.orig 2020-08-08 22:34:50.646978346 +0000
++++ kimgio/jp2.cpp
+@@ -103,13 +103,13 @@ static void jas_stream_initbuf(jas_strea
+ stream->bufmode_ |= bufmode & JAS_STREAM_BUFMODEMASK;
+ }
+
+-static int qiodevice_read(jas_stream_obj_t *obj, char *buf, int cnt)
++static int qiodevice_read(jas_stream_obj_t *obj, char *buf, unsigned int cnt)
+ {
+ QIODevice *io = (QIODevice*) obj;
+ return io->read(buf, cnt);
+ }
+
+-static int qiodevice_write(jas_stream_obj_t *obj, char *buf, int cnt)
++static int qiodevice_write(jas_stream_obj_t *obj, char *buf, unsigned int cnt)
+ {
+ QIODevice *io = (QIODevice*) obj;
+ return io->write(buf, cnt);