app-i18n/uchardet: fix build with cmake4

Closes: https://bugs.gentoo.org/951619
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-03-20 03:21:39 -04:00
parent 352e564b14
commit bd9abcbc48
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
https://bugs.gentoo.org/951619
https://gitlab.freedesktop.org/uchardet/uchardet/-/merge_requests/18
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2 +2 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)

View File

@@ -14,6 +14,10 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="cpu_flags_x86_sse2"
PATCHES=(
"${FILESDIR}"/${P}-cmake4.patch
)
src_configure() {
local mycmakeargs=(
-DBUILD_STATIC=no