* [Buildroot] [PATCH] qt5base: add Fedora patch to fix powerpc build
@ 2013-11-20 11:20 Fatih Aşıcı
2013-11-20 12:46 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fatih Aşıcı @ 2013-11-20 11:20 UTC (permalink / raw)
To: buildroot
Fixes http://autobuild.buildroot.net/results/e57/e57dea01c3c1a4e3269580972890192c37d41697/
Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
---
package/qt5/qt5base/qt5base-0008-qatomic-ppc.patch | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 package/qt5/qt5base/qt5base-0008-qatomic-ppc.patch
diff --git a/package/qt5/qt5base/qt5base-0008-qatomic-ppc.patch b/package/qt5/qt5base/qt5base-0008-qatomic-ppc.patch
new file mode 100644
index 0000000..906b56a
--- /dev/null
+++ b/package/qt5/qt5base/qt5base-0008-qatomic-ppc.patch
@@ -0,0 +1,29 @@
+Set loadAcquire() as const
+
+Fixes powerpc build.
+
+Fetched-from: https://bugzilla.redhat.com/attachment.cgi?id=812643
+Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
+
+Index: qtbase-opensource-src-5.1.1/src/corelib/thread/qoldbasicatomic.h
+===================================================================
+--- qtbase-opensource-src-5.1.1.orig/src/corelib/thread/qoldbasicatomic.h
++++ qtbase-opensource-src-5.1.1/src/corelib/thread/qoldbasicatomic.h
+@@ -63,7 +63,7 @@ public:
+ // Atomic API, implemented in qatomic_XXX.h
+
+ int load() const { return _q_value; }
+- int loadAcquire() { return _q_value; }
++ int loadAcquire() const { return _q_value; }
+ void store(int newValue) { _q_value = newValue; }
+ void storeRelease(int newValue) { _q_value = newValue; }
+
+@@ -107,7 +107,7 @@ public:
+ // Atomic API, implemented in qatomic_XXX.h
+
+ T *load() const { return _q_value; }
+- T *loadAcquire() { return _q_value; }
++ T *loadAcquire() const { return _q_value; }
+ void store(T *newValue) { _q_value = newValue; }
+ void storeRelease(T *newValue) { _q_value = newValue; }
+
--
1.8.4.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] qt5base: add Fedora patch to fix powerpc build
2013-11-20 11:20 [Buildroot] [PATCH] qt5base: add Fedora patch to fix powerpc build Fatih Aşıcı
@ 2013-11-20 12:46 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-11-20 12:46 UTC (permalink / raw)
To: buildroot
>>>>> "Fatih" == Fatih A??c? <fatih.asici@gmail.com> writes:
> Fixes http://autobuild.buildroot.net/results/e57/e57dea01c3c1a4e3269580972890192c37d41697/
> Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
It would be nice to note the details about where/when it has been
submitted upstream, so I've added that and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-20 12:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 11:20 [Buildroot] [PATCH] qt5base: add Fedora patch to fix powerpc build Fatih Aşıcı
2013-11-20 12:46 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox