From 0ca27a459350a5620031523092dee1162128b764 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 26 Sep 2021 23:45:38 +1000 Subject: [PATCH] QMMP: fixed saving settings --- media-sound/qmmp/patches/qmmp-1.5.1.patchset | 27 -------------------- media-sound/qmmp/qmmp-1.5.1.recipe | 2 +- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/media-sound/qmmp/patches/qmmp-1.5.1.patchset b/media-sound/qmmp/patches/qmmp-1.5.1.patchset index cbe3fad8b..3d2da8478 100644 --- a/media-sound/qmmp/patches/qmmp-1.5.1.patchset +++ b/media-sound/qmmp/patches/qmmp-1.5.1.patchset @@ -26,33 +26,6 @@ index 0cbcd8b..c2a0ee7 100644 PRINT_SUMMARY ("Simple user interface (QSUI) .........." USE_QSUI 1) PRINT_SUMMARY ("Automatic charset detection ..........." USE_ENCA ENCA_FOUND) PRINT_SUMMARY ("MPEG plugin with LibRCD support ......." USE_LIBRCD LIBRCD_FOUND) -diff --git a/src/app/main.cpp b/src/app/main.cpp -index 579e8b0..3cc71b0 100644 ---- a/src/app/main.cpp -+++ b/src/app/main.cpp -@@ -30,6 +30,10 @@ - #include - #include - #endif -+#ifdef __HAIKU__ -+#include -+#include -+#endif - #include - #include "qmmpstarter.h" - -@@ -70,5 +74,11 @@ int main(int argc, char *argv[]) - return starter.exitCode(); - - a.setQuitOnLastWindowClosed(false); -+#ifdef __HAIKU__ -+ int res = a.exec(); -+ kill(::getpid(), SIGKILL); -+ return res; -+#else - return a.exec(); -+#endif - } diff --git a/src/plugins/Input/gme/CMakeLists.txt b/src/plugins/Input/gme/CMakeLists.txt index 0134f73..8cbc33c 100644 --- a/src/plugins/Input/gme/CMakeLists.txt diff --git a/media-sound/qmmp/qmmp-1.5.1.recipe b/media-sound/qmmp/qmmp-1.5.1.recipe index 091e212f5..6752e2fb9 100644 --- a/media-sound/qmmp/qmmp-1.5.1.recipe +++ b/media-sound/qmmp/qmmp-1.5.1.recipe @@ -4,7 +4,7 @@ The user interface is similar to winamp or xmms." HOMEPAGE="http://qmmp.ylsoftware.com/" COPYRIGHT="2006-2021 Qmmp Development Team" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://qmmp.ylsoftware.com/files/qmmp/1.5/qmmp-$portVersion.tar.bz2" CHECKSUM_SHA256="f3dc676039b5f190e6a87377a6b2bd2bcca122d1659b5f22668c7a284bb91f43" PATCHES="qmmp-$portVersion.patchset"