[vlc-devel] [PATCH 1/2] contrib: harfbuzz: fix __attribute__ hidden for clang
Steve Lhomme
robux4 at videolabs.io
Fri Jul 1 10:50:08 CEST 2016
---
contrib/src/harfbuzz/harfbuzz-clang.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/contrib/src/harfbuzz/harfbuzz-clang.patch b/contrib/src/harfbuzz/harfbuzz-clang.patch
index c84cc89..bf0bab6 100644
--- a/contrib/src/harfbuzz/harfbuzz-clang.patch
+++ b/contrib/src/harfbuzz/harfbuzz-clang.patch
@@ -15,3 +15,14 @@
fi
AM_CONDITIONAL(HAVE_GCC, test "x$GCC" = "xyes")
+--- harfbuzz/src/hb-private.hh 2016-07-01 10:33:10.072811100 +0200
++++ harfbuzz/src/hb-private.hh.clang 2016-07-01 10:33:52.207363000 +0200
+@@ -83,7 +83,7 @@ extern "C" void hb_free_impl(void *ptr)
+ #define unlikely(expr) (expr)
+ #endif
+
+-#ifndef __GNUC__
++#if !defined(__GNUC__) && !defined(__clang__)
+ #undef __attribute__
+ #define __attribute__(x)
+ #endif
--
2.8.2
More information about the vlc-devel
mailing list