pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/libcdr libcdr: Fix build with textproc/icu-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf7b724bd652
branches:  trunk
changeset: 441519:bf7b724bd652
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Nov 05 09:17:53 2020 +0000

description:
libcdr: Fix build with textproc/icu-68.1

diffstat:

 converters/libcdr/distinfo                                |   3 ++-
 converters/libcdr/patches/patch-src_lib_libcdr__utils.cpp |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 044dc480317a -r bf7b724bd652 converters/libcdr/distinfo
--- a/converters/libcdr/distinfo        Thu Nov 05 09:17:16 2020 +0000
+++ b/converters/libcdr/distinfo        Thu Nov 05 09:17:53 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2020/02/09 14:03:38 wiz Exp $
+$NetBSD: distinfo,v 1.12 2020/11/05 09:17:53 ryoon Exp $
 
 SHA1 (libcdr-0.1.6.tar.xz) = 8850232e2a8415910188d287c68cd3322a9dcbe9
 RMD160 (libcdr-0.1.6.tar.xz) = f16f1f1b6857b4da1110e3ac681dc9fca11a7864
 SHA512 (libcdr-0.1.6.tar.xz) = 629d55da71c7333f41f60a32e2880deffcf80088096af1bbc8c572b80ef21d851102fdebce56f77245ed60822ca98e02c0867b192abef496a2313fde54a97bb6
 Size (libcdr-0.1.6.tar.xz) = 612068 bytes
+SHA1 (patch-src_lib_libcdr__utils.cpp) = 2b3f190289bc6b2278c4a6c0ca5bd75effc8684c
diff -r 044dc480317a -r bf7b724bd652 converters/libcdr/patches/patch-src_lib_libcdr__utils.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/libcdr/patches/patch-src_lib_libcdr__utils.cpp Thu Nov 05 09:17:53 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_lib_libcdr__utils.cpp,v 1.1 2020/11/05 09:17:53 ryoon Exp $
+
+* Fix build with textproc/icu-68.1.
+
+--- src/lib/libcdr_utils.cpp.orig      2020-02-02 15:30:44.000000000 +0000
++++ src/lib/libcdr_utils.cpp
+@@ -108,7 +108,7 @@ static unsigned short getEncoding(const 
+     csd = ucsdet_open(&status);
+     if (U_FAILURE(status) || !csd)
+       return 0;
+-    ucsdet_enableInputFilter(csd, TRUE);
++    ucsdet_enableInputFilter(csd, true);
+     ucsdet_setText(csd, (const char *)buffer, bufferLength, &status);
+     if (U_FAILURE(status))
+       throw libcdr::EncodingException();



Home | Main Index | Thread Index | Old Index