summaryrefslogtreecommitdiff
path: root/packages/zroadmap/files/qt2-fixes-r1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zroadmap/files/qt2-fixes-r1.patch')
-rw-r--r--packages/zroadmap/files/qt2-fixes-r1.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/packages/zroadmap/files/qt2-fixes-r1.patch b/packages/zroadmap/files/qt2-fixes-r1.patch
new file mode 100644
index 0000000000..a17fefe869
--- /dev/null
+++ b/packages/zroadmap/files/qt2-fixes-r1.patch
@@ -0,0 +1,44 @@
+
+#
+# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
+#
+
+--- src/qt/qt_main.cc~qt2-fixes.patch
++++ src/qt/qt_main.cc
+@@ -136,7 +136,7 @@
+ switch (orientation[0]) {
+ case 't':
+ case 'T': break;
+-
++#ifndef QWS
+ case 'b':
+ case 'B': moveDockWindow (toolBar, DockBottom); break;
+
+@@ -145,7 +145,7 @@
+
+ case 'r':
+ case 'R': moveDockWindow (toolBar, DockRight); break;
+-
++#endif
+ default: roadmap_log (ROADMAP_FATAL,
+ "Invalid toolbar orientation %s", orientation);
+ }
+--- src/qt/Makefile~qt2-fixes.patch
++++ src/qt/Makefile
+@@ -11,14 +11,9 @@
+
+ # --- QT-specific options ------------------------------------------------
+
+-CFLAGS += -I$(QTDIR)/include -I/usr/include/qt3 -I/usr/local/include/qt3
+-CFLAGS += -fno-rtti -fno-exceptions
+-LIBS += -L$(QTDIR)/lib -lqt-mt
+-
+-
+ ifeq ($(DESKTOP),QPE)
+- CFLAGS += -I$(QTDIR)/include -DQWS
+- LIBS += -lqte -lqpe
++ CFLAGS += -I$(QTDIR)/include -DQWS
++ LIBS += -lqpe
+ INSTALLDIR=$(QTDIR)
+ endif
+