Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kdelibs4 Fix build against newer Jasper.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ec8c97577e5
branches:  trunk
changeset: 436761:1ec8c97577e5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Aug 09 00:01:09 2020 +0000

description:
Fix build against newer Jasper.

diffstat:

 x11/kdelibs4/distinfo                     |   3 ++-
 x11/kdelibs4/patches/patch-kimgio_jp2.cpp |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 6ed007befe54 -r 1ec8c97577e5 x11/kdelibs4/distinfo
--- a/x11/kdelibs4/distinfo     Sun Aug 09 00:00:56 2020 +0000
+++ b/x11/kdelibs4/distinfo     Sun Aug 09 00:01:09 2020 +0000
@@ -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-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 -r 6ed007befe54 -r 1ec8c97577e5 x11/kdelibs4/patches/patch-kimgio_jp2.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdelibs4/patches/patch-kimgio_jp2.cpp Sun Aug 09 00:01:09 2020 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index