summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2021-08-10 20:39:51 +0000
committertriaxx <triaxx@pkgsrc.org>2021-08-10 20:39:51 +0000
commit764ac04af245779b8059fe6bfff8822d0d60069e (patch)
tree263f1044ff3819ef1712da84fabd7119a9d61199
parentb1dec5f5a891494199f16b1f5e9ab243349ace2e (diff)
downloadpkgsrc-764ac04af245779b8059fe6bfff8822d0d60069e.tar.gz
alsa-lib: Fix building of audio/alsa-utils
pkgsrc changes: --------------- * Add patches to explicitly include stdarg.h in header files that use va_list. They could be removed if the following pull request is accepted: https://github.com/alsa-project/alsa-lib/pull/169 * Bump revision.
-rw-r--r--audio/alsa-lib/Makefile3
-rw-r--r--audio/alsa-lib/distinfo4
-rw-r--r--audio/alsa-lib/patches/patch-include_error.h17
-rw-r--r--audio/alsa-lib/patches/patch-include_output.h17
4 files changed, 39 insertions, 2 deletions
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile
index c4baf1ce843..9e7275643e6 100644
--- a/audio/alsa-lib/Makefile
+++ b/audio/alsa-lib/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2021/06/28 10:10:50 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2021/08/10 20:39:51 triaxx Exp $
DISTNAME= alsa-lib-1.2.5.1
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.alsa-project.org/pub/lib/
EXTRACT_SUFX= .tar.bz2
diff --git a/audio/alsa-lib/distinfo b/audio/alsa-lib/distinfo
index e0431dfce24..b7371d7fd63 100644
--- a/audio/alsa-lib/distinfo
+++ b/audio/alsa-lib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2021/06/28 10:10:50 wiz Exp $
+$NetBSD: distinfo,v 1.31 2021/08/10 20:39:51 triaxx Exp $
SHA1 (alsa-lib-1.2.5.1.tar.bz2) = 842612c57e47c36b6f0f9f08de8255f6ba7ba065
RMD160 (alsa-lib-1.2.5.1.tar.bz2) = bdffee4ce2f51f643a7264d475c1ec1c475ebc8e
@@ -14,6 +14,8 @@ SHA1 (patch-bi) = 7e74ebe53cc2ab273f5235775e391a6ef28d1006
SHA1 (patch-bj) = 5b7a36747e57e41eddb05cd1b1d9771a36b0c4f7
SHA1 (patch-bk) = 55754e4d0ac947c2e7e59b604a21fb5798ae5b39
SHA1 (patch-configure.ac) = cc034d07eab13caa5ff8748e8eea37ae9dd367f5
+SHA1 (patch-include_error.h) = 9e92d4a51badda1d46305d1e5e36b8197788aa89
+SHA1 (patch-include_output.h) = 0a073b53c40293aa7cfa250586c087084002eefe
SHA1 (patch-include_sound_asound.h) = 5d85d804fec62250d2a3e5d269397641e13bc957
SHA1 (patch-include_sound_type__compat.h) = a5dea86a0fd998d35147820269786d2cf8eff5e0
SHA1 (patch-include_sound_uapi_asoc.h) = 5f1da418a2ad4ae066b34c75c9106108711b5d3d
diff --git a/audio/alsa-lib/patches/patch-include_error.h b/audio/alsa-lib/patches/patch-include_error.h
new file mode 100644
index 00000000000..2004f638482
--- /dev/null
+++ b/audio/alsa-lib/patches/patch-include_error.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_error.h,v 1.1 2021/08/10 20:39:51 triaxx Exp $
+
+Fix building of audio/alsa-utils.
+To be removed if the following pull request is accepted:
+https://github.com/alsa-project/alsa-lib/pull/169
+
+--- include/error.h.orig 2021-06-14 10:28:44.000000000 +0000
++++ include/error.h
+@@ -32,6 +32,8 @@
+ extern "C" {
+ #endif
+
++#include <stdarg.h>
++
+ /**
+ * \defgroup Error Error handling
+ * Error handling macros and functions.
diff --git a/audio/alsa-lib/patches/patch-include_output.h b/audio/alsa-lib/patches/patch-include_output.h
new file mode 100644
index 00000000000..16d9cac674f
--- /dev/null
+++ b/audio/alsa-lib/patches/patch-include_output.h
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_output.h,v 1.1 2021/08/10 20:39:51 triaxx Exp $
+
+Fix building of audio/alsa-utils.
+To be removed if the following pull request is accepted:
+https://github.com/alsa-project/alsa-lib/pull/169
+
+--- include/output.h.orig 2021-06-14 10:28:44.000000000 +0000
++++ include/output.h
+@@ -32,6 +32,8 @@
+ extern "C" {
+ #endif
+
++#include <stdarg.h>
++
+ /**
+ * \defgroup Output Output Interface
+ *