From 53102dfd14d8defbb72f8ef8af9dfc0f76541b06 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Tue, 10 Aug 2021 14:12:27 +0200 Subject: [PATCH] libxml2: rebuild for icu-69.1 --- srcpkgs/libxml2/patches/icu-68.patch | 25 +++++++++++++++++++++++++ srcpkgs/libxml2/template | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libxml2/patches/icu-68.patch diff --git a/srcpkgs/libxml2/patches/icu-68.patch b/srcpkgs/libxml2/patches/icu-68.patch new file mode 100644 index 00000000000..b11c57daf9e --- /dev/null +++ b/srcpkgs/libxml2/patches/icu-68.patch @@ -0,0 +1,25 @@ +From b516ed189eb440e909f36baca1557b98e4d9ffd7 Mon Sep 17 00:00:00 2001 +From: Frederik Seiffert +Date: Thu, 12 Nov 2020 12:53:43 +0100 +Subject: [PATCH] Fix building with ICU 68. + +ICU 68 no longer defines the TRUE macro. + +Closes #204. +--- + encoding.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/encoding.c b/encoding.c +index c34aca446..264f60bb4 100644 +--- a/encoding.c ++++ b/encoding.c +@@ -2004,7 +2004,7 @@ xmlEncOutputChunk(xmlCharEncodingHandler *handler, unsigned char *out, + #ifdef LIBXML_ICU_ENABLED + else if (handler->uconv_out != NULL) { + ret = xmlUconvWrapper(handler->uconv_out, 0, out, outlen, in, inlen, +- TRUE); ++ 1); + } + #endif /* LIBXML_ICU_ENABLED */ + else { diff --git a/srcpkgs/libxml2/template b/srcpkgs/libxml2/template index c334f505ed0..6a68fb6691c 100644 --- a/srcpkgs/libxml2/template +++ b/srcpkgs/libxml2/template @@ -4,7 +4,7 @@ # pkgname=libxml2 version=2.9.10 -revision=4 +revision=5 build_style=gnu-configure configure_args="--with-threads --with-history --with-icu --without-python" hostmakedepends="automake libtool gettext-devel pkg-config"