mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
games-emulation/melonds: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
parent
42c39dc534
commit
fff01052b5
@ -1,24 +0,0 @@
|
||||
From e63e29ca91ba5fc1630634fbb9f064b9cce6cc1f Mon Sep 17 00:00:00 2001
|
||||
From: orbea <orbea@riseup.net>
|
||||
Date: Sat, 11 Nov 2023 10:31:10 -0800
|
||||
Subject: [PATCH] DSi_Camera: fix gcc-14 build issue
|
||||
|
||||
melonDS/src/DSi_Camera.cpp:190:23: error: 'clamp' is not a member of 'std'
|
||||
190 | r1 = std::clamp(r1, 0, 255); g1 = std::clamp(g1, 0, 255); b1 = std::clamp(b1, 0, 255);
|
||||
| ^~~~~
|
||||
---
|
||||
src/DSi_Camera.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/DSi_Camera.cpp b/src/DSi_Camera.cpp
|
||||
index 749162932..2b259c590 100644
|
||||
--- a/src/DSi_Camera.cpp
|
||||
+++ b/src/DSi_Camera.cpp
|
||||
@@ -16,6 +16,7 @@
|
||||
with melonDS. If not, see http://www.gnu.org/licenses/.
|
||||
*/
|
||||
|
||||
+#include <algorithm>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "DSi.h"
|
||||
@ -1,16 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -92,13 +92,6 @@ endif()
|
||||
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
-find_program(CCACHE "ccache")
|
||||
-if (CCACHE)
|
||||
- message(STATUS "Using CCache to speed up compilation")
|
||||
- set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
|
||||
- set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
|
||||
-endif()
|
||||
-
|
||||
option(BUILD_QT_SDL "Build Qt/SDL frontend" ON)
|
||||
|
||||
add_subdirectory(src)
|
||||
Loading…
x
Reference in New Issue
Block a user