[packages/libe-book] fix linking with icu 76
atler
atler at pld-linux.org
Sat Jan 18 19:47:53 CET 2025
commit d656ffc16a220eeea37437292842caf27aacc311
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jan 18 19:28:14 2025 +0100
fix linking with icu 76
icu76.patch | 11 +++++++++++
libe-book.spec | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/libe-book.spec b/libe-book.spec
index 2011dad..b16030a 100644
--- a/libe-book.spec
+++ b/libe-book.spec
@@ -14,6 +14,7 @@ Source0: http://downloads.sourceforge.net/libebook/%{name}-%{version}.tar.xz
# Source0-md5: 2956f1c5e7950b0018979a132165da8b
Patch0: %{name}-missing.patch
Patch1: icu68.patch
+Patch2: icu76.patch
URL: http://libebook.sourceforge.net/
BuildRequires: boost-devel
BuildRequires: cppunit-devel
@@ -130,8 +131,9 @@ obsługiwane są HTML, tekst i format surowy.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
%build
export CXXFLAGS="%{rpmcxxflags} -Wno-unused-function"
diff --git a/icu76.patch b/icu76.patch
new file mode 100644
index 0000000..fad803a
--- /dev/null
+++ b/icu76.patch
@@ -0,0 +1,11 @@
+--- libe-book-0.1.3/configure.ac.orig 2018-01-01 12:17:55.000000000 +0100
++++ libe-book-0.1.3/configure.ac 2025-01-14 19:44:25.373374778 +0100
+@@ -127,7 +127,7 @@
+ # ========
+ # Find icu
+ # ========
+-PKG_CHECK_MODULES([ICU], [icu-i18n])
++PKG_CHECK_MODULES([ICU], [icu-i18n icu-uc])
+ AC_SUBST(ICU_CFLAGS)
+ AC_SUBST(ICU_LIBS)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libe-book.git/commitdiff/d656ffc16a220eeea37437292842caf27aacc311
More information about the pld-cvs-commit
mailing list