summaryrefslogtreecommitdiff
path: root/audio/mt-daapd/patches/patch-ab
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-06 16:41:26 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-06 16:41:26 +0000
commitf2efa746a511f0f3ca21a7d50a20c155bb122e5a (patch)
treeac0ea790bf8e3ce09de558c41feea106b74ff5fb /audio/mt-daapd/patches/patch-ab
parentac296c9a544b15a45779485aa4b20d0ab4ee4a2e (diff)
downloadpkgsrc-f2efa746a511f0f3ca21a7d50a20c155bb122e5a.tar.gz
s/MAXNAMLEN/NAME_MAX/ and fix pthread test in configure.
Diffstat (limited to 'audio/mt-daapd/patches/patch-ab')
-rw-r--r--audio/mt-daapd/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mt-daapd/patches/patch-ab b/audio/mt-daapd/patches/patch-ab
new file mode 100644
index 00000000000..15264da6234
--- /dev/null
+++ b/audio/mt-daapd/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/12/06 16:41:26 joerg Exp $
+
+--- src/mp3-scanner.c.orig 2006-12-06 16:35:37.000000000 +0000
++++ src/mp3-scanner.c
+@@ -378,7 +378,7 @@ int scan_init(char *path) {
+ */
+ 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 */
+ struct dirent *pde;
+ int err;
+ char mp3_path[PATH_MAX];