pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libvolume_id Make it build on DragonFly master.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/868a1c408c10
branches:  trunk
changeset: 392007:868a1c408c10
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Fri Apr 24 01:07:18 2009 +0000

description:
Make it build on DragonFly master.

diffstat:

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

diffs (41 lines):

diff -r 2c9c0f3d79ee -r 868a1c408c10 devel/libvolume_id/distinfo
--- a/devel/libvolume_id/distinfo       Fri Apr 24 01:05:14 2009 +0000
+++ b/devel/libvolume_id/distinfo       Fri Apr 24 01:07:18 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.4 2009/03/22 20:31:11 wiz Exp $
+$NetBSD: distinfo,v 1.5 2009/04/24 01:07:18 hasso 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) = 946ea3fdef30fb47452358cc45c470026a435665
+SHA1 (patch-ac) = 2e59ad5035cfb93911411805c694e98bfaceba35
 SHA1 (patch-ad) = c09ecb39f154c37e72dfb6bb6241ec33d77c0b60
 SHA1 (patch-ae) = 82d0bdd10818ed75eb1c555891c093eddbffaa7a
diff -r 2c9c0f3d79ee -r 868a1c408c10 devel/libvolume_id/patches/patch-ac
--- a/devel/libvolume_id/patches/patch-ac       Fri Apr 24 01:05:14 2009 +0000
+++ b/devel/libvolume_id/patches/patch-ac       Fri Apr 24 01:07:18 2009 +0000
@@ -1,13 +1,16 @@
-$NetBSD: patch-ac,v 1.4 2009/03/22 20:31:11 wiz Exp $
+$NetBSD: patch-ac,v 1.5 2009/04/24 01:07:19 hasso Exp $
 
---- util.c.orig        2009-03-02 18:17:35.000000000 +0000
-+++ util.c
-@@ -28,7 +28,7 @@
+--- util.c.orig        2009-03-02 20:17:35 +0200
++++ util.c     2009-04-24 03:14:25 +0300
+@@ -28,9 +28,9 @@
  #include "libvolume_id.h"
  #include "util.h"
  
 -#ifdef __FreeBSD__
 +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__APPLE__)
  #include <sys/param.h>
- #if __FreeBSD_version < 800067
+-#if __FreeBSD_version < 800067
++#if __FreeBSD_version < 800067 && __DragonFly_version < 200202
  static size_t strnlen (const char *s, size_t maxlen)
+ {
+       size_t i;



Home | Main Index | Thread Index | Old Index