diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-03-28 09:10:56 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-03-28 09:10:56 +0000 |
commit | 79e855de9b26d041a006801899941d1b7f4fffc7 (patch) | |
tree | 3636b4f687922b412bf80a9362a15ac157d1e5fa | |
parent | aeceda41100105f9638ce0c9ce375b3de7f1089e (diff) | |
download | pkgsrc-79e855de9b26d041a006801899941d1b7f4fffc7.tar.gz |
Include limits.h for PATH_MAX on SunOS.
-rw-r--r-- | audio/alsa-lib/distinfo | 4 | ||||
-rw-r--r-- | audio/alsa-lib/patches/patch-src_ucm_parser.c | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/audio/alsa-lib/distinfo b/audio/alsa-lib/distinfo index e00a024607b..269ad8d54a6 100644 --- a/audio/alsa-lib/distinfo +++ b/audio/alsa-lib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.24 2017/02/22 14:48:08 wiz Exp $ +$NetBSD: distinfo,v 1.25 2017/03/28 09:10:56 jperkin Exp $ SHA1 (alsa-lib-1.1.3.tar.bz2) = 8ef0b9725296ac8f24e06f20196f5b2b62ab27a9 RMD160 (alsa-lib-1.1.3.tar.bz2) = 36fb2c889411e23be1084a432d200d40fb70e920 @@ -21,4 +21,4 @@ SHA1 (patch-src_control_control__hw.c) = 07cfe3abe586b32f6b989403cd162599da07e86 SHA1 (patch-src_pcm_pcm__mmap.c) = 2d0f05aa53b30cef1ec083aa4f5d559d0a679058 SHA1 (patch-src_seq_seq__midi__event.c) = 2a5de492d6ca19a0f0c564e8f5a065e5fc57ea5c SHA1 (patch-src_shmarea.c) = d6d0876ae7911ff16138bb82a3b1c79e795218cf -SHA1 (patch-src_ucm_parser.c) = 13dc6b85281d996450c1010cec1bc6e9e87e6b3c +SHA1 (patch-src_ucm_parser.c) = ebb986cc3048061adcf9fc6bc60a9d3ffd52ceec diff --git a/audio/alsa-lib/patches/patch-src_ucm_parser.c b/audio/alsa-lib/patches/patch-src_ucm_parser.c index ca57d096116..b22017f5563 100644 --- a/audio/alsa-lib/patches/patch-src_ucm_parser.c +++ b/audio/alsa-lib/patches/patch-src_ucm_parser.c @@ -1,10 +1,19 @@ -$NetBSD: patch-src_ucm_parser.c,v 1.4 2016/04/15 08:47:50 wiz Exp $ +$NetBSD: patch-src_ucm_parser.c,v 1.5 2017/03/28 09:10:57 jperkin Exp $ * SunOS has no dirent d_type +* Include limits.h for PATH_MAX. ---- src/ucm/parser.c.orig 2013-07-08 12:31:36.000000000 +0000 +--- src/ucm/parser.c.orig 2016-12-20 14:43:20.000000000 +0000 +++ src/ucm/parser.c -@@ -1224,9 +1224,17 @@ int uc_mgr_import_master_config(snd_use_ +@@ -32,6 +32,7 @@ + + #include "ucm_local.h" + #include <dirent.h> ++#include <limits.h> + + /** The name of the environment variable containing the UCM directory */ + #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM" +@@ -1368,9 +1369,17 @@ int uc_mgr_import_master_config(snd_use_ static int filename_filter(const struct dirent *dirent) { |