Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751949 - games-simulation/openttd fails to build with =dev-libs/icu-68.1
Summary: games-simulation/openttd 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 Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: icu-68.1
  Show dependency tree
 
Reported: 2020-10-30 17:53 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2020-11-11 11:22 UTC (History)
0 users

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


Attachments
openttd-1.10.3-icu68.patch (openttd-1.10.3-icu68.patch,765 bytes, patch)
2020-10-30 17:53 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 17:53:22 UTC
Created attachment 669341 [details, diff]
openttd-1.10.3-icu68.patch

x86_64-pc-linux-gnu-g++ -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -D_FORTIFY_SOURCE=2 -DWITH_SSE -DWITH_SDL2 -I/usr/include/SDL2 -D_REENTRANT  -DWITH_ZLIB   -DWITH_LIBLZMA   -D_SQ64 -I/var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/include/libpng16   -DWITH_FONTCONFIG -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid   -DWITH_FREETYPE -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DWITH_ICU_LX -I/usr/include/icu-le-hb -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DWITH_ICU_I18N   -DWITH_ICONV -DHAVE_NON_CONST_ICONV -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\".openttd\" -DGLOBAL_DATA_DIR=\"/usr/share/games/openttd\"  -I /var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/objs/release -I /var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/objs/lang -I /var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/objs/setting -flifetime-dse=1 -std=c++11 -march=native -mtune=native -O2 -pipe -c -o gfx_layout.o /var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/src/gfx_layout.cpp
/var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/src/gfx_layout.cpp: In member function ‘virtual le_bool Font::getGlyphPoint(LEGlyphID, le_int32, LEPoint&) const’:
/var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/src/gfx_layout.cpp:119:9: error: ‘FALSE’ was not declared in this scope
  119 |  return FALSE;
      |         ^~~~~
make[1]: *** [Makefile:236: gfx_layout.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-simulation/openttd-1.10.3/work/openttd-1.10.3/objs/release'
make: *** [Makefile:54: all] Error 1
Comment 1 Larry the Git Cow gentoo-dev 2020-11-11 11:22:20 UTC
The bug has been closed via the following commit(s):

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

commit d44391b8ac3c5cf88c2b3b20b0a580e9ebbd3ae1
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-11-11 09:19:21 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-11-11 11:22:14 +0000

    games-simulation/openttd: Fixed build with >=dev-libs/icu-68.1
    
    Closes: https://bugs.gentoo.org/751949
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../openttd/files/openttd-1.10.3-icu68.patch       | 28 ++++++++++++++++++++++
 games-simulation/openttd/openttd-1.10.3.ebuild     |  1 +
 2 files changed, 29 insertions(+)