summaryrefslogtreecommitdiff
path: root/packages/zroadmap
diff options
context:
space:
mode:
Diffstat (limited to 'packages/zroadmap')
-rw-r--r--packages/zroadmap/files/qt2-fixes-r1.patch20
-rw-r--r--packages/zroadmap/zroadmap_cvs.bb2
2 files changed, 7 insertions, 15 deletions
diff --git a/packages/zroadmap/files/qt2-fixes-r1.patch b/packages/zroadmap/files/qt2-fixes-r1.patch
index a17fefe869..24fe1c9bdb 100644
--- a/packages/zroadmap/files/qt2-fixes-r1.patch
+++ b/packages/zroadmap/files/qt2-fixes-r1.patch
@@ -3,9 +3,9 @@
# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
#
---- src/qt/qt_main.cc~qt2-fixes.patch
+--- src/qt/qt_main.cc~qt2-fixes-r1.patch
+++ src/qt/qt_main.cc
-@@ -136,7 +136,7 @@
+@@ -137,7 +137,7 @@
switch (orientation[0]) {
case 't':
case 'T': break;
@@ -14,7 +14,7 @@
case 'b':
case 'B': moveDockWindow (toolBar, DockBottom); break;
-@@ -145,7 +145,7 @@
+@@ -146,7 +146,7 @@
case 'r':
case 'R': moveDockWindow (toolBar, DockRight); break;
@@ -23,21 +23,13 @@
default: roadmap_log (ROADMAP_FATAL,
"Invalid toolbar orientation %s", orientation);
}
---- src/qt/Makefile~qt2-fixes.patch
+--- src/qt/Makefile~qt2-fixes-r1.patch
+++ src/qt/Makefile
-@@ -11,14 +11,9 @@
+@@ -19,7 +19,7 @@
- # --- 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
+ CFLAGS += -I$(QTDIR)/include -DQWS
- LIBS += -lqte -lqpe
-+ CFLAGS += -I$(QTDIR)/include -DQWS
+ LIBS += -lqpe
INSTALLDIR=$(QTDIR)
endif
diff --git a/packages/zroadmap/zroadmap_cvs.bb b/packages/zroadmap/zroadmap_cvs.bb
index 23bd5d15e5..db44964bfd 100644
--- a/packages/zroadmap/zroadmap_cvs.bb
+++ b/packages/zroadmap/zroadmap_cvs.bb
@@ -24,7 +24,7 @@ QT_LIBRARY = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt
QT_LIBRARY_append_c7x0 = " -laticore"
EXTRA_OEMAKE = 'DESKTOP=QPE MOC=${OE_QMAKE_MOC} UIC=${OE_QMAKE_UIC} QTDIR=${QTDIR} \
- CFLAGS="-DQWS -I${S} ${OE_QMAKE_CXXFLAGS} -I${OE_QMAKE_INCDIR_QT}" \
+ CFLAGS="-DQWS -DQT_NO_ROTATE -I${S} ${OE_QMAKE_CXXFLAGS} -I${OE_QMAKE_INCDIR_QT}" \
LDFLAGS="${OE_QMAKE_LDFLAGS} -L${OE_QMAKE_LIBDIR_QT} -Wl,-rpath-link,${OE_QMAKE_LIBDIR_QT}" '
PARALLEL_MAKE = ""