pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libvolume_id Fix build on -current with strnlen().



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b240d34a661
branches:  trunk
changeset: 392597:5b240d34a661
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 03 21:35:38 2009 +0000

description:
Fix build on -current with strnlen().
>From dieter roelants in PR 41344.

diffstat:

 devel/libvolume_id/distinfo         |  4 ++--
 devel/libvolume_id/patches/patch-ac |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 850c9103bb85 -r 5b240d34a661 devel/libvolume_id/distinfo
--- a/devel/libvolume_id/distinfo       Sun May 03 18:08:29 2009 +0000
+++ b/devel/libvolume_id/distinfo       Sun May 03 21:35:38 2009 +0000
@@ -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 -r 850c9103bb85 -r 5b240d34a661 devel/libvolume_id/patches/patch-ac
--- a/devel/libvolume_id/patches/patch-ac       Sun May 03 18:08:29 2009 +0000
+++ b/devel/libvolume_id/patches/patch-ac       Sun May 03 21:35:38 2009 +0000
@@ -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 @@
 +#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;



Home | Main Index | Thread Index | Old Index