summarylogtreecommitdiffstats
path: root/libxml2-2.9.10-icu68.patch
blob: fc11cceba8ee7ab05c162770af5eaa93e1f52cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From b516ed189eb440e909f36baca1557b98e4d9ffd7 Mon Sep 17 00:00:00 2001
From: Frederik Seiffert <frederik@algoriddim.com>
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 c34aca44..264f60bb 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 {
-- 
GitLab