mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
net-libs/libomemo-c: Fix build w/ >=cmake-4
Closes: https://bugs.gentoo.org/953548 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
8
net-libs/libomemo-c/files/libomemo-c-0.5.1-cmake4.patch
Normal file
8
net-libs/libomemo-c/files/libomemo-c-0.5.1-cmake4.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- a/CMakeLists.txt 2025-02-28 16:30:57.000000000 +0100
|
||||
+++ b/CMakeLists.txt 2025-04-12 16:56:54.729179310 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8.4)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/")
|
||||
project(omemo-c)
|
||||
|
||||
@@ -10,8 +10,8 @@ HOMEPAGE="https://github.com/dino/libomemo-c/"
|
||||
SRC_URI="https://github.com/dino/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD BSD-1 GPL-3 ISC"
|
||||
KEYWORDS="amd64"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -23,6 +23,9 @@ DEPEND="${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
# upstream are switching to meson, so no need to try send this upstream
|
||||
PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 953548
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
|
||||
Reference in New Issue
Block a user