summaryrefslogtreecommitdiff
path: root/audio/liba52
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-10-30 18:59:06 +0000
committeradam <adam@pkgsrc.org>2013-10-30 18:59:06 +0000
commit295935f0299f44ef1032a077dfe09306d806f9a6 (patch)
tree90826874e00c4a65ae21dc5032c7e0789b799b50 /audio/liba52
parentaf4ee59fa12d049a5c0072f2ef3bec9e84d03a16 (diff)
downloadpkgsrc-295935f0299f44ef1032a077dfe09306d806f9a6.tar.gz
Don't inline when using Clang.
Diffstat (limited to 'audio/liba52')
-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. */