pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/libe-book libe-book: Fix build with textpro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41fc87ba5416
branches:  trunk
changeset: 441520:41fc87ba5416
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Nov 05 09:19:22 2020 +0000

description:
libe-book: Fix build with textproc/icu-68.1

diffstat:

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

diffs (31 lines):

diff -r bf7b724bd652 -r 41fc87ba5416 converters/libe-book/distinfo
--- a/converters/libe-book/distinfo     Thu Nov 05 09:17:53 2020 +0000
+++ b/converters/libe-book/distinfo     Thu Nov 05 09:19:22 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2018/02/02 23:57:50 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2020/11/05 09:19:22 ryoon Exp $
 
 SHA1 (libe-book-0.1.3.tar.bz2) = dcd5ba54d86fdb836e2085b75860d5e09b24e936
 RMD160 (libe-book-0.1.3.tar.bz2) = 36d0627d1f2efc5b2fdce9c8f9f701b02ce71aa2
 SHA512 (libe-book-0.1.3.tar.bz2) = 9afa2949f702a34fd6278145ce8d18d504326ed5a103bbc872d0493fcf3e2166d41d094bb0d74b80aa913ca6d082f5bd3259799a4a3c7359331ccdfa1e029a21
 Size (libe-book-0.1.3.tar.bz2) = 510498 bytes
+SHA1 (patch-src_lib_EBOOKCharsetConverter.cpp) = bb7e3fa0325178c0decd129cda05872e7ac728b4
diff -r bf7b724bd652 -r 41fc87ba5416 converters/libe-book/patches/patch-src_lib_EBOOKCharsetConverter.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/libe-book/patches/patch-src_lib_EBOOKCharsetConverter.cpp      Thu Nov 05 09:19:22 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_lib_EBOOKCharsetConverter.cpp,v 1.1 2020/11/05 09:19:22 ryoon Exp $
+
+* Fix build with textproc/icu-68.1.
+
+--- src/lib/EBOOKCharsetConverter.cpp.orig     2018-01-01 11:16:28.000000000 +0000
++++ src/lib/EBOOKCharsetConverter.cpp
+@@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes
+       m_converterToUTF8.get(), m_converterToUnicode.get(),
+       &outText, outText + out.size(), &inText, inText + length,
+       nullptr, nullptr, nullptr, nullptr,
+-      TRUE, TRUE, &status)
++      true, true, &status)
+     ;
+     if (status==U_BUFFER_OVERFLOW_ERROR)
+     {



Home | Main Index | Thread Index | Old Index