diff options
Diffstat (limited to 'x11/wxGTK/patches')
-rw-r--r-- | x11/wxGTK/patches/patch-ae | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/wxGTK/patches/patch-ae b/x11/wxGTK/patches/patch-ae new file mode 100644 index 00000000000..311832d0fd2 --- /dev/null +++ b/x11/wxGTK/patches/patch-ae @@ -0,0 +1,18 @@ +$NetBSD: patch-ae,v 1.1 2003/05/16 22:15:28 martin Exp $ + +--- src/gtk/app.cpp.orig 2003-05-17 00:06:30.000000000 +0200 ++++ src/gtk/app.cpp 2003-05-17 00:07:13.000000000 +0200 +@@ -799,10 +799,11 @@ + if (!wxOKlibc()) wxConvCurrent = (wxMBConv*) NULL; + #endif + +- gdk_threads_enter(); +- + gtk_init( &argc, &argv ); + ++ /* we can not enter threads before gtk_init is done */ ++ gdk_threads_enter(); ++ + wxSetDetectableAutoRepeat( TRUE ); + + if (!wxApp::Initialize()) |