~siretart/vlc/debian-packaging

« back to all changes in this revision

Viewing changes to contrib/src/harfbuzz/harfbuzz-aarch64.patch

  • Committer: Sebastian Ramacher
  • Date: 2016-01-31 20:58:37 UTC
  • mfrom: (1.2.39)
  • Revision ID: git-v1:b7ac1de93ecf7cd3d86898544433974ce0af7086
Merge tag 'upstream/2.2.2'

Upstream version 2.2.2

# gpg: Signature made Sun 31 Jan 2016 21:57:53 CET using RSA key ID 6EA71993
# gpg: Good signature from "Sebastian Ramacher <sebastian@ramacher.at>"
# gpg:                 aka "Sebastian Ramacher <s.ramacher@gmail.com>"
# gpg:                 aka "Sebastian Ramacher <s.ramacher@gmx.at>"
# gpg:                 aka "Sebastian Ramacher <s.ramacher@student.tugraz.at>"
# gpg:                 aka "Sebastian Ramacher <sramacher@debian.org>"
# gpg:                 aka "Sebastian Ramacher <sebastian.ramacher@iaik.tugraz.at>"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -ru harfbuzz/src/hb-atomic-private.hh harfbuzz-fied/src/hb-atomic-private.hh
2
 
--- harfbuzz/src/hb-atomic-private.hh   2013-04-04 21:01:42.000000000 +0200
3
 
+++ harfbuzz-fied/src/hb-atomic-private.hh      2014-01-22 14:57:21.000000000 +0100
4
 
@@ -65,10 +65,8 @@
 
1
--- harfbuzz-1.0.6/src/hb-atomic-private.hh.orig        2015-09-29 15:48:46.947083938 +0200
 
2
+++ harfbuzz-1.0.6/src/hb-atomic-private.hh     2015-10-26 00:06:08.564306388 +0100
 
3
@@ -73,10 +73,8 @@
5
4
 #elif !defined(HB_NO_MT) && defined(__APPLE__)
6
5
 
7
6
 #include <libkern/OSAtomic.h>
12
11
-#include <Availability.h>
13
12
 #endif
14
13
 
15
 
 typedef int32_t hb_atomic_int_t;
16
 
@@ -76,7 +74,11 @@
17
 
 
18
 
 #define hb_atomic_ptr_get(P)           (OSMemoryBarrier (), (void *) *(P))
 
14
 
 
15
@@ -86,7 +84,11 @@
 
16
 
 
17
 #define hb_atomic_ptr_impl_get(P)              (OSMemoryBarrier (), (void *) *(P))
19
18
 #if (MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 || __IPHONE_VERSION_MIN_REQUIRED >= 20100)
20
19
+#if __aarch64__
21
 
+#define hb_atomic_ptr_cmpexch(P,O,N)    OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), (int64_t*) (P))
 
20
+#define hb_atomic_ptr_impl_cmpexch(P,O,N)      OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), (int64_t*) (P))
22
21
+#else
23
 
 #define hb_atomic_ptr_cmpexch(P,O,N)   OSAtomicCompareAndSwapPtrBarrier ((void *) (O), (void *) (N), (void **) (P))
 
22
 #define hb_atomic_ptr_impl_cmpexch(P,O,N)      OSAtomicCompareAndSwapPtrBarrier ((void *) (O), (void *) (N), (void **) (P))
24
23
+#endif
25
24
 #else
26
 
 #if __ppc64__ || __x86_64__
27
 
 #define hb_atomic_ptr_cmpexch(P,O,N)    OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), (int64_t*) (P))
 
25
 #if __ppc64__ || __x86_64__ || __aarch64__
 
26
 #define hb_atomic_ptr_impl_cmpexch(P,O,N)      OSAtomicCompareAndSwap64Barrier ((int64_t) (O), (int64_t) (N), (int64_t*) (P))