From 3fd6cbd2ee79c56c94ead0f370ac1c49e033c429 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 3 Jul 2006 23:01:15 +0000 Subject: zroadmap: add cvs version. add patch to overcome questionable handcrafted Makefiles --- packages/zroadmap/files/qt2-fixes-r1.patch | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/zroadmap/files/qt2-fixes-r1.patch (limited to 'packages/zroadmap/files/qt2-fixes-r1.patch') 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 +# + +--- 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 + -- cgit v1.2.3 From fab4f88c1807af93d74ee6d58a61660dc78993ee Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 4 Jul 2006 00:18:39 +0000 Subject: zroadmap cvs patch fixlet --- packages/zroadmap/files/qt2-fixes-r1.patch | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'packages/zroadmap/files/qt2-fixes-r1.patch') 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 # ---- 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 -- cgit v1.2.3