mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
media-libs/freeglut: Add patch to fix build with cmake-4
Closes: https://bugs.gentoo.org/951617 Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
24
media-libs/freeglut/files/freeglut-3.6.0-cmake4.patch
Normal file
24
media-libs/freeglut/files/freeglut-3.6.0-cmake4.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From 2294389397912c9a6505a88221abb7dca0a4fb79 Mon Sep 17 00:00:00 2001
|
||||
From: John Tsiombikas <nuclear@member.fsf.org>
|
||||
Date: Thu, 20 Mar 2025 09:28:29 +0200
|
||||
Subject: [PATCH] Let cmake know we are aware there are newer versions and we
|
||||
don't care
|
||||
|
||||
Closes issue #207
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git ./CMakeLists.txt ./CMakeLists.txt
|
||||
index 791771e7..e5903ef4 100644
|
||||
--- ./CMakeLists.txt
|
||||
+++ ./CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1 FATAL_ERROR)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1...3.5 FATAL_ERROR)
|
||||
PROJECT(freeglut LANGUAGES C)
|
||||
|
||||
#######################
|
||||
--
|
||||
2.49.0
|
||||
|
||||
@@ -27,6 +27,7 @@ BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.6.0-c23.patch
|
||||
"${FILESDIR}"/${PN}-3.6.0-cmake4.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user