aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-lib/ucm_add_limits_h.patch
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/ucm_add_limits_h.patch
parentdf1e151ed46e58ec7993f08dde9046ff2afc6a5f (diff)
downloadaports-42bd214685d40c1a3cdfb53ca9e33761b4d90204.tar.gz
aports-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/ucm_add_limits_h.patch')
-rw-r--r--main/alsa-lib/ucm_add_limits_h.patch10
1 files changed, 10 insertions, 0 deletions
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 */