Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751934 - media-libs/libcdr fails to build with =dev-libs/icu-68.1
Summary: media-libs/libcdr fails to build with =dev-libs/icu-68.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: icu-68.1
  Show dependency tree
 
Reported: 2020-10-30 16:30 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2020-10-31 09:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libcdr-0.1.6-icu68.patch (libcdr-0.1.6-icu68.patch,978 bytes, patch)
2020-10-30 16:30 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)