summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-01 22:46:29 +0000
committerwiz <wiz@pkgsrc.org>2006-03-01 22:46:29 +0000
commit59c67875f220ebe5d2c9636bab909d937a451fa5 (patch)
tree8a4dfc0683f6095a119d12eec7fcd40ee5ab91b5
parent9eef63bf572c9f47f5af43dd55081a8671416954 (diff)
downloadpkgsrc-59c67875f220ebe5d2c9636bab909d937a451fa5.tar.gz
Fix build on NetBSD statvfs systems.
-rw-r--r--sysutils/medusa/distinfo3
-rw-r--r--sysutils/medusa/patches/patch-ac15
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/medusa/distinfo b/sysutils/medusa/distinfo
index 86247ed676c..d6c9ef68313 100644
--- a/sysutils/medusa/distinfo
+++ b/sysutils/medusa/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.5 2006/02/16 21:22:52 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/03/01 22:46:29 wiz Exp $
SHA1 (medusa-0.5.1.tar.gz) = 8e3a1ae286c9502bceda3f3fa5f2b3559440d8d0
RMD160 (medusa-0.5.1.tar.gz) = 395ed98ee04b507f78122c744f256415f9e25324
Size (medusa-0.5.1.tar.gz) = 384482 bytes
SHA1 (patch-aa) = 76a682d2b7e71488131037fed209a9d2144a97c9
SHA1 (patch-ab) = f19d58f14f957dff3de7de9015910d4933c1b896
+SHA1 (patch-ac) = 69bfbc923b86d0e7b8e76283dff78bd44c02cf0e
SHA1 (patch-ad) = 4b143d2f041dd89188551f1a7c063e51ce95f6b3
SHA1 (patch-ae) = 0e93570781b68d42f9ced0b705e447c965fd611c
SHA1 (patch-af) = c4a9458e8583a6f8acd286d1fefb8abb3fbf31ed
diff --git a/sysutils/medusa/patches/patch-ac b/sysutils/medusa/patches/patch-ac
new file mode 100644
index 00000000000..5a63c657352
--- /dev/null
+++ b/sysutils/medusa/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.3 2006/03/01 22:46:29 wiz Exp $
+
+--- libmedusa/medusa-unsearched-locations.c.orig 2001-04-07 00:47:06.000000000 +0000
++++ libmedusa/medusa-unsearched-locations.c
+@@ -56,6 +56,10 @@
+ #include <glib.h>
+ #include <libgnomevfs/gnome-vfs-utils.h>
+
++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
++#define statfs statvfs
++#endif
++
+ #include "medusa-unsearched-locations.h"
+
+ #define CDROM_DRIVE_STATUS 0x5326 /* Get tray position, etc. */