pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/audacity Don't force -latomic unconditionally wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5974efca249
branches:  trunk
changeset: 419429:a5974efca249
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 18 12:36:51 2019 +0000

description:
Don't force -latomic unconditionally with clang.

diffstat:

 audio/audacity/distinfo                   |   4 +++-
 audio/audacity/patches/patch-configure    |  17 +++++++++++++++++
 audio/audacity/patches/patch-configure.ac |  21 +++++++++++++++++++++
 3 files changed, 41 insertions(+), 1 deletions(-)

diffs (64 lines):

diff -r 31ef6a252c03 -r a5974efca249 audio/audacity/distinfo
--- a/audio/audacity/distinfo   Wed Dec 18 04:49:47 2019 +0000
+++ b/audio/audacity/distinfo   Wed Dec 18 12:36:51 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2019/11/24 00:47:34 nia Exp $
+$NetBSD: distinfo,v 1.41 2019/12/18 12:36:51 joerg Exp $
 
 SHA1 (audacity-2.3.3.tar.gz) = 4c8c980208c18eda152b857ed1f81a1f5cbd108a
 RMD160 (audacity-2.3.3.tar.gz) = a3a6f2eae80d9b46fce7741c53646f6a0b499084
@@ -6,6 +6,8 @@
 Size (audacity-2.3.3.tar.gz) = 62099027 bytes
 SHA1 (patch-Makefile.in) = 2aca8c2ae0af7863f8f090a707c08fba693c7c86
 SHA1 (patch-aa) = 67c0ec5ff99004d9035de13f0263add46ed8c994
+SHA1 (patch-configure) = 2cf208a6104c73c761156e2373d21af64606c31e
+SHA1 (patch-configure.ac) = b34f733208080d57b30877d762e61a3d3fdec888
 SHA1 (patch-lib-src_FileDialog_Makefile.am) = efa6ca612f3984a4cf8150e3c624e347d144af87
 SHA1 (patch-lib-src_FileDialog_Makefile.in) = 44ca2539d68ab3951ae44377ed56f574785c1b08
 SHA1 (patch-lib-src_lib-widget-extra_Makefile.am) = 03d080c141259fbf02a9c5a70ce06625fcebf75e
diff -r 31ef6a252c03 -r a5974efca249 audio/audacity/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/audacity/patches/patch-configure    Wed Dec 18 12:36:51 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2019/12/18 12:36:51 joerg Exp $
+
+Don't force -latomic for clang.
+
+--- configure.orig     2019-12-13 12:16:52.853439357 +0000
++++ configure
+@@ -19205,10 +19205,6 @@ if test x$enable_universal_binary = xyes
+    esac
+ fi
+ 
+-if ($CXX --version | grep 'clang version' > /dev/null); then
+-    LDFLAGS="${LDFLAGS} -latomic"
+-fi
+-
+ if test x$enable_sse = xyes; then
+ 
+    if test "${ax_cv_cxx_compiler_vendor}" = "gnu"; then
diff -r 31ef6a252c03 -r a5974efca249 audio/audacity/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/audacity/patches/patch-configure.ac Wed Dec 18 12:36:51 2019 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-configure.ac,v 1.1 2019/12/18 12:36:51 joerg Exp $
+
+Don't force -latomic for clang.
+
+--- configure.ac.orig  2019-12-13 12:16:28.334317787 +0000
++++ configure.ac
+@@ -200,14 +200,6 @@ if test x$enable_universal_binary = xyes
+    esac
+ fi
+ 
+-dnl Check if $CXX is clang by evaluating the version string because
+-dnl $ax_cv_cxx_compiler_vendor seems not to work (it is either "gnu" or just empty).
+-dnl If $CXX is clang (string is found), grep returns 0 and the if is executed.
+-dnl Use /dev/null to suppress grep output to shell.
+-if ($CXX --version | grep 'clang version' > /dev/null); then
+-    LDFLAGS="${LDFLAGS} -latomic"
+-fi
+-
+ if test x$enable_sse = xyes; then
+ 
+    if test "${ax_cv_cxx_compiler_vendor}" = "gnu"; then



Home | Main Index | Thread Index | Old Index