2001-07-25 15:48:26 +00:00
|
|
|
$OpenBSD: patch-xmms_main_c,v 1.2 2001/07/25 15:48:26 naddy Exp $
|
|
|
|
--- xmms/main.c.orig Sun Jun 17 01:05:47 2001
|
|
|
|
+++ xmms/main.c Wed Jul 25 16:47:43 2001
|
|
|
|
@@ -3204,14 +3204,6 @@ gboolean handle_cmd_line_options(struct
|
2001-07-20 14:26:16 +00:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
-void segfault_handler(int sig)
|
|
|
|
-{
|
|
|
|
- printf(_("\nSegmentation fault\n\n"
|
|
|
|
- "You've probably found a bug in XMMS, please visit\n"
|
|
|
|
- "http://www.xmms.org/bugs and fill out a bug report.\n\n"));
|
|
|
|
- exit(1);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static gboolean pposition_configure(GtkWidget *w, GdkEventConfigure *event, gpointer data)
|
|
|
|
{
|
|
|
|
gint x,y;
|
2001-07-25 15:48:26 +00:00
|
|
|
@@ -3340,15 +3332,6 @@ int main(int argc, char **argv)
|
2001-07-20 14:26:16 +00:00
|
|
|
textdomain(PACKAGE);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
- signal(SIGSEGV, segfault_handler);
|
|
|
|
- g_thread_init(NULL);
|
|
|
|
- if (!g_thread_supported())
|
|
|
|
- {
|
|
|
|
- printf(_("Sorry, threads isn't supported on your platform.\n\n"
|
|
|
|
- "If you're on a libc5 based linux system and installed GLIB & GTK+ before you\n"
|
|
|
|
- "installed LinuxThreads you need to recompile GLIB & GTK+\n"));
|
|
|
|
- exit(1);
|
|
|
|
- }
|
|
|
|
parse_cmd_line(argc, argv, &options);
|
|
|
|
|
|
|
|
#if defined(HAVE_SRANDOMDEV)
|