summaryrefslogtreecommitdiff
path: root/games-emulation/fceux/files/fceux-2.6.6-no-glx.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-24 23:23:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-24 23:23:49 +0100
commitb914cf9afa036a8ab23e8cb4cf7df1acd4a1bd44 (patch)
treea85a260f723a492575b1676e3f6cf0e031edba7e /games-emulation/fceux/files/fceux-2.6.6-no-glx.patch
parent6ec91ab7ea6f7b0b84e3006f7136ad8d67bd6ef0 (diff)
gentoo auto-resync : 24:09:2023 - 23:23:49
Diffstat (limited to 'games-emulation/fceux/files/fceux-2.6.6-no-glx.patch')
-rw-r--r--games-emulation/fceux/files/fceux-2.6.6-no-glx.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/games-emulation/fceux/files/fceux-2.6.6-no-glx.patch b/games-emulation/fceux/files/fceux-2.6.6-no-glx.patch
new file mode 100644
index 000000000000..6f2ae359c80c
--- /dev/null
+++ b/games-emulation/fceux/files/fceux-2.6.6-no-glx.patch
@@ -0,0 +1,9 @@
+Allow linking on a GLX-less system.
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -87 +87 @@
+- find_package(OpenGL REQUIRED)
++ find_package(OpenGL REQUIRED COMPONENTS OpenGL )
+@@ -195 +195 @@
+- set( OPENGL_LDFLAGS ${OPENGL_LIBRARIES} )
++ set( OPENGL_LDFLAGS OpenGL::OpenGL )