summaryrefslogtreecommitdiff
path: root/packages/qt4/qt4-x11-free-4.1.2/fix-asm-constraints.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qt4/qt4-x11-free-4.1.2/fix-asm-constraints.patch')
-rw-r--r--packages/qt4/qt4-x11-free-4.1.2/fix-asm-constraints.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/qt4/qt4-x11-free-4.1.2/fix-asm-constraints.patch b/packages/qt4/qt4-x11-free-4.1.2/fix-asm-constraints.patch
new file mode 100644
index 0000000000..93fc52d055
--- /dev/null
+++ b/packages/qt4/qt4-x11-free-4.1.2/fix-asm-constraints.patch
@@ -0,0 +1,16 @@
+
+#
+# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
+#
+
+--- qt-x11-opensource-src-4.1.2/src/corelib/arch/arm/arch/qatomic.h~fix-asm-constraints
++++ qt-x11-opensource-src-4.1.2/src/corelib/arch/arm/arch/qatomic.h
+@@ -32,7 +32,7 @@
+ {
+ register int ret;
+ asm volatile("swpb %0,%1,[%2]"
+- : "=r"(ret)
++ : "&=r"(ret)
+ : "r"(newval), "r"(ptr)
+ : "cc", "memory");
+ return ret;