Accepting request 881513 from LibreOffice:Factory
0.1.7 (Hackweek release) OBS-URL: https://build.opensuse.org/request/show/881513 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcdr?expand=0&rev=26factory
commit
d58dc94ab8
@ -1,27 +0,0 @@
|
||||
From 0dc41f8f6bd099813acb3972f75e4bbb2a5cdb2d Mon Sep 17 00:00:00 2001
|
||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
||||
Date: Fri, 30 Oct 2020 14:28:08 +0100
|
||||
Subject: [PATCH] Fix build with icu-68.1
|
||||
|
||||
icu-68.1 removed public macro definitions for TRUE and FALSE
|
||||
|
||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||
---
|
||||
src/lib/libcdr_utils.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/lib/libcdr_utils.cpp b/src/lib/libcdr_utils.cpp
|
||||
index 09ab42e..250f0a0 100644
|
||||
--- a/src/lib/libcdr_utils.cpp
|
||||
+++ b/src/lib/libcdr_utils.cpp
|
||||
@@ -108,7 +108,7 @@ static unsigned short getEncoding(const unsigned char *buffer, unsigned bufferLe
|
||||
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();
|
||||
--
|
||||
2.29.2
|
@ -1,8 +0,0 @@
|
||||
--- libcdr-0.1.1/libcdr.pc.in 2014-04-16 19:06:20.000000000 +0200
|
||||
+++ libcdr-0.1.1/libcdr.pc.in 2014-07-25 09:14:23.096910474 +0200
|
||||
@@ -9,5 +9,3 @@
|
||||
Requires: librevenge-0.0
|
||||
Libs: -L${libdir} -lcdr-@CDR_MAJOR_VERSION@.@CDR_MINOR_VERSION@
|
||||
Cflags: -I${includedir}/libcdr-@CDR_MAJOR_VERSION@.@CDR_MINOR_VERSION@
|
||||
-
|
||||
-Requires.private: icu-i18n lcms2 zlib
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:01cd00b04a030977e544433c2d127c997205332cd9b8e35ec0ee17110da7f861
|
||||
size 612068
|
Binary file not shown.
Loading…
Reference in New Issue