[vlc-devel] [PATCH 2/2] contrib: harfbuzz: include intrin.h for atomics

Steve Lhomme robux4 at videolabs.io
Fri Jul 1 10:50:09 CEST 2016


---
 contrib/src/harfbuzz/harfbuzz-intrin.patch | 11 +++++++++++
 contrib/src/harfbuzz/rules.mak             |  1 +
 2 files changed, 12 insertions(+)
 create mode 100644 contrib/src/harfbuzz/harfbuzz-intrin.patch

diff --git a/contrib/src/harfbuzz/harfbuzz-intrin.patch b/contrib/src/harfbuzz/harfbuzz-intrin.patch
new file mode 100644
index 0000000..6eba07c
--- /dev/null
+++ b/contrib/src/harfbuzz/harfbuzz-intrin.patch
@@ -0,0 +1,11 @@
+--- harfbuzz/src/hb-atomic-private.hh	2016-07-01 10:42:06.657067800 +0200
++++ harfbuzz/src/hb-atomic-private.hh.intrin	2016-07-01 10:39:57.204991000 +0200
+@@ -32,6 +32,8 @@
+ #ifndef HB_ATOMIC_PRIVATE_HH
+ #define HB_ATOMIC_PRIVATE_HH
+ 
++#include <intrin.h>
++
+ #include "hb-private.hh"
+ 
+ 
diff --git a/contrib/src/harfbuzz/rules.mak b/contrib/src/harfbuzz/rules.mak
index 36bcb31..749f4ac 100644
--- a/contrib/src/harfbuzz/rules.mak
+++ b/contrib/src/harfbuzz/rules.mak
@@ -23,6 +23,7 @@ harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
 	$(UPDATE_AUTOCONFIG)
 	$(APPLY) $(SRC)/harfbuzz/harfbuzz-aarch64.patch
 	$(APPLY) $(SRC)/harfbuzz/harfbuzz-clang.patch
+	$(APPLY) $(SRC)/harfbuzz/harfbuzz-intrin.patch
 	$(MOVE)
 
 DEPS_harfbuzz = freetype2 $(DEPS_freetype2)
-- 
2.8.2



More information about the vlc-devel mailing list