summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoradam <adam>2013-10-30 18:59:06 +0000
committeradam <adam>2013-10-30 18:59:06 +0000
commit4fb00c41927eaeb4a60a8f70a992a04db9de0357 (patch)
tree90826874e00c4a65ae21dc5032c7e0789b799b50 /audio
parent913f4bd1259182c3cba6a23c1bf5351ccaec961d (diff)
downloadpkgsrc-4fb00c41927eaeb4a60a8f70a992a04db9de0357.tar.gz
Don't inline when using Clang.
Diffstat (limited to 'audio')
-rw-r--r--audio/liba52/distinfo3
-rw-r--r--audio/liba52/patches/patch-include_config.h.in16
2 files changed, 18 insertions, 1 deletions
diff --git a/audio/liba52/distinfo b/audio/liba52/distinfo
index 0cc88f59a20..35103b1a302 100644
--- a/audio/liba52/distinfo
+++ b/audio/liba52/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2005/07/29 00:41:51 grant Exp $
+$NetBSD: distinfo,v 1.8 2013/10/30 18:59:06 adam Exp $
SHA1 (a52dec-0.7.4.tar.gz) = 79b33bd8d89dad7436f85b9154ad35667aa37321
RMD160 (a52dec-0.7.4.tar.gz) = 5b63b34c5840e7182b733cad41e916a8d4875eb1
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = f31a0e354ab7f1111c03196bf1a11d7caab0f1e9
SHA1 (patch-ab) = 79341f97816b93731bdb5999957e36f36b30e63a
SHA1 (patch-ac) = d226b58ae1314deaa8c938d39669139bd513be18
SHA1 (patch-ad) = 680e399e79211fb3f788111d5221c5f8227f23b6
+SHA1 (patch-include_config.h.in) = d76affe2af958f43be0843df11e560cc9a4a401c
diff --git a/audio/liba52/patches/patch-include_config.h.in b/audio/liba52/patches/patch-include_config.h.in
new file mode 100644
index 00000000000..9b168318257
--- /dev/null
+++ b/audio/liba52/patches/patch-include_config.h.in
@@ -0,0 +1,16 @@
+$NetBSD: patch-include_config.h.in,v 1.1 2013/10/30 18:59:06 adam Exp $
+
+Don't inline when using Clang.
+
+--- include/config.h.in.orig 2013-10-30 18:56:26.000000000 +0000
++++ include/config.h.in
+@@ -114,7 +114,9 @@
+
+ /* Define as `__inline' if that's what the C compiler calls it, or to nothing
+ if it is not supported. */
++#ifndef __clang__
+ #undef inline
++#endif
+
+ /* Define as `__restrict' if that's what the C compiler calls it, or to
+ nothing if it is not supported. */