Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-opie][PATCH 0/1] Pull request 20130423
@ 2013-04-23 21:48 Apelete Seketeli
  2013-04-23 21:48 ` [meta-opie][PATCH 1/1] uicmoc: fix compile issue with GCC-4.7 Apelete Seketeli
  0 siblings, 1 reply; 2+ messages in thread
From: Apelete Seketeli @ 2013-04-23 21:48 UTC (permalink / raw)
  To: openembedded-devel

Hello,

The patch that comes as a follow-up of this message fix a compile
error when building uicmoc-native with GCC-4.7.

The modifications are done on top of the master branch in the
meta-opie layer, and tested by building uicmoc-native from scratch.

Please pull into the meta-opie layer.

The following changes since commit c242efc6ca55772a88602f1f8f94dff697b38430:

  layer.conf: use ??= to set variables (2013-03-25 22:42:32 +0000)

are available in the git repository at:

  git://seketeli.fr/~apelete/meta-opie.git fix-uicmoc-build

Apelete Seketeli (1):
  uicmoc: fix compile issue with GCC-4.7

 recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch |   11 +++++++++++
 recipes-qt/uicmoc/uicmoc_2.3.10.bb           |    1 +
 2 files changed, 12 insertions(+)
 create mode 100644 recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch

-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [meta-opie][PATCH 1/1] uicmoc: fix compile issue with GCC-4.7
  2013-04-23 21:48 [meta-opie][PATCH 0/1] Pull request 20130423 Apelete Seketeli
@ 2013-04-23 21:48 ` Apelete Seketeli
  0 siblings, 0 replies; 2+ messages in thread
From: Apelete Seketeli @ 2013-04-23 21:48 UTC (permalink / raw)
  To: openembedded-devel

Fix compile issue found when building uicmoc-native with GCC-4.7.
Though it was detected with version 4.7, the problem may appear with
an earlier version of GCC-4.x.

Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
---
 recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch |   11 +++++++++++
 recipes-qt/uicmoc/uicmoc_2.3.10.bb           |    1 +
 2 files changed, 12 insertions(+)
 create mode 100644 recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch

diff --git a/recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch b/recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch
new file mode 100644
index 0000000..ad09bfe
--- /dev/null
+++ b/recipes-qt/uicmoc/uicmoc-2.3.10/gcc4.7.patch
@@ -0,0 +1,11 @@
+--- qt-2.3.10/src/tools/qvaluestack.h.orig	2013-04-23 21:04:50.373589050 +0200
++++ qt-2.3.10/src/tools/qvaluestack.h	2013-04-23 21:33:48.857599178 +0200
+@@ -49,7 +49,7 @@
+ public:
+     QValueStack() {}
+    ~QValueStack() {}
+-    void  push( const T& d ) { append(d); }
++    void  push( const T& d ) { this->append(d); }
+     T pop()
+     {
+ 	T elem( this->last() );
diff --git a/recipes-qt/uicmoc/uicmoc_2.3.10.bb b/recipes-qt/uicmoc/uicmoc_2.3.10.bb
index ca6a7a1..0588436 100644
--- a/recipes-qt/uicmoc/uicmoc_2.3.10.bb
+++ b/recipes-qt/uicmoc/uicmoc_2.3.10.bb
@@ -9,6 +9,7 @@ SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz \
            file://gcc3_4.patch \
            file://gcc4.patch \
            file://gcc4_1.patch \
+           file://gcc4.7.patch \
            file://64bit-cleanup.patch \
 	   file://kernel-asm-page.patch"
 S = "${WORKDIR}/qt-${PV}"
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-23 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-23 21:48 [meta-opie][PATCH 0/1] Pull request 20130423 Apelete Seketeli
2013-04-23 21:48 ` [meta-opie][PATCH 1/1] uicmoc: fix compile issue with GCC-4.7 Apelete Seketeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox