Skip to contentSkip to conversation

opie-sheet: fixed compilation error

PATCH In review Michal Hrusecky 3 participants 4 messages May 29, 2009 – May 30, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opie-sheet: fixed compilation error

Compilation originally fails and complains about two arguments with the same name.

---
 .../opie-sheet/different-arg-names.patch           |   11 +++++++++++
 recipes/opie-sheet/opie-sheet_1.2.4.bb             |    3 ++-
 2 files changed, 13 insertions(+), 1 deletions(-)
 create mode 100644 recipes/opie-sheet/opie-sheet/different-arg-names.patch
recipes/opie-sheet/opie-sheet/different-arg-names.patch new file +11 -0
new file mode 100644
index 0000000..f190960
@@ -0,0 +1,11 @@
+--- a/opie-sheet/sheet.h	2009-05-25 07:47:12.042719009 +0200
++++ b/opie-sheet/sheet.h	2009-05-25 08:07:19.291516199 +0200
+@@ -209,7 +207,7 @@
+     void insertRows(int no=1, bool allColumns=TRUE);
+     void insertColumns(int no=1, bool allRows=TRUE);
+ 
+-    void dataFindReplace(const QString &find, const QString &replace, bool matchCase=TRUE, bool allCells=TRUE, bool entireCell=FALSE, bool replace=FALSE, bool replaceAll=FALSE);
++    void dataFindReplace(const QString &find, const QString &replacestr, bool matchCase=TRUE, bool allCells=TRUE, bool entireCell=FALSE, bool replace=FALSE, bool replaceAll=FALSE);
+ 
+     // Static functions
+     static int getHeaderColumn(const QString &section);
recipes/opie-sheet/opie-sheet_1.2.4.bb +2 -1
index ca0cdaf..c52c166 100644
@@ -3,4 +3,5 @@ require ${PN}.inc
 
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/apps/opie-sheet \
            ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
-           ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+           ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \
+           file://different-arg-names.patch;patch=1 "
Signature · 1 line
1.6.3.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Michal Hrusecky

Compilation originally fails and complains about two arguments with the same name.

Quoted 38 lines
---
 .../opie-sheet/different-arg-names.patch           |   11 +++++++++++
 recipes/opie-sheet/opie-sheet_1.2.4.bb             |    3 ++-
 2 files changed, 13 insertions(+), 1 deletions(-)
 create mode 100644 recipes/opie-sheet/opie-sheet/different-arg-names.patch
(quoted diff) +0 -0

b/recipes/opie-sheet/opie-sheet/different-arg-names.patch new file mode 100644
index 0000000..f190960

recipes/opie-sheet/opie-sheet/different-arg-names.patch new file +7 -0
@@ -0,0 +1,11 @@
+--- a/opie-sheet/sheet.h	2009-05-25 07:47:12.042719009 +0200
++++ b/opie-sheet/sheet.h	2009-05-25 08:07:19.291516199 +0200
+@@ -209,7 +207,7 @@
+     void insertRows(int no=1, bool allColumns=TRUE);
+     void insertColumns(int no=1, bool allRows=TRUE);
+
+-    void dataFindReplace(const QString &find, const QString &replace,

bool matchCase=TRUE, bool allCells=TRUE, bool entireCell=FALSE, bool
replace=FALSE, bool replaceAll=FALSE); ++ void dataFindReplace(const
QString &find, const QString &replacestr, bool matchCase=TRUE, bool allCells=TRUE, bool entireCell=FALSE, bool replace=FALSE, bool replaceAll=FALSE); +

recipes/opie-sheet/opie-sheet/different-arg-names.patch new file +2 -0
+     // Static functions
+     static int getHeaderColumn(const QString &section);
(quoted diff) +0 -0

b/recipes/opie-sheet/opie-sheet_1.2.4.bb index ca0cdaf..c52c166 100644

recipes/opie-sheet/opie-sheet_1.2.4.bb +2 -1
@@ -3,4 +3,5 @@ require ${PN}.inc
 
 SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/apps/opie-sheet
 \ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
-           ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+           ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \
+           file://different-arg-names.patch;patch=1 "