pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators/mgba
Module Name: pkgsrc
Committed By: nia
Date: Tue May 4 14:19:17 UTC 2021
Modified Files:
pkgsrc/emulators/mgba: distinfo
Added Files:
pkgsrc/emulators/mgba/patches:
patch-src_platform_qt_InputController.cpp
Log Message:
mgba: add missing patch
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/emulators/mgba/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/emulators/mgba/patches/patch-src_platform_qt_InputController.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/mgba/distinfo
diff -u pkgsrc/emulators/mgba/distinfo:1.11 pkgsrc/emulators/mgba/distinfo:1.12
--- pkgsrc/emulators/mgba/distinfo:1.11 Sun May 2 08:39:59 2021
+++ pkgsrc/emulators/mgba/distinfo Tue May 4 14:19:17 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2021/05/02 08:39:59 nia Exp $
+$NetBSD: distinfo,v 1.12 2021/05/04 14:19:17 nia Exp $
SHA1 (mgba-0.9.1.tar.gz) = 78c13b21dfef0d7954a8d2ee7a4725a84fd6b0bf
RMD160 (mgba-0.9.1.tar.gz) = 218379534fd8562eb7a97cc48b3c20429f6557df
@@ -7,3 +7,4 @@ Size (mgba-0.9.1.tar.gz) = 12795893 byte
SHA1 (patch-CMakeLists.txt) = e4bb18352c0d5602084c0674c1b5d6c3cd84b9bc
SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
SHA1 (patch-include_mgba-util_platform_posix_threading.h) = deabb02eda72a4682ad84f263982eb6f8db4699b
+SHA1 (patch-src_platform_qt_InputController.cpp) = 9297dbd0f8ef92f66d89caa77fe6dc03bb60e1cb
Added files:
Index: pkgsrc/emulators/mgba/patches/patch-src_platform_qt_InputController.cpp
diff -u /dev/null pkgsrc/emulators/mgba/patches/patch-src_platform_qt_InputController.cpp:1.1
--- /dev/null Tue May 4 14:19:17 2021
+++ pkgsrc/emulators/mgba/patches/patch-src_platform_qt_InputController.cpp Tue May 4 14:19:17 2021
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_platform_qt_InputController.cpp,v 1.1 2021/05/04 14:19:17 nia Exp $
+
+Fix building without Qt5Multimedia.
+
+--- src/platform/qt/InputController.cpp.orig 2021-04-19 04:47:22.000000000 +0000
++++ src/platform/qt/InputController.cpp
+@@ -94,7 +94,6 @@ InputController::InputController(int pla
+ InputControllerImage* image = static_cast<InputControllerImage*>(context);
+ image->w = w;
+ image->h = h;
+- image->p->m_cameraActive = true;
+ if (image->image.isNull()) {
+ image->image.load(":/res/no-cam.png");
+ }
+@@ -103,6 +102,7 @@ InputController::InputController(int pla
+ if (!camera.isNull()) {
+ image->p->m_cameraDevice = camera;
+ }
++ image->p->m_cameraActive = true;
+ QMetaObject::invokeMethod(image->p, "setupCam");
+ #endif
+ };
Home |
Main Index |
Thread Index |
Old Index