aboutsummaryrefslogtreecommitdiff
path: root/graphics/libcdr01
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-11-03 00:56:26 +0000
commit6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9 (patch)
treedb7a5d68a7b148f62f63c9562391af1272e3f376 /graphics/libcdr01
parent91d87ad6cea9c90bdf179910d1ab72b833a67768 (diff)
downloadports-6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9.tar.gz
ports-6d5d6429d5880f9fdf4b4b54c0fb53e44b3927f9.zip
devel/icu: update to 68.1
Notes
Notes: svn path=/head/; revision=553940
Diffstat (limited to 'graphics/libcdr01')
-rw-r--r--graphics/libcdr01/Makefile1
-rw-r--r--graphics/libcdr01/files/patch-icu6817
2 files changed, 18 insertions, 0 deletions
diff --git a/graphics/libcdr01/Makefile b/graphics/libcdr01/Makefile
index 495b2b5aa733..eaae006a4104 100644
--- a/graphics/libcdr01/Makefile
+++ b/graphics/libcdr01/Makefile
@@ -2,6 +2,7 @@
PORTNAME= libcdr
PORTVERSION= 0.1.6
+PORTREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= LODEV
PKGNAMESUFFIX= 01
diff --git a/graphics/libcdr01/files/patch-icu68 b/graphics/libcdr01/files/patch-icu68
new file mode 100644
index 000000000000..466cfea4bae4
--- /dev/null
+++ b/graphics/libcdr01/files/patch-icu68
@@ -0,0 +1,17 @@
+Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844
+
+libcdr_utils.cpp:111:35: error: use of undeclared identifier 'TRUE'
+ ucsdet_enableInputFilter(csd, TRUE);
+ ^
+
+--- src/lib/libcdr_utils.cpp.orig 2020-02-02 15:30:44 UTC
++++ src/lib/libcdr_utils.cpp
+@@ -108,7 +108,7 @@ static unsigned short getEncoding(const unsigned char
+ csd = ucsdet_open(&status);
+ if (U_FAILURE(status) || !csd)
+ return 0;
+- ucsdet_enableInputFilter(csd, TRUE);
++ ucsdet_enableInputFilter(csd, true);
+ ucsdet_setText(csd, (const char *)buffer, bufferLength, &status);
+ if (U_FAILURE(status))
+ throw libcdr::EncodingException();