diff options
author | tron <tron@pkgsrc.org> | 2004-05-30 17:57:52 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-05-30 17:57:52 +0000 |
commit | 162e5737cc4a8cdf6e2896d42fe19e181c36485b (patch) | |
tree | a547abaff66eb65e14941b241f80f856540e0c7c /sysutils/dvd+rw-tools | |
parent | d7a9926b5068e24bc660986f76980432dc5cb820 (diff) | |
download | pkgsrc-162e5737cc4a8cdf6e2896d42fe19e181c36485b.tar.gz |
Make this build under NetBSD 2.0D and above with statvfs(2).
Diffstat (limited to 'sysutils/dvd+rw-tools')
-rw-r--r-- | sysutils/dvd+rw-tools/distinfo | 4 | ||||
-rw-r--r-- | sysutils/dvd+rw-tools/patches/patch-aa | 23 |
2 files changed, 21 insertions, 6 deletions
diff --git a/sysutils/dvd+rw-tools/distinfo b/sysutils/dvd+rw-tools/distinfo index 9d421ea42de..df5e9edae36 100644 --- a/sysutils/dvd+rw-tools/distinfo +++ b/sysutils/dvd+rw-tools/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2004/03/30 15:19:01 martin Exp $ +$NetBSD: distinfo,v 1.5 2004/05/30 17:57:52 tron Exp $ SHA1 (dvd+rw-tools-5.17.4.8.6.tar.gz) = 635b76e3d2b8b5702b179a57bd51086fce065c59 Size (dvd+rw-tools-5.17.4.8.6.tar.gz) = 91908 bytes -SHA1 (patch-aa) = 7371c4d10ec0b7c172936cd4b57e6140eb3e1f21 +SHA1 (patch-aa) = 49e05d0bbc8e8efba8e53d6b53dd391dddfb2310 diff --git a/sysutils/dvd+rw-tools/patches/patch-aa b/sysutils/dvd+rw-tools/patches/patch-aa index ace81925ae3..5d87a7c442d 100644 --- a/sysutils/dvd+rw-tools/patches/patch-aa +++ b/sysutils/dvd+rw-tools/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1 2003/11/10 00:07:41 wiz Exp $ +$NetBSD: patch-aa,v 1.2 2004/05/30 17:57:52 tron Exp $ ---- transport.hxx.orig Fri Sep 19 13:04:06 2003 -+++ transport.hxx -@@ -6,7 +6,7 @@ +--- transport.hxx.orig 2004-01-20 16:55:16.000000000 +0100 ++++ transport.hxx 2004-05-30 19:55:42.000000000 +0200 +@@ -6,17 +6,22 @@ // For further details see http://fy.chalmers.se/~appro/linux/DVD+RW/ // @@ -11,3 +11,18 @@ $NetBSD: patch-aa,v 1.1 2003/11/10 00:07:41 wiz Exp $ #include <stdio.h> #include <stdlib.h> #include <unistd.h> + #include <string.h> + #include <sys/types.h> ++#include <sys/param.h> + #include <sys/stat.h> + #include <fcntl.h> + + #include <errno.h> + ++#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000) ++#define statfs statvfs ++#endif ++ + #ifndef EMEDIUMTYPE + #define EMEDIUMTYPE EINVAL + #endif |