mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
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:
7
app-i18n/uchardet/files/uchardet-0.0.8-cmake4.patch
Normal file
7
app-i18n/uchardet/files/uchardet-0.0.8-cmake4.patch
Normal 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)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user