aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-lib
diff options
context:
space:
mode:
authorBreno Leitao <breno.leitao@gmail.com>2017-02-20 18:51:42 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-21 06:14:22 +0000
commit42bd214685d40c1a3cdfb53ca9e33761b4d90204 (patch)
treee1f05b7dcfa32a39aa714612f1489d1ea48a170a /main/alsa-lib
parentdf1e151ed46e58ec7993f08dde9046ff2afc6a5f (diff)
downloadaports-42bd214685d40c1a3cdfb53ca9e33761b4d90204.tar.bz2
aports-42bd214685d40c1a3cdfb53ca9e33761b4d90204.tar.xz
main/alsa-lib: Add "limits.h" as a dependency for ucm/parser.c
Currently ucm/parser.c uses PATH_MAX that is defined by limits.h. ucm/parser.c does not include limits.h, thus, it casues a FTBFS on ppc64le On amd64, it does not FTBFS since PATH_MAX seems to come from a different place.
Diffstat (limited to 'main/alsa-lib')
-rw-r--r--main/alsa-lib/APKBUILD10
-rw-r--r--main/alsa-lib/ucm_add_limits_h.patch10
2 files changed, 17 insertions, 3 deletions
diff --git a/main/alsa-lib/APKBUILD b/main/alsa-lib/APKBUILD
index 4c56519978..dae4ef244d 100644
--- a/main/alsa-lib/APKBUILD
+++ b/main/alsa-lib/APKBUILD
@@ -12,6 +12,7 @@ makedepends="linux-headers"
source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2
alsa-lib-poll.patch
alsa-lib-stdint.patch
+ ucm_add_limits_h.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -52,10 +53,13 @@ package() {
md5sums="eefe5992567ba00d6110a540657aaf5c alsa-lib-1.1.3.tar.bz2
8005b9b9c2aad55912f87e0829437c17 alsa-lib-poll.patch
-1349b595ef97c42873b917b2cf7c0e37 alsa-lib-stdint.patch"
+1349b595ef97c42873b917b2cf7c0e37 alsa-lib-stdint.patch
+c552ede907722a4fccf5217f7f5e97ba ucm_add_limits_h.patch"
sha256sums="71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c alsa-lib-1.1.3.tar.bz2
b4f5c664756868ba68b170b8b74f5deebdade3b83349e2073a500caece6e0af1 alsa-lib-poll.patch
-5cd15e2bbccf72d04a20db9f11bdd4dee3342f5c365d8141450916e263d9aebc alsa-lib-stdint.patch"
+5cd15e2bbccf72d04a20db9f11bdd4dee3342f5c365d8141450916e263d9aebc alsa-lib-stdint.patch
+9663e66579fd15901c52b72815612035565b793fa3d9b6cca0d774dab1b4b4c9 ucm_add_limits_h.patch"
sha512sums="f5dbe2375a8c66af14378314a5238284d4ed63dfc86a750c0c6e8f6cdb6b1ea2d8ef26f870b5d152dc0b77d9b40821cab523f6734902b91583beb08e28c66850 alsa-lib-1.1.3.tar.bz2
bdf86a1b76b2e6e9b43af33989fe51e4900fa0c6f317d8d746f30c540df647dbe0f6d41ec35b36b1cf7e46cc5e910e0a62bc39c765f849356ecd6e98d1de5885 alsa-lib-poll.patch
-2351262dade9a3c1a3de1b7d1a3a53a634a438b9b8aae7cc69e2b981500051f039e6381359b81392114ec6236e3d513b577bd4bf12c3d2ce1f871cd7651b2cab alsa-lib-stdint.patch"
+2351262dade9a3c1a3de1b7d1a3a53a634a438b9b8aae7cc69e2b981500051f039e6381359b81392114ec6236e3d513b577bd4bf12c3d2ce1f871cd7651b2cab alsa-lib-stdint.patch
+3b37652d50809443b5f8e80f8d447108195b0cd66fd917805bb393fc091584b6f3dad4414f568742b61745617e7a695862058a0a0f93dcc31e4c97177a520352 ucm_add_limits_h.patch"
diff --git a/main/alsa-lib/ucm_add_limits_h.patch b/main/alsa-lib/ucm_add_limits_h.patch
new file mode 100644
index 0000000000..2686dddd14
--- /dev/null
+++ b/main/alsa-lib/ucm_add_limits_h.patch
@@ -0,0 +1,10 @@
+--- a/src/ucm/parser.c
++++ b/src/ucm/parser.c
+@@ -31,6 +31,7 @@
+ */
+
+ #include "ucm_local.h"
++#include <limits.h>
+ #include <dirent.h>
+
+ /** The name of the environment variable containing the UCM directory */