summaryrefslogtreecommitdiff
path: root/audio/mt-daapd/patches
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 19:51:26 +0000
committerhans <hans@pkgsrc.org>2012-01-11 19:51:26 +0000
commit65c4bdb924e1457f57516097a448e50a22cfcb04 (patch)
tree963945da1e5e1df7ea75d45d6e2c36c691e59fbd /audio/mt-daapd/patches
parent0335f5d8289eeb47510d2b47d38bc8aa6dd1e522 (diff)
downloadpkgsrc-65c4bdb924e1457f57516097a448e50a22cfcb04.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/mt-daapd/patches')
-rw-r--r--audio/mt-daapd/patches/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/mt-daapd/patches/patch-ab b/audio/mt-daapd/patches/patch-ab
index 15264da6234..8aaade9f7d4 100644
--- a/audio/mt-daapd/patches/patch-ab
+++ b/audio/mt-daapd/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2006/12/06 16:41:26 joerg Exp $
+$NetBSD: patch-ab,v 1.2 2012/01/11 19:55:56 hans Exp $
--- src/mp3-scanner.c.orig 2006-12-06 16:35:37.000000000 +0000
+++ src/mp3-scanner.c
@@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.1 2006/12/06 16:41:26 joerg Exp $
int scan_path(char *path) {
DIR *current_dir;
- char de[sizeof(struct dirent) + MAXNAMLEN + 1]; /* overcommit for solaris */
-+ char de[sizeof(struct dirent) + NAME_MAX + 1]; /* overcommit for solaris */
++ char de[sizeof(struct dirent) + FILENAME_MAX + 1]; /* overcommit for solaris */
struct dirent *pde;
int err;
char mp3_path[PATH_MAX];