summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Aşıcı <fatih.asici@gmail.com>2013-11-20 11:20:17 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-20 12:45:15 (GMT)
commit291d5f031d8b78d1d220e2459c5a2d8265678646 (patch)
tree6aa700320991a327f0e941a439ddc73cebb8cb78
parent831dad2d61bcf4daf25778bc41aef40d55e8ead6 (diff)
downloadbuildroot-291d5f031d8b78d1d220e2459c5a2d8265678646.tar.gz
buildroot-291d5f031d8b78d1d220e2459c5a2d8265678646.tar.bz2
qt5base: add Fedora patch to fix powerpc build
Fixes http://autobuild.buildroot.net/results/e57/e57dea01c3c1a4e3269580972890192c37d41697/ Patch submitted upstream: https://codereview.qt-project.org/#change,71763 Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/qt5/qt5base/qt5base-0008-qatomic-ppc.patch29
1 files changed, 29 insertions, 0 deletions
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; }
+