git: d02aa5e9ce6b - main - emulators/yuzu: unbreak after 85a65c9557ca
Jan Beich
jbeich at FreeBSD.org
Sat Apr 24 20:57:29 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d02aa5e9ce6b357bdb5b8cd494d0f6a4a1249d7e
commit d02aa5e9ce6b357bdb5b8cd494d0f6a4a1249d7e
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-04-24 20:39:24 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-04-24 20:56:36 +0000
emulators/yuzu: unbreak after 85a65c9557ca
-- SDL2 2.0.14 or newer not found, falling back to externals.
CMake Error at externals/CMakeLists.txt:54 (add_subdirectory):
The source directory
/wrkdirs/usr/ports/emulators/yuzu/work/yuzu-2e268abe4/externals/SDL
does not contain a CMakeLists.txt file.
Reported by: pkg-fallout
---
emulators/yuzu-qt5/Makefile | 2 +-
emulators/yuzu/files/patch-sdl2 | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/emulators/yuzu-qt5/Makefile b/emulators/yuzu-qt5/Makefile
index 30c667b9c82a..e8c5a305c736 100644
--- a/emulators/yuzu-qt5/Makefile
+++ b/emulators/yuzu-qt5/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION= 0
+PORTREVISION= 1
PKGNAMESUFFIX= -qt5
MASTERDIR= ${.CURDIR}/../yuzu
diff --git a/emulators/yuzu/files/patch-sdl2 b/emulators/yuzu/files/patch-sdl2
new file mode 100644
index 000000000000..2ece8df5c8d4
--- /dev/null
+++ b/emulators/yuzu/files/patch-sdl2
@@ -0,0 +1,22 @@
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252371
+
+-- SDL2 2.0.14 or newer not found, falling back to externals.
+
+CMake Error at externals/CMakeLists.txt:54 (add_subdirectory):
+ The source directory
+
+ externals/SDL
+
+ does not contain a CMakeLists.txt file.
+
+--- CMakeLists.txt.orig 2021-04-23 22:48:47.000000000 +0000
++++ CMakeLists.txt
+@@ -293,7 +293,7 @@ if (ENABLE_SDL2)
+ endif()
+
+ if (NOT YUZU_USE_BUNDLED_SDL2)
+- find_package(SDL2 2.0.14 QUIET)
++ find_package(SDL2 2.0.12 QUIET)
+
+ if (TRUE)
+ if (SDL2_FOUND)
More information about the dev-commits-ports-all
mailing list