pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/liba52 Don't inline when using Clang.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c7974a820a9
branches:  trunk
changeset: 626039:9c7974a820a9
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 30 18:59:06 2013 +0000

description:
Don't inline when using Clang.

diffstat:

 audio/liba52/distinfo                          |   3 ++-
 audio/liba52/patches/patch-include_config.h.in |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r f2cf334d6b73 -r 9c7974a820a9 audio/liba52/distinfo
--- a/audio/liba52/distinfo     Wed Oct 30 17:56:23 2013 +0000
+++ b/audio/liba52/distinfo     Wed Oct 30 18:59:06 2013 +0000
@@ -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-ab) = 79341f97816b93731bdb5999957e36f36b30e63a
 SHA1 (patch-ac) = d226b58ae1314deaa8c938d39669139bd513be18
 SHA1 (patch-ad) = 680e399e79211fb3f788111d5221c5f8227f23b6
+SHA1 (patch-include_config.h.in) = d76affe2af958f43be0843df11e560cc9a4a401c
diff -r f2cf334d6b73 -r 9c7974a820a9 audio/liba52/patches/patch-include_config.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/liba52/patches/patch-include_config.h.in    Wed Oct 30 18:59:06 2013 +0000
@@ -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. */



Home | Main Index | Thread Index | Old Index