Files
haikuports/media-sound/audacious/patches/audacious-3.10.patchset
Gerasim Troeglazov 5a34703686 Audacious: bump version
2018-08-26 23:30:06 +10:00

37 lines
762 B
Plaintext

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