From 0678b3c36030e131b96bd0f5838588e4394aa3c8 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 26 Aug 2008 18:31:18 +0000 Subject: opie-console: fix errors thrown with gcc-4.3 * serval headers used function arguments with the same name, this is no good coding style and gcc-4.3 is yelling * add double_name.patch * bump PR --- packages/opie-console/files/.mtn2git_empty | 0 packages/opie-console/files/double_name.patch | 118 ++++++++++++++++++++++++++ packages/opie-console/opie-console_1.2.3.bb | 6 +- packages/opie-console/opie-console_cvs.bb | 6 +- 4 files changed, 126 insertions(+), 4 deletions(-) create mode 100644 packages/opie-console/files/.mtn2git_empty create mode 100644 packages/opie-console/files/double_name.patch diff --git a/packages/opie-console/files/.mtn2git_empty b/packages/opie-console/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/opie-console/files/double_name.patch b/packages/opie-console/files/double_name.patch new file mode 100644 index 0000000000..47e127e160 --- /dev/null +++ b/packages/opie-console/files/double_name.patch @@ -0,0 +1,118 @@ +Index: opie-console/profiledialogwidget.h +=================================================================== +--- opie-console.orig/profiledialogwidget.h 2002-10-21 23:43:44.000000000 +0200 ++++ opie-console/profiledialogwidget.h 2008-08-26 16:22:31.618071081 +0200 +@@ -13,7 +13,7 @@ + Terminal, + Keyboard + }; +- ProfileDialogWidget( const QString& name, QWidget* parent, const char* name = 0l); ++ ProfileDialogWidget( const QString& name, QWidget* parent, const char* na = 0l); + ~ProfileDialogWidget(); + + /* +@@ -34,7 +34,7 @@ + Q_OBJECT + public: + ProfileDialogTerminalWidget( const QString& name, QWidget* widget, +- const char* name =0l); ++ const char* na =0l); + ~ProfileDialogTerminalWidget(); + Type type()const; + }; +@@ -42,7 +42,7 @@ + Q_OBJECT + public: + ProfileDialogConnectionWidget( const QString& name, QWidget* parent, +- const char* name =0l); ++ const char* na =0l); + ~ProfileDialogConnectionWidget(); + Type type() const; + +@@ -51,7 +51,7 @@ + Q_OBJECT + public: + ProfileDialogKeyWidget( const QString &name, QWidget* parent, +- const char *name =0l); ++ const char *na =0l); + ~ProfileDialogKeyWidget(); + Type type() const; + }; +Index: opie-console/function_keyboard.h +=================================================================== +--- opie-console.orig/function_keyboard.h 2007-08-27 01:49:15.000000000 +0200 ++++ opie-console/function_keyboard.h 2008-08-26 16:22:31.618071081 +0200 +@@ -86,7 +86,7 @@ + Q_OBJECT + + public: +- FunctionKeyboardConfig(const QString& name, QWidget *wid, const char* name = 0l ); ++ FunctionKeyboardConfig(const QString& name, QWidget *wid, const char* na = 0l ); + ~FunctionKeyboardConfig(); + + void load(const Profile&); +Index: opie-console/serialconfigwidget.h +=================================================================== +--- opie-console.orig/serialconfigwidget.h 2002-10-09 01:13:17.000000000 +0200 ++++ opie-console/serialconfigwidget.h 2008-08-26 16:22:31.618071081 +0200 +@@ -10,7 +10,7 @@ + class SerialConfigWidget : public ProfileDialogConnectionWidget { + Q_OBJECT + public: +- SerialConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); ++ SerialConfigWidget( const QString& name, QWidget* parent, const char* na = 0l ); + ~SerialConfigWidget(); + + void load( const Profile& ); +Index: opie-console/irdaconfigwidget.h +=================================================================== +--- opie-console.orig/irdaconfigwidget.h 2002-10-09 18:33:36.000000000 +0200 ++++ opie-console/irdaconfigwidget.h 2008-08-26 16:22:31.618071081 +0200 +@@ -12,7 +12,7 @@ + Q_OBJECT + + public: +- IrdaConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); ++ IrdaConfigWidget( const QString& name, QWidget* parent, const char* na = 0l ); + ~IrdaConfigWidget(); + + void load( const Profile& ); +Index: opie-console/btconfigwidget.h +=================================================================== +--- opie-console.orig/btconfigwidget.h 2002-10-17 16:16:03.000000000 +0200 ++++ opie-console/btconfigwidget.h 2008-08-26 16:22:31.618071081 +0200 +@@ -14,7 +14,7 @@ + Q_OBJECT + + public: +- BTConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); ++ BTConfigWidget( const QString& name, QWidget* parent, const char* na = 0l ); + ~BTConfigWidget(); + + void load( const Profile& ); +Index: opie-console/modemconfigwidget.h +=================================================================== +--- opie-console.orig/modemconfigwidget.h 2002-10-13 23:10:15.000000000 +0200 ++++ opie-console/modemconfigwidget.h 2008-08-26 16:22:31.618071081 +0200 +@@ -15,7 +15,7 @@ + Q_OBJECT + + public: +- ModemConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); ++ ModemConfigWidget( const QString& name, QWidget* parent, const char* na = 0l ); + ~ModemConfigWidget(); + + void load( const Profile& ); +Index: opie-console/consoleconfigwidget.h +=================================================================== +--- opie-console.orig/consoleconfigwidget.h 2008-08-26 16:23:08.198065869 +0200 ++++ opie-console/consoleconfigwidget.h 2008-08-26 16:23:12.938066770 +0200 +@@ -11,7 +11,7 @@ + class ConsoleConfigWidget : public ProfileDialogConnectionWidget { + Q_OBJECT + public: +- ConsoleConfigWidget( const QString& name, QWidget* parent, const char* name = 0l ); ++ ConsoleConfigWidget( const QString& name, QWidget* parent, const char* na = 0l ); + ~ConsoleConfigWidget(); + + void load( const Profile& ); diff --git a/packages/opie-console/opie-console_1.2.3.bb b/packages/opie-console/opie-console_1.2.3.bb index 5408c0da8a..a364181d76 100644 --- a/packages/opie-console/opie-console_1.2.3.bb +++ b/packages/opie-console/opie-console_1.2.3.bb @@ -1,7 +1,9 @@ require ${PN}.inc -PR = "r0" +PR = "r1" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/apps/${APPNAME} \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \ - ${HANDHELDS_CVS};tag=${TAG};module=opie/apps" + ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \ + file://double_name.patch;patch=1 \ + " diff --git a/packages/opie-console/opie-console_cvs.bb b/packages/opie-console/opie-console_cvs.bb index 4525ff88ae..00f8a284a3 100644 --- a/packages/opie-console/opie-console_cvs.bb +++ b/packages/opie-console/opie-console_cvs.bb @@ -1,8 +1,10 @@ require ${PN}.inc PV = "${OPIE_CVS_PV}" -PR = "r1" +PR = "r2" SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/apps/${APPNAME} \ ${HANDHELDS_CVS};module=opie/pics \ - ${HANDHELDS_CVS};module=opie/apps" + ${HANDHELDS_CVS};module=opie/apps \ + file://double_name.patch;patch=1 \ + " -- cgit v1.2.3