pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/portaudio portaudio: Add missing patch + debug o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/957c9883680a
branches:  trunk
changeset: 416673:957c9883680a
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Oct 28 15:32:24 2019 +0000

description:
portaudio: Add missing patch + debug option.

diffstat:

 audio/portaudio/distinfo                |   4 ++--
 audio/portaudio/options.mk              |   8 ++++++--
 audio/portaudio/patches/patch-configure |  14 ++++++++++++++
 3 files changed, 22 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r ea93bbe7a8eb -r 957c9883680a audio/portaudio/distinfo
--- a/audio/portaudio/distinfo  Mon Oct 28 15:10:23 2019 +0000
+++ b/audio/portaudio/distinfo  Mon Oct 28 15:32:24 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.18 2019/10/26 17:22:07 nia Exp $
+$NetBSD: distinfo,v 1.19 2019/10/28 15:32:24 nia Exp $
 
 SHA1 (pa_stable_v190600_20161030.tgz) = 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8
 RMD160 (pa_stable_v190600_20161030.tgz) = e6e5cd3f3cb7469aa17549c189e445d573567e13
 SHA512 (pa_stable_v190600_20161030.tgz) = 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c
 Size (pa_stable_v190600_20161030.tgz) = 1450572 bytes
-SHA1 (patch-configure) = 79c78737a8812adfb9d03dc395f63951d53a440b
+SHA1 (patch-configure) = 6db6442804f44ddadddd91252d1c7c66dc812d6a
 SHA1 (patch-include_pa__unix__oss.h) = 55213cf8dfa4f81b8be23c912deddd8cc8b8117f
 SHA1 (patch-include_portaudio.h) = fc5ea598b2e6fc80a0e106a400ffab521ea3cf4e
 SHA1 (patch-src_common_pa__front.c) = cdddb6f537f803b55873ad6bfa936a6bff47556d
diff -r ea93bbe7a8eb -r 957c9883680a audio/portaudio/options.mk
--- a/audio/portaudio/options.mk        Mon Oct 28 15:10:23 2019 +0000
+++ b/audio/portaudio/options.mk        Mon Oct 28 15:32:24 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2019/10/20 11:10:49 nia Exp $
+# $NetBSD: options.mk,v 1.2 2019/10/28 15:32:24 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.portaudio
-PKG_SUPPORTED_OPTIONS=         alsa jack
+PKG_SUPPORTED_OPTIONS=         alsa jack debug
 PKG_SUGGESTED_OPTIONS.Linux=   alsa
 
 .include "../../mk/bsd.options.mk"
@@ -21,3 +21,7 @@
 .else
 CONFIGURE_ARGS+=       --without-jack
 .endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-debug-output
+.endif
diff -r ea93bbe7a8eb -r 957c9883680a audio/portaudio/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/portaudio/patches/patch-configure   Mon Oct 28 15:32:24 2019 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2019/10/28 15:32:24 nia Exp $
+
+Add features needed to make portmixer work in audacity.
+
+--- configure.orig     2019-10-26 15:04:10.445128377 +0000
++++ configure
+@@ -16200,6 +16200,7 @@ fi
+                    DLL_LIBS="$DLL_LIBS -lossaudio"
+                    LIBS="$LIBS -lossaudio"
+            fi
++           INCLUDES="$INCLUDES pa_unix_oss.h"
+            $as_echo "#define PA_USE_OSS 1" >>confdefs.h
+ 
+         fi



Home | Main Index | Thread Index | Old Index