aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opie-todo/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-todo/files')
-rw-r--r--recipes/opie-todo/files/gcc-syntax-fix.patch17
-rw-r--r--recipes/opie-todo/files/unbreak-logging.patch21
2 files changed, 38 insertions, 0 deletions
diff --git a/recipes/opie-todo/files/gcc-syntax-fix.patch b/recipes/opie-todo/files/gcc-syntax-fix.patch
new file mode 100644
index 0000000000..c1b64f7a98
--- /dev/null
+++ b/recipes/opie-todo/files/gcc-syntax-fix.patch
@@ -0,0 +1,17 @@
+diff --git a/quickedit.h b/quickedit.h
+index a479d9e..dc798b3 100644
+--- a/quickedit.h
++++ b/quickedit.h
+@@ -41,9 +41,9 @@ using Opie::OPimTodo;
+ namespace Todo{
+ class MainWindow;
+ struct QuickEditBase {
+- virtual OPimTodo todo()const = 0l;
+- virtual QSignal* signal() = 0l;
+- virtual QWidget* widget() = 0l;
++ virtual OPimTodo todo()const = 0;
++ virtual QSignal* signal() = 0;
++ virtual QWidget* widget() = 0;
+ };
+ /*
+ * this is my second try
diff --git a/recipes/opie-todo/files/unbreak-logging.patch b/recipes/opie-todo/files/unbreak-logging.patch
new file mode 100644
index 0000000000..20e0bd0ff7
--- /dev/null
+++ b/recipes/opie-todo/files/unbreak-logging.patch
@@ -0,0 +1,21 @@
+Index: todo/main.cpp
+===================================================================
+RCS file: /cvs/opie/core/pim/todo/main.cpp,v
+retrieving revision 1.11
+diff -u -r1.11 main.cpp
+--- main.cpp 6 Apr 2005 21:39:47 -0000 1.11
++++ main.cpp 3 May 2007 02:57:14 -0000
+@@ -34,13 +34,8 @@
+
+ #include <qpe/qpeapplication.h>
+
+-void myMessages( QtMsgType, const char* ) {
+-
+-}
+-
+ int main( int argc, char **argv )
+ {
+- qInstallMsgHandler( myMessages );
+ QPEApplication a( argc, argv );
+
+ QTime time;