From a7eccdebaf2e1ef2ff6ff708c70c7ee65ca3fdcf Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 27 Feb 2021 00:54:11 +0100 Subject: [PATCH] games-arcade/tuxanci: Fix cmake to search for glu instead of gl Closes: https://bugs.gentoo.org/715132 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner --- games-arcade/tuxanci/files/tuxanci-20110429-glu.patch | 11 +++++++++++ games-arcade/tuxanci/tuxanci-20110429-r1.ebuild | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 games-arcade/tuxanci/files/tuxanci-20110429-glu.patch diff --git a/games-arcade/tuxanci/files/tuxanci-20110429-glu.patch b/games-arcade/tuxanci/files/tuxanci-20110429-glu.patch new file mode 100644 index 0000000000000..4273114e41cc7 --- /dev/null +++ b/games-arcade/tuxanci/files/tuxanci-20110429-glu.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2011-04-29 00:29:40.000000000 +0200 ++++ b/CMakeLists.txt 2021-02-27 00:48:05.172582259 +0100 +@@ -187,7 +187,7 @@ + pkg_check_modules(FONTCONFIG REQUIRED fontconfig) + INCLUDE_DIRECTORIES ( ${FONTCONFIG_INCLUDE_DIRS} ) + IF ( WITH_OPENGL ) +- pkg_check_modules(OPENGL REQUIRED gl>=7.5) ++ pkg_check_modules(OPENGL REQUIRED glu>=7.5) + INCLUDE_DIRECTORIES ( ${OPENGL_INCLUDE_DIRS} ) + ENDIF ( WITH_OPENGL ) + pkg_check_modules(SDL REQUIRED sdl) diff --git a/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild index 96497f83db3ff..583e5c193a074 100644 --- a/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild +++ b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild @@ -38,6 +38,8 @@ BDEPEND=" nls? ( sys-devel/gettext ) " +PATCHES=( "${FILESDIR}/${P}-glu.patch" ) # bug 715132 + src_configure() { local mycmakeargs=( -DWITH_AUDIO=$(usex sound)