Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 751934

Summary: media-libs/libcdr fails to build with =dev-libs/icu-68.1
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 751919    
Attachments: libcdr-0.1.6-icu68.patch

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-10-30 16:30:56 UTC
Created attachment 669329 [details, diff]
libcdr-0.1.6-icu68.patch

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBCDR_BUILD=1 -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -fvisibility=hidden -DLIBCDR_VISIBILITY -march=native -mtune=native -O2 -pipe -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c libcdr_utils.cpp  -fPIC -DPIC -o .libs/libcdr_utils.o
libcdr_utils.cpp: In function ‘short unsigned int {anonymous}::getEncoding(const unsigned char*, unsigned int)’:
libcdr_utils.cpp:111:35: error: ‘TRUE’ was not declared in this scope
  111 |     ucsdet_enableInputFilter(csd, TRUE);
      |                                   ^~~~
make[3]: *** [Makefile:593: libcdr_utils.lo] Error 1
Comment 1 Larry the Git Cow gentoo-dev 2020-10-31 09:23:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ffd5f887e627b27dad0536861f9229c74aef37

commit 66ffd5f887e627b27dad0536861f9229c74aef37
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-10-30 16:36:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-10-31 09:20:32 +0000

    media-libs/libcdr: Fix build with ICU-68
    
    Thanks-to: Lars Wendler <polynomial-c@gentoo.org>
    Closes: https://bugs.gentoo.org/751934
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/libcdr/files/libcdr-0.1.6-icu-68.patch | 27 +++++++++++++++++++++++
 media-libs/libcdr/libcdr-0.1.6.ebuild             |  2 ++
 2 files changed, 29 insertions(+)