diff options
author | joerg <joerg> | 2013-03-28 21:36:21 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-03-28 21:36:21 +0000 |
commit | f9b73078e9c98df80aaf782a610f75ac75e47eab (patch) | |
tree | a3732ac08e12dbc5700f80d2cba703a7b54f59c0 /net | |
parent | 68745b1d762cb1b0f4a3542d55bd5a0c46d076ec (diff) | |
download | pkgsrc-f9b73078e9c98df80aaf782a610f75ac75e47eab.tar.gz |
Fix build on newer NetBSD.
Diffstat (limited to 'net')
-rw-r--r-- | net/netatalk/Makefile | 4 | ||||
-rw-r--r-- | net/netatalk/distinfo | 3 | ||||
-rw-r--r-- | net/netatalk/patches/patch-bin_ad_ad__cp.c | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index cacd294643e..35f749d8718 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.95 2013/02/16 11:23:57 wiz Exp $ +# $NetBSD: Makefile,v 1.96 2013/03/28 21:36:21 joerg Exp $ DISTNAME= netatalk-2.2.1 PKGREVISION= 11 @@ -69,7 +69,7 @@ PLIST.rcd= yes .endif PLIST_VARS+= ea -.if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" +.if ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly" || ${OPSYS} == "NetBSD" PLIST.ea= yes .endif diff --git a/net/netatalk/distinfo b/net/netatalk/distinfo index d9e6a56663f..4e6d4a86fd8 100644 --- a/net/netatalk/distinfo +++ b/net/netatalk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.48 2013/02/22 22:41:32 markd Exp $ +$NetBSD: distinfo,v 1.49 2013/03/28 21:36:21 joerg Exp $ SHA1 (netatalk-2.2.1.tar.bz2) = e588b89eced7769f65e213bc4b1b1e4f8035c8b3 RMD160 (netatalk-2.2.1.tar.bz2) = bc55a591fe134d3bf05ca442aa5b5246fd766b8c @@ -15,6 +15,7 @@ SHA1 (patch-ap) = c5e7cc0e1773d7e60106df7e1f3ded234308bb8c SHA1 (patch-aq) = 0793cf5ec158aa27c42b5d8a96651307d7c7c8b6 SHA1 (patch-ar) = 8c6c6169496b9b2cdec6049d2ee45884d5513d11 SHA1 (patch-au) = 8505351fee21ac1effa4dc620b8006c572b913c1 +SHA1 (patch-bin_ad_ad__cp.c) = 0a9e93f6149ff53f0f0d8c36ea4c5e635b5b624c SHA1 (patch-bj) = abbc2809b6b7fe75ec2d2f8f2fa8d6cd9d6de7b0 SHA1 (patch-bk) = c3fb7c3a42f148171fa99b6121b099dd4998947a SHA1 (patch-etc_afpd_afp_config.c) = 37813324c503fae05af12dba8dad5741a21ea4ed diff --git a/net/netatalk/patches/patch-bin_ad_ad__cp.c b/net/netatalk/patches/patch-bin_ad_ad__cp.c new file mode 100644 index 00000000000..1a5f2ae14a3 --- /dev/null +++ b/net/netatalk/patches/patch-bin_ad_ad__cp.c @@ -0,0 +1,13 @@ +$NetBSD: patch-bin_ad_ad__cp.c,v 1.1 2013/03/28 21:36:21 joerg Exp $ + +--- bin/ad/ad_cp.c.orig 2013-03-28 19:06:20.000000000 +0000 ++++ bin/ad/ad_cp.c +@@ -841,7 +841,7 @@ static int setfile(const struct stat *fs + islink = !fdval && S_ISLNK(fs->st_mode); + mode = fs->st_mode & (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO); + +-#if defined(__FreeBSD__) ++#if defined(__FreeBSD__) || defined(__NetBSD__) + TIMESPEC_TO_TIMEVAL(&tv[0], &fs->st_atimespec); + TIMESPEC_TO_TIMEVAL(&tv[1], &fs->st_mtimespec); + #else |