From 6c33477a2897beaec90ba93f2e5b1202bc1d8aed Mon Sep 17 00:00:00 2001 From: hasso Date: Fri, 24 Apr 2009 01:07:18 +0000 Subject: Make it build on DragonFly master. --- devel/libvolume_id/distinfo | 4 ++-- devel/libvolume_id/patches/patch-ac | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'devel/libvolume_id') diff --git a/devel/libvolume_id/distinfo b/devel/libvolume_id/distinfo index be528c5ab74..691d8138eb4 100644 --- a/devel/libvolume_id/distinfo +++ b/devel/libvolume_id/distinfo @@ -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 --git a/devel/libvolume_id/patches/patch-ac b/devel/libvolume_id/patches/patch-ac index 9692616ef41..0dea37f5bb8 100644 --- a/devel/libvolume_id/patches/patch-ac +++ b/devel/libvolume_id/patches/patch-ac @@ -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 - #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; -- cgit v1.2.3