diff options
author | hans <hans> | 2012-01-11 19:51:26 +0000 |
---|---|---|
committer | hans <hans> | 2012-01-11 19:51:26 +0000 |
commit | c62be9ca4508316fe053c47953fcf2f6a13d5acb (patch) | |
tree | 963945da1e5e1df7ea75d45d6e2c36c691e59fbd /audio/mt-daapd | |
parent | 48b7679328d1d9e213ee2103f76abdff333e6fe0 (diff) | |
download | pkgsrc-c62be9ca4508316fe053c47953fcf2f6a13d5acb.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'audio/mt-daapd')
-rw-r--r-- | audio/mt-daapd/Makefile | 4 | ||||
-rw-r--r-- | audio/mt-daapd/distinfo | 4 | ||||
-rw-r--r-- | audio/mt-daapd/patches/patch-ab | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/audio/mt-daapd/Makefile b/audio/mt-daapd/Makefile index e655807e586..eb6ecd3a515 100644 --- a/audio/mt-daapd/Makefile +++ b/audio/mt-daapd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2011/08/23 13:06:46 obache Exp $ +# $NetBSD: Makefile,v 1.12 2012/01/11 19:55:55 hans Exp $ DISTNAME= mt-daapd-0.2.4.2 PKGREVISION= 2 @@ -18,6 +18,8 @@ GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" +CPPFLAGS.SunOS+= -std=c99 -Du_int32_t=uint32_t + RCD_SCRIPTS= mtdaapd EGDIR= ${PREFIX}/share/examples/${PKGBASE} MTDAAPD_USER?= mtdaapd diff --git a/audio/mt-daapd/distinfo b/audio/mt-daapd/distinfo index 1b121946b05..ceea8597d4c 100644 --- a/audio/mt-daapd/distinfo +++ b/audio/mt-daapd/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.5 2008/11/23 22:57:05 tron Exp $ +$NetBSD: distinfo,v 1.6 2012/01/11 19:55:55 hans Exp $ SHA1 (mt-daapd-0.2.4.2.tar.gz) = 5f1c04100b1d18a9cf6f03f879b5c3e9a7bd172f RMD160 (mt-daapd-0.2.4.2.tar.gz) = 918b76ffe3af7b0413be1cbbafdd11274f5d3e9d Size (mt-daapd-0.2.4.2.tar.gz) = 436513 bytes SHA1 (patch-aa) = e177bb33c19badb1da8638af61a3c3bfddf2a2ad -SHA1 (patch-ab) = be78b7f5089d3283e0cb9ee3c64a4a53360899d7 +SHA1 (patch-ab) = 33eb0e43fbef31ede52660af24350ca0ac52e434 SHA1 (patch-ac) = 363a0a2ec43b7fcc8fbff75ce13885cf9969e0a4 SHA1 (patch-ad) = ec48904eaf6cb77448f04cfe5022411b8bda9ae1 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]; |