diff options
author | minskim <minskim@pkgsrc.org> | 2011-11-23 21:31:19 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2011-11-23 21:31:19 +0000 |
commit | bae82c24e5ef0714c461ee672f09d76258ec086e (patch) | |
tree | ef92a489f09dcb44be0fd7976f471bbcda8ec605 /devel | |
parent | e34ce20db6f0a8d391841f575f91eaf24feb78db (diff) | |
download | pkgsrc-bae82c24e5ef0714c461ee672f09d76258ec086e.tar.gz |
Mac OS X Lion has strnlen().
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libvolume_id/distinfo | 4 | ||||
-rw-r--r-- | devel/libvolume_id/patches/patch-ac | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/libvolume_id/distinfo b/devel/libvolume_id/distinfo index faf978ef6be..5585191e71f 100644 --- a/devel/libvolume_id/distinfo +++ b/devel/libvolume_id/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.8 2011/07/26 14:17:52 hans Exp $ +$NetBSD: distinfo,v 1.9 2011/11/23 21:31:19 minskim Exp $ SHA1 (libvolume_id-0.81.1.tar.bz2) = 3d2f22654042e5995d119d61d2aecf4b5d8efb8a RMD160 (libvolume_id-0.81.1.tar.bz2) = 222fbe2ff595eeedafe41c9c47987ead34aa455e Size (libvolume_id-0.81.1.tar.bz2) = 23399 bytes SHA1 (patch-aa) = bbd3e04a6de60fd0471dffa605fbbd3d5a4f89b4 SHA1 (patch-ab) = 2935383630f45199e0a0a63d460fc40fbbeaddbd -SHA1 (patch-ac) = d99ce65248e2520f107081b8474225ab1449d72e +SHA1 (patch-ac) = 8629d1b9a4080bc34c11e51db2834e288599997f SHA1 (patch-ad) = 50eb7f2ec99b37d508259870838bfdfc624f53b4 SHA1 (patch-ae) = 9382586dab03ed7691d26b029d930940dc3e7302 diff --git a/devel/libvolume_id/patches/patch-ac b/devel/libvolume_id/patches/patch-ac index c406983ea3c..c6cfff7b8d2 100644 --- a/devel/libvolume_id/patches/patch-ac +++ b/devel/libvolume_id/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.6 2009/05/03 21:35:38 wiz Exp $ +$NetBSD: patch-ac,v 1.7 2011/11/23 21:31:19 minskim Exp $ ---- util.c.orig 2009-03-02 20:17:35 +0200 -+++ util.c 2009-04-24 03:14:25 +0300 +--- util.c.orig 2009-03-02 18:17:35.000000000 +0000 ++++ util.c @@ -28,9 +28,9 @@ #include "libvolume_id.h" #include "util.h" @@ -10,7 +10,7 @@ $NetBSD: patch-ac,v 1.6 2009/05/03 21:35:38 wiz Exp $ +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__APPLE__) #include <sys/param.h> -#if __FreeBSD_version < 800067 -+#if __FreeBSD_version < 800067 && __DragonFly_version < 200202 && __NetBSD_Version__ < 599001100 ++#if __FreeBSD_version < 800067 && __DragonFly_version < 200202 && __NetBSD_Version__ < 599001100 && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070 static size_t strnlen (const char *s, size_t maxlen) { size_t i; |