[Buildroot] [PATCH v2 1/1] package/libao: bump version to 1.2.2
Bernd Kuhls
bernd at kuhls.net
Sat Oct 4 12:17:05 UTC 2025
Added upstream patch to fix a missing include, autobuild did not record
any build errors but Arch Linux provides the patch:
https://gitlab.archlinux.org/archlinux/packaging/packages/libao/-/commit/bad3196d4e3030d31b01eb3bd41fff8afc8ca113
Switched to gitlab tarball because the previous site does not provide a
tarball for version 1.2.2 which was tagged in 2016:
https://gitlab.xiph.org/xiph/libao/-/tags/1.2.2
Added autoreconf due to usage of gitlab tarball which does not contain
a configure script.
Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
v2: added patch 0001
...issing-include-warning-for-nanosleep.patch | 27 +++++++++++++++++++
package/libao/libao.hash | 6 ++---
package/libao/libao.mk | 5 ++--
3 files changed, 32 insertions(+), 6 deletions(-)
create mode 100644 package/libao/0001-pulse-fix-missing-include-warning-for-nanosleep.patch
diff --git a/package/libao/0001-pulse-fix-missing-include-warning-for-nanosleep.patch b/package/libao/0001-pulse-fix-missing-include-warning-for-nanosleep.patch
new file mode 100644
index 0000000000..162eec730f
--- /dev/null
+++ b/package/libao/0001-pulse-fix-missing-include-warning-for-nanosleep.patch
@@ -0,0 +1,27 @@
+From 1f998f5d6d77674dad01b181811638578ad68242 Mon Sep 17 00:00:00 2001
+From: Tristan Matthews <tmatth at videolan.org>
+Date: Sun, 15 Jan 2017 12:15:07 -0500
+Subject: [PATCH] pulse: fix missing include warning for nanosleep
+
+Upstream: https://gitlab.xiph.org/xiph/libao/-/commit/1f998f5d6d77674dad01b181811638578ad68242
+
+Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
+---
+ src/plugins/pulse/ao_pulse.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/plugins/pulse/ao_pulse.c b/src/plugins/pulse/ao_pulse.c
+index 9835273..2d10d57 100644
+--- a/src/plugins/pulse/ao_pulse.c
++++ b/src/plugins/pulse/ao_pulse.c
+@@ -30,6 +30,7 @@
+ #include <assert.h>
+ #include <string.h>
+ #include <signal.h>
++#include <time.h>
+ #include <limits.h>
+
+ #include <pulse/pulseaudio.h>
+--
+GitLab
+
diff --git a/package/libao/libao.hash b/package/libao/libao.hash
index 91c6bd11a7..70e6b4987e 100644
--- a/package/libao/libao.hash
+++ b/package/libao/libao.hash
@@ -1,5 +1,3 @@
-# From http://downloads.xiph.org/releases/ao/SHA256SUMS.txt
-sha256 03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf libao-1.2.0.tar.gz
-
-# Hash for license file:
+# Locally computed
+sha256 df8a6d0e238feeccb26a783e778716fb41a801536fe7b6fce068e313c0e2bf4d libao-1.2.2.tar.gz
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
diff --git a/package/libao/libao.mk b/package/libao/libao.mk
index 19a4c165c6..a9fd739ff3 100644
--- a/package/libao/libao.mk
+++ b/package/libao/libao.mk
@@ -4,13 +4,14 @@
#
################################################################################
-LIBAO_VERSION = 1.2.0
-LIBAO_SITE = http://downloads.xiph.org/releases/ao
+LIBAO_VERSION = 1.2.2
+LIBAO_SITE = https://gitlab.xiph.org/xiph/libao/-/archive/$(LIBAO_VERSION)
LIBAO_DEPENDENCIES = host-pkgconf
LIBAO_INSTALL_STAGING = YES
LIBAO_LICENSE = GPL-2.0+
LIBAO_LICENSE_FILES = COPYING
LIBAO_CPE_ID_VENDOR = xiph
+LIBAO_AUTORECONF = YES
LIBAO_CONF_OPTS = \
--disable-esd \
--disable-wmm \
--
2.47.3
More information about the buildroot
mailing list