Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openttd for openSUSE:Factory checked in at 2024-11-26 20:55:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openttd (Old) and /work/SRC/openSUSE:Factory/.openttd.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openttd" Tue Nov 26 20:55:38 2024 rev:58 rq:1226325 version:14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/openttd/openttd.changes 2024-05-05 12:11:19.069032313 +0200 +++ /work/SRC/openSUSE:Factory/.openttd.new.28523/openttd.changes 2024-11-26 20:55:49.730259159 +0100 @@ -1,0 +2,6 @@ +Mon Nov 25 15:40:43 UTC 2024 - Jan Baier <[email protected]> + +- Add upstreamed but unreleased patch 0001-icu-build-fix.patch to fix builds + with ICU >= 76 + +------------------------------------------------------------------- New: ---- 0001-icu-build-fix.patch BETA DEBUG BEGIN: New: - Add upstreamed but unreleased patch 0001-icu-build-fix.patch to fix builds with ICU >= 76 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openttd.spec ++++++ --- /var/tmp/diff_new_pack.BrDMnC/_old 2024-11-26 20:55:50.974310838 +0100 +++ /var/tmp/diff_new_pack.BrDMnC/_new 2024-11-26 20:55:50.974310838 +0100 @@ -27,6 +27,7 @@ URL: https://openttd.org/ Source: https://cdn.openttd.org/openttd-releases/%{version}/%{name}-%{version}-source.tar.xz # PATCH-FEATURE-UPSTREAM https://bugs.openttd.org/task/6490 +Patch1: 0001-icu-build-fix.patch Source2: openttd.appdata.xml BuildRequires: SDL2-devel BuildRequires: cmake @@ -107,7 +108,7 @@ This package provides the data files needed by %{name} or %{name}-dedicated. %prep -%setup -q +%autosetup # Remove build time references so build-compare can do its work sed -i "s/__DATE__.*__TIME__/\"${SOURCE_DATE_EPOCH}\"/" src/rev.cpp.in ++++++ 0001-icu-build-fix.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index 137eb7d0f8ce9..2f0248047506a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ if(NOT OPTION_DEDICATED) find_package(Fontconfig) endif() find_package(Harfbuzz) - find_package(ICU OPTIONAL_COMPONENTS i18n) + find_package(ICU OPTIONAL_COMPONENTS i18n uc) endif() endif() endif() @@ -331,6 +331,7 @@ if(NOT OPTION_DEDICATED) link_package(Fontconfig TARGET Fontconfig::Fontconfig) link_package(Harfbuzz TARGET harfbuzz::harfbuzz) link_package(ICU_i18n) + link_package(ICU_uc) if(SDL2_FOUND AND OPENGL_FOUND AND UNIX) # SDL2 dynamically loads OpenGL if needed, so do not link to OpenGL when
