aboutsummaryrefslogtreecommitdiff
path: root/extra/alsa-utils
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-06-02 21:11:16 +0300
committerCem Keylan <cem@ckyln.com>2021-06-02 21:11:16 +0300
commit0a665d2ffdec60d28cc2395ca8a10ad322e1301c (patch)
treed840cf829959c99f4641ce1ff918bb3a03a41b74 /extra/alsa-utils
parentb6ce49319cc6768230f4fdfc697ffde5bb7a13ce (diff)
downloadrepository-0a665d2ffdec60d28cc2395ca8a10ad322e1301c.tar.gz
alsa-utils: bump to 1.2.5
Diffstat (limited to 'extra/alsa-utils')
-rwxr-xr-xextra/alsa-utils/build2
-rw-r--r--extra/alsa-utils/checksums3
-rw-r--r--extra/alsa-utils/patches/fix-limits.patch11
-rw-r--r--extra/alsa-utils/sources3
-rw-r--r--extra/alsa-utils/version2
5 files changed, 18 insertions, 3 deletions
diff --git a/extra/alsa-utils/build b/extra/alsa-utils/build
index 0caf0176..4db2beaf 100755
--- a/extra/alsa-utils/build
+++ b/extra/alsa-utils/build
@@ -1,5 +1,7 @@
#!/bin/sh -e
+patch -p1 < fix-limits.patch
+
./configure \
--disable-alsaconf \
--disable-bat \
diff --git a/extra/alsa-utils/checksums b/extra/alsa-utils/checksums
index 18ef1200..97a48367 100644
--- a/extra/alsa-utils/checksums
+++ b/extra/alsa-utils/checksums
@@ -1 +1,2 @@
-98ffc2d599de0577d423a48fa5f20a992ca0b82d812ed1f2e58ade49ac6da426 alsa-utils-1.2.4.tar.bz2
+09970af05838b30001ca93ba27cb85b24c45056c70a80066c3ece6abe5a19997 alsa-utils-1.2.5.tar.bz2
+480ab531fd72ffa5682c3ab56c354a3d26c43630ffba42843a79be73ec163951 fix-limits.patch
diff --git a/extra/alsa-utils/patches/fix-limits.patch b/extra/alsa-utils/patches/fix-limits.patch
new file mode 100644
index 00000000..59d91215
--- /dev/null
+++ b/extra/alsa-utils/patches/fix-limits.patch
@@ -0,0 +1,11 @@
+diff -ur alsa-utils/alsactl/utils.c alsa-utils-patch/alsactl/utils.c
+--- alsa-utils/alsactl/utils.c 2021-05-27 20:18:36.000000000 +0300
++++ alsa-utils-patch/alsactl/utils.c 2021-06-02 21:09:22.160755213 +0300
+@@ -30,6 +30,7 @@
+ #include <syslog.h>
+ #include <sys/stat.h>
+ #include <sys/mman.h>
++#include <limits.h>
+ #include "alsactl.h"
+
+ int file_map(const char *filename, char **buf, size_t *bufsize)
diff --git a/extra/alsa-utils/sources b/extra/alsa-utils/sources
index d5409c82..9c854fa4 100644
--- a/extra/alsa-utils/sources
+++ b/extra/alsa-utils/sources
@@ -1 +1,2 @@
-https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.4.tar.bz2
+https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.5.tar.bz2
+patches/fix-limits.patch
diff --git a/extra/alsa-utils/version b/extra/alsa-utils/version
index d66671c6..be660e42 100644
--- a/extra/alsa-utils/version
+++ b/extra/alsa-utils/version
@@ -1 +1 @@
-1.2.4 1
+1.2.5 1