Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/libfreehand libfreehand: Fix build with tex...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/328fbc792a3a
branches:  trunk
changeset: 428903:328fbc792a3a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Apr 13 10:12:46 2020 +0000

description:
libfreehand: Fix build with textproc/icu-66.1

diffstat:

 converters/libfreehand/distinfo                                     |   4 +-
 converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 976554d94dac -r 328fbc792a3a converters/libfreehand/distinfo
--- a/converters/libfreehand/distinfo   Sun Apr 12 23:59:41 2020 +0000
+++ b/converters/libfreehand/distinfo   Mon Apr 13 10:12:46 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.7 2020/03/24 15:49:36 nia Exp $
+$NetBSD: distinfo,v 1.8 2020/04/13 10:12:46 ryoon Exp $
 
 SHA1 (libfreehand-0.1.2.tar.xz) = f945b23b7801a3601998973028a054ee379967cb
 RMD160 (libfreehand-0.1.2.tar.xz) = 192b04b4aa85a6d3e7f1200aad7588e72978a329
 SHA512 (libfreehand-0.1.2.tar.xz) = 4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963
 Size (libfreehand-0.1.2.tar.xz) = 516132 bytes
-SHA1 (patch-src_lib_FHPath.h) = a883f19924232b178b98aeb480cc0fa1ab37e98f
+SHA1 (patch-src_lib_libfreehand__utils.cpp) = 83723d672b079fc1eb42db2f7db15af830174295
diff -r 976554d94dac -r 328fbc792a3a converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp       Mon Apr 13 10:12:46 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_lib_libfreehand__utils.cpp,v 1.1 2020/04/13 10:12:46 ryoon Exp $
+
+* Fix build with textproc/icu-66.1.
+
+--- src/lib/libfreehand_utils.cpp.orig 2017-09-16 10:28:50.000000000 +0000
++++ src/lib/libfreehand_utils.cpp
+@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(libreveng
+   while (j < length)
+   {
+     UChar32 c;
+-    U16_NEXT(s, j, length, c)
++    U16_NEXT(s, j, length, c);
+     unsigned char outbuf[U8_MAX_LENGTH+1];
+     int i = 0;
+     U8_APPEND_UNSAFE(&outbuf[0], i, c);



Home | Main Index | Thread Index | Old Index