diff options
author | ryoon <ryoon> | 2014-06-27 14:07:49 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2014-06-27 14:07:49 +0000 |
commit | 45dd9db3bd70eea237a3cd809691018a94e61104 (patch) | |
tree | 8bbbecb2ea072575d27520c2be996a12a0ecd62a | |
parent | 985e1cc56d1af518290aa728e056e7ba7f09c487 (diff) | |
download | pkgsrc-45dd9db3bd70eea237a3cd809691018a94e61104.tar.gz |
Fix PR pkg/48934, and bump PKGREVISION
Fix broken binary under NetBSD 5, and change OpenBSD case.
O.k. by wiz@.
-rw-r--r-- | devel/libvolume_id/distinfo | 4 | ||||
-rw-r--r-- | devel/libvolume_id/patches/patch-ac | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/devel/libvolume_id/distinfo b/devel/libvolume_id/distinfo index cb89f2d3451..e632f7dc348 100644 --- a/devel/libvolume_id/distinfo +++ b/devel/libvolume_id/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.11 2014/05/05 21:13:16 ryoon Exp $ +$NetBSD: distinfo,v 1.12 2014/06/27 14:07:49 ryoon 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) = d6fe419f1c79823f87d927ecfcc057f9c0e6009e SHA1 (patch-ab) = 6ef5cf4559578c30bc19db3bca896110374b348b -SHA1 (patch-ac) = d27cb6f0275e06d9a75290328d4f66f68a2b8d9a +SHA1 (patch-ac) = 0c120065f6cbfd405f3ade37b409a5c2725808c8 SHA1 (patch-ad) = 894b565d3fcf03dd0fee8722066a0730c62a7af9 SHA1 (patch-ae) = 9382586dab03ed7691d26b029d930940dc3e7302 diff --git a/devel/libvolume_id/patches/patch-ac b/devel/libvolume_id/patches/patch-ac index 97431829b09..ea7b08295c4 100644 --- a/devel/libvolume_id/patches/patch-ac +++ b/devel/libvolume_id/patches/patch-ac @@ -1,16 +1,20 @@ -$NetBSD: patch-ac,v 1.9 2014/05/05 21:13:16 ryoon Exp $ +$NetBSD: patch-ac,v 1.10 2014/06/27 14:07:49 ryoon Exp $ --- util.c.orig 2009-03-02 18:17:35.000000000 +0000 +++ util.c -@@ -28,9 +28,9 @@ +@@ -28,9 +28,13 @@ #include "libvolume_id.h" #include "util.h" -#ifdef __FreeBSD__ ++#if defined(__OpenBSD__) ++#define __POSIX_VISIBLE 200809 ++#endif ++ +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__APPLE__) || defined(__MirBSD__) #include <sys/param.h> -#if __FreeBSD_version < 800067 -+#if __FreeBSD_version < 800067 && __DragonFly_version < 200202 && __NetBSD_Version__ < 599001100 && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070 && __OpenBSD__ ++#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; |