22 lines
630 B
Plaintext
22 lines
630 B
Plaintext
$OpenBSD: patch-xmms_main_c,v 1.5 2004/01/22 20:15:22 naddy Exp $
|
|
--- xmms/main.c.orig 2002-02-27 15:30:28.000000000 +0100
|
|
+++ xmms/main.c 2004-01-22 20:41:37.000000000 +0100
|
|
@@ -3387,7 +3387,8 @@ int main(int argc, char **argv)
|
|
#endif
|
|
|
|
signal(SIGPIPE, SIG_IGN); /* for controlsocket.c */
|
|
- signal(SIGSEGV, segfault_handler);
|
|
+
|
|
+#if !defined(OpenBSD)
|
|
g_thread_init(NULL);
|
|
if (!g_thread_supported())
|
|
{
|
|
@@ -3396,6 +3397,7 @@ int main(int argc, char **argv)
|
|
"installed LinuxThreads you need to recompile GLIB & GTK+\n"));
|
|
exit(1);
|
|
}
|
|
+#endif
|
|
parse_cmd_line(argc, argv, &options);
|
|
|
|
#if defined(HAVE_SRANDOMDEV)
|