mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Audacious: bump version
This commit is contained in:
36
media-sound/audacious/patches/audacious-3.10.patchset
Normal file
36
media-sound/audacious/patches/audacious-3.10.patchset
Normal file
@@ -0,0 +1,36 @@
|
||||
From a8774cdb93f973137df4e6ae7d846aa8d0190eac Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sun, 26 Aug 2018 23:22:29 +1000
|
||||
Subject: Ugly hack
|
||||
|
||||
|
||||
diff --git a/src/audacious/main.cc b/src/audacious/main.cc
|
||||
index 52ad234..3178f44 100644
|
||||
--- a/src/audacious/main.cc
|
||||
+++ b/src/audacious/main.cc
|
||||
@@ -25,6 +25,12 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
+#ifdef __HAIKU__
|
||||
+#include <unistd.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <signal.h>
|
||||
+#endif
|
||||
+
|
||||
#define AUD_GLIB_INTEGRATION
|
||||
#include <libaudcore/audstrings.h>
|
||||
#include <libaudcore/drct.h>
|
||||
@@ -406,5 +412,9 @@ int main (int argc, char * * argv)
|
||||
aud_cleanup ();
|
||||
initted = false;
|
||||
|
||||
+#ifdef __HAIKU__
|
||||
+ kill (::getpid(), SIGKILL);
|
||||
+#endif
|
||||
+
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
--
|
||||
2.16.4
|
||||
|
||||
Reference in New Issue
Block a user