pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/portaudio portaudio: Fix detection of sun



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ec9085e32cf
branches:  trunk
changeset: 428118:2ec9085e32cf
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Apr 25 09:41:31 2020 +0000

description:
portaudio: Fix detection of sun

diffstat:

 audio/portaudio/distinfo                   |  4 ++--
 audio/portaudio/patches/patch-configure.in |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r 59628c28367a -r 2ec9085e32cf audio/portaudio/distinfo
--- a/audio/portaudio/distinfo  Sat Apr 25 06:54:32 2020 +0000
+++ b/audio/portaudio/distinfo  Sat Apr 25 09:41:31 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2020/04/17 15:50:03 nia Exp $
+$NetBSD: distinfo,v 1.23 2020/04/25 09:41:31 nia Exp $
 
 SHA1 (pa_stable_v190600_20161030.tgz) = 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8
 RMD160 (pa_stable_v190600_20161030.tgz) = e6e5cd3f3cb7469aa17549c189e445d573567e13
@@ -6,7 +6,7 @@
 Size (pa_stable_v190600_20161030.tgz) = 1450572 bytes
 SHA1 (patch-Makefile.in) = 28f587f171b4a504e3982e6f8fcf3f148e5aa5c9
 SHA1 (patch-bindings_cpp_Makefile.am) = bcd45cba537c867ed9b2e20e1468e9f16ed0b3f7
-SHA1 (patch-configure.in) = 4241ddc620e50364aa86fe583a6d8709fdf833ee
+SHA1 (patch-configure.in) = 9ccc782631a6aaa9e2c7b8390a6b527ead25d0a5
 SHA1 (patch-include_pa__unix__oss.h) = 8e4ede09d5bf730bf8c2e8ca4aca6f700f58f2f7
 SHA1 (patch-include_portaudio.h) = 9a2e4aeb126056aded5cc49c40cde40e16738757
 SHA1 (patch-src_common_pa__front.c) = cdddb6f537f803b55873ad6bfa936a6bff47556d
diff -r 59628c28367a -r 2ec9085e32cf audio/portaudio/patches/patch-configure.in
--- a/audio/portaudio/patches/patch-configure.in        Sat Apr 25 06:54:32 2020 +0000
+++ b/audio/portaudio/patches/patch-configure.in        Sat Apr 25 09:41:31 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-configure.in,v 1.1 2020/04/17 15:50:03 nia Exp $
+$NetBSD: patch-configure.in,v 1.2 2020/04/25 09:41:32 nia Exp $
 
 - Sun/NetBSD audio support
 - Install extra headers needed by portmixer in Audacity for OSS.
-- Don't use -pthread
+- Don't use -lpthread
 
 --- configure.in.orig  2016-10-30 01:23:04.000000000 +0000
 +++ configure.in
@@ -23,7 +23,7 @@
  fi
 +have_sun=no
 +if test "x$with_sun" != "xno"; then
-+    AC_CHECK_HEADERS([sys/audioio.h], [have_sun=yes])
++    AC_CHECK_HEADERS([sys/audioio.h], [have_sun=yes], [have_sun=no])
 +fi
  have_jack=no
  if test "x$with_jack" != "xno"; then
@@ -40,7 +40,7 @@
             AC_DEFINE(PA_USE_OSS,1)
          fi
  
-+        if [[ "$with_sun" != "no" ]] ; then
++        if [[ "$have_sun" = "yes" ] && [ "$with_sun" != "no" ]] ; then
 +           OTHER_OBJS="$OTHER_OBJS src/hostapi/sun/pa_unix_sun.o"
 +           AC_DEFINE(PA_USE_SUN,1)
 +        fi



Home | Main Index | Thread Index | Old Index