public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libldac/files/, media-libs/libldac/
@ 2025-05-01 19:34 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2025-05-01 19:34 UTC (permalink / raw
  To: gentoo-commits

commit:     0d676e39e64941aaf52ccf019febf246b4ae4c9a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May  1 19:21:43 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May  1 19:34:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d676e39

media-libs/libldac: Fix build w/ cmake-4

Closes: https://bugs.gentoo.org/951991
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/libldac/files/libldac-2.0.2.3-cmake4.patch | 8 ++++++++
 media-libs/libldac/libldac-2.0.2.3-r2.ebuild          | 4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/media-libs/libldac/files/libldac-2.0.2.3-cmake4.patch b/media-libs/libldac/files/libldac-2.0.2.3-cmake4.patch
new file mode 100644
index 000000000000..3d5308433732
--- /dev/null
+++ b/media-libs/libldac/files/libldac-2.0.2.3-cmake4.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ project(libldac C)
+ 
+ set(CMAKE_C_STANDARD 99)

diff --git a/media-libs/libldac/libldac-2.0.2.3-r2.ebuild b/media-libs/libldac/libldac-2.0.2.3-r2.ebuild
index 9354fb95f51f..e2f790d951f4 100644
--- a/media-libs/libldac/libldac-2.0.2.3-r2.ebuild
+++ b/media-libs/libldac/libldac-2.0.2.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2024 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,6 +14,8 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
 
+PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) # bug 951991
+
 multilib_src_configure() {
 	local mycmakeargs=(
 		-DLDAC_SOFT_FLOAT=OFF


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-01 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-01 19:34 [gentoo-commits] repo/gentoo:master commit in: media-libs/libldac/files/, media-libs/libldac/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox