diff options
Diffstat (limited to 'debian/patches/qt_atomic_sparc64.patch')
-rw-r--r-- | debian/patches/qt_atomic_sparc64.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/debian/patches/qt_atomic_sparc64.patch b/debian/patches/qt_atomic_sparc64.patch deleted file mode 100644 index c49acb9..0000000 --- a/debian/patches/qt_atomic_sparc64.patch +++ /dev/null @@ -1,39 +0,0 @@ -Author: Aurelien Jarno <aurel32@debian.org> -Description: Fix atomic support on sparc64 -Bug: https://bugreports.qt-project.org/browse/QTBUG-22479 -Bug-Debian: http://bugs.debian.org/647265 - ---- - src/corelib/arch/qatomic_sparc.h | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - ---- a/src/corelib/arch/qatomic_sparc.h -+++ b/src/corelib/arch/qatomic_sparc.h -@@ -127,17 +127,19 @@ extern "C" { - Q_CORE_EXPORT int q_atomic_fetch_and_add_acquire_int(volatile int *ptr, int value); - Q_CORE_EXPORT int q_atomic_fetch_and_add_release_int(volatile int *ptr, int value); - -- Q_CORE_EXPORT int q_atomic_test_and_set_ptr(volatile void *ptr, void *expected, void *newval); -+ Q_CORE_EXPORT int q_atomic_test_and_set_ptr(volatile void *ptr, -+ const void *expected, -+ const void *newval); - Q_CORE_EXPORT int q_atomic_test_and_set_acquire_ptr(volatile void *ptr, -- void *expected, -- void *newval); -+ const void *expected, -+ const void *newval); - Q_CORE_EXPORT int q_atomic_test_and_set_release_ptr(volatile void *ptr, -- void *expected, -- void *newval); -+ const void *expected, -+ const void *newval); - -- Q_CORE_EXPORT void *q_atomic_set_ptr(volatile void *ptr, void *newval); -- Q_CORE_EXPORT void *q_atomic_fetch_and_store_acquire_ptr(volatile void *ptr, void *newval); -- Q_CORE_EXPORT void *q_atomic_fetch_and_store_release_ptr(volatile void *ptr, void *newval); -+ Q_CORE_EXPORT void *q_atomic_set_ptr(volatile void *ptr, const void *newval); -+ Q_CORE_EXPORT void *q_atomic_fetch_and_store_acquire_ptr(volatile void *ptr, const void *newval); -+ Q_CORE_EXPORT void *q_atomic_fetch_and_store_release_ptr(volatile void *ptr, const void *newval); - - Q_CORE_EXPORT void *q_atomic_fetch_and_add_ptr(volatile void *ptr, int value); - Q_CORE_EXPORT void *q_atomic_fetch_and_add_acquire_ptr(volatile void *ptr, int value); |