diff options
Diffstat (limited to 'multimedia/helixplayer/files/patch-player_app_gtk_commonapp.cpp')
-rw-r--r-- | multimedia/helixplayer/files/patch-player_app_gtk_commonapp.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/multimedia/helixplayer/files/patch-player_app_gtk_commonapp.cpp b/multimedia/helixplayer/files/patch-player_app_gtk_commonapp.cpp new file mode 100644 index 000000000000..0a58e97a34f8 --- /dev/null +++ b/multimedia/helixplayer/files/patch-player_app_gtk_commonapp.cpp @@ -0,0 +1,23 @@ +--- ./player/app/gtk/commonapp.cpp.orig Thu Nov 25 00:00:23 2004 ++++ ./player/app/gtk/commonapp.cpp Sat Mar 26 14:43:51 2005 +@@ -1868,7 +1868,19 @@ + { + /* g_error will call abort */ + g_error("Unable to open display"); +- } ++ } ++ ++#ifdef G_OS_UNIX ++ if(strcmp(hxplayer_x_init_threads, "delayed") == 0) ++ { ++ Status status; ++ status = XInitThreads(); ++ if(!status) ++ { ++ g_warning("X libraries appear to have been compiled without multithreaded support."); ++ } ++ } ++#endif + + #ifdef G_OS_UNIX + if(strcmp(hxplayer_x_init_threads, "after") == 0) |