summaryrefslogtreecommitdiff
path: root/qt/qte233-for-opie091-display.patch
Side-by-side diff
Diffstat (limited to 'qt/qte233-for-opie091-display.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qte233-for-opie091-display.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/qt/qte233-for-opie091-display.patch b/qt/qte233-for-opie091-display.patch
new file mode 100644
index 0000000..d5b97e8
--- a/dev/null
+++ b/qt/qte233-for-opie091-display.patch
@@ -0,0 +1,15 @@
+--- src.orig/kernel/qapplication_qws.cpp Mon Mar 18 02:11:25 2002
++++ src/kernel/qapplication_qws.cpp Fri Aug 30 04:48:23 2002
+@@ -1458,11 +1458,7 @@
+ qt_appType = type;
+ qws_single_process = TRUE;
+ QWSServer::startup(flags);
+- QString strEnv( "QWS_DISPLAY=" );
+- strEnv += qws_display_spec;
+- char p[strEnv.length() + 1];
+- strncpy( p, strEnv.latin1(), strEnv.length() );
+- putenv( p );
++ setenv( "QWS_DISPLAY", qws_display_spec, 1 );
+ }
+
+ if( qt_is_gui_used )