Audacious: bump version

This commit is contained in:
Gerasim Troeglazov
2018-08-26 23:30:06 +10:00
parent 542db94535
commit 5a34703686
2 changed files with 44 additions and 8 deletions

View 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