git: 8749101ab6b0 - main - textproc/libe-book: update to 0.1.4 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 31 Jul 2026 12:11:43 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8749101ab6b0c78ab5795115cc5312f2f293a89c

commit 8749101ab6b0c78ab5795115cc5312f2f293a89c
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-07-31 12:10:48 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-07-31 12:10:48 +0000

    textproc/libe-book: update to 0.1.4 release (+)
    
    libe-book 0.1.4:
    
    * Fix various problems when reading broken files, found with the help of
      american-fuzzy-lop and oss-fuzz.
    * Do not access the network when parsing XML.
    * Add a fuzzer for FictionBook v.2.
    * Fix build with ICU 68.
    * Fix build with recent MSVC.
---
 textproc/libe-book/Makefile          |  3 +--
 textproc/libe-book/distinfo          |  6 +++---
 textproc/libe-book/files/patch-icu68 | 20 --------------------
 textproc/libe-book/pkg-plist         |  2 +-
 4 files changed, 5 insertions(+), 26 deletions(-)

diff --git a/textproc/libe-book/Makefile b/textproc/libe-book/Makefile
index 0c944eae8823..154546c73069 100644
--- a/textproc/libe-book/Makefile
+++ b/textproc/libe-book/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libe-book
-DISTVERSION=	0.1.3
-PORTREVISION=	30
+DISTVERSION=	0.1.4
 CATEGORIES=	textproc
 MASTER_SITES=	SF/libebook/${PORTNAME}-${DISTVERSION}/
 
diff --git a/textproc/libe-book/distinfo b/textproc/libe-book/distinfo
index 33d0d9b46ea9..a7a72041eaad 100644
--- a/textproc/libe-book/distinfo
+++ b/textproc/libe-book/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1515541634
-SHA256 (libe-book-0.1.3.tar.xz) = 7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9
-SIZE (libe-book-0.1.3.tar.xz) = 416268
+TIMESTAMP = 1785499531
+SHA256 (libe-book-0.1.4.tar.xz) = 104b7e791b6632745898e9b6a0037b7540235771a4d8c3bde2c764466ad912f1
+SIZE (libe-book-0.1.4.tar.xz) = 430872
diff --git a/textproc/libe-book/files/patch-icu68 b/textproc/libe-book/files/patch-icu68
deleted file mode 100644
index 17f6d8e84cd1..000000000000
--- a/textproc/libe-book/files/patch-icu68
+++ /dev/null
@@ -1,20 +0,0 @@
-Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
-
-EBOOKCharsetConverter.cpp:127:7: error: use of undeclared identifier 'TRUE'
-      TRUE, TRUE, &status)
-      ^
-EBOOKCharsetConverter.cpp:127:13: error: use of undeclared identifier 'TRUE'
-      TRUE, TRUE, &status)
-            ^
-
---- src/lib/EBOOKCharsetConverter.cpp.orig	2018-01-01 11:16:28 UTC
-+++ src/lib/EBOOKCharsetConverter.cpp
-@@ -124,7 +124,7 @@ bool EBOOKCharsetConverter::convertBytes(const char *c
-       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)
-     {
diff --git a/textproc/libe-book/pkg-plist b/textproc/libe-book/pkg-plist
index 6d068131344a..6cf78c82df89 100644
--- a/textproc/libe-book/pkg-plist
+++ b/textproc/libe-book/pkg-plist
@@ -5,5 +5,5 @@ include/libe-book-0.1/libe-book/EBOOKDocument.h
 include/libe-book-0.1/libe-book/libe-book.h
 lib/libe-book-0.1.so
 lib/libe-book-0.1.so.1
-lib/libe-book-0.1.so.1.0.3
+lib/libe-book-0.1.so.1.0.4
 libdata/pkgconfig/libe-book-0.1.pc