summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-04-13 10:12:46 +0000
committerryoon <ryoon@pkgsrc.org>2020-04-13 10:12:46 +0000
commitf72140905315ad8d4fc6e956b473fe25872d8ebc (patch)
tree47be3b5c4578205dff5514d4fa03c7d1b7b094df /converters
parent9091f89ec330798823b717168f75ed84ba9ec577 (diff)
downloadpkgsrc-f72140905315ad8d4fc6e956b473fe25872d8ebc.tar.gz
libfreehand: Fix build with textproc/icu-66.1
Diffstat (limited to 'converters')
-rw-r--r--converters/libfreehand/distinfo4
-rw-r--r--converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp15
2 files changed, 17 insertions, 2 deletions
diff --git a/converters/libfreehand/distinfo b/converters/libfreehand/distinfo
index 464d0b6b868..677c2342fd0 100644
--- a/converters/libfreehand/distinfo
+++ b/converters/libfreehand/distinfo
@@ -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 --git a/converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp b/converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp
new file mode 100644
index 00000000000..e380d0aa719
--- /dev/null
+++ b/converters/libfreehand/patches/patch-src_lib_libfreehand__utils.cpp
@@ -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);