diff options
author | wiz <wiz@pkgsrc.org> | 2009-05-03 21:35:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-05-03 21:35:38 +0000 |
commit | 932da4856d381c07ded6577e031a027648400920 (patch) | |
tree | 1e0149fa78fb30d5a1614adda0c6af099234eac2 | |
parent | 5c029ae6d4594f9bb3cd6968b6bad7e6f9bd18cf (diff) | |
download | pkgsrc-932da4856d381c07ded6577e031a027648400920.tar.gz |
Fix build on -current with strnlen().
From dieter roelants in PR 41344.
-rw-r--r-- | devel/libvolume_id/distinfo | 4 | ||||
-rw-r--r-- | devel/libvolume_id/patches/patch-ac | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/devel/libvolume_id/distinfo b/devel/libvolume_id/distinfo index 691d8138eb4..6a668313ba8 100644 --- a/devel/libvolume_id/distinfo +++ b/devel/libvolume_id/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.5 2009/04/24 01:07:18 hasso Exp $ +$NetBSD: distinfo,v 1.6 2009/05/03 21:35:38 wiz 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) = f1bc3a47df3d98bba4b08e96f957e11f56155c18 SHA1 (patch-ab) = f9f80eeeb67b8f8babf777bf59226249b03576b8 -SHA1 (patch-ac) = 2e59ad5035cfb93911411805c694e98bfaceba35 +SHA1 (patch-ac) = d99ce65248e2520f107081b8474225ab1449d72e SHA1 (patch-ad) = c09ecb39f154c37e72dfb6bb6241ec33d77c0b60 SHA1 (patch-ae) = 82d0bdd10818ed75eb1c555891c093eddbffaa7a diff --git a/devel/libvolume_id/patches/patch-ac b/devel/libvolume_id/patches/patch-ac index 0dea37f5bb8..c406983ea3c 100644 --- a/devel/libvolume_id/patches/patch-ac +++ b/devel/libvolume_id/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.5 2009/04/24 01:07:19 hasso Exp $ +$NetBSD: patch-ac,v 1.6 2009/05/03 21:35:38 wiz Exp $ --- util.c.orig 2009-03-02 20:17:35 +0200 +++ util.c 2009-04-24 03:14:25 +0300 @@ -10,7 +10,7 @@ $NetBSD: patch-ac,v 1.5 2009/04/24 01:07:19 hasso 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 ++#if __FreeBSD_version < 800067 && __DragonFly_version < 200202 && __NetBSD_Version__ < 599001100 static size_t strnlen (const char *s, size_t maxlen) { size_t i; |