pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dvd+rw-tools Make this build under NetBSD 2.0...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f6b9f292d46
branches: trunk
changeset: 475958:3f6b9f292d46
user: tron <tron%pkgsrc.org@localhost>
date: Sun May 30 17:57:52 2004 +0000
description:
Make this build under NetBSD 2.0D and above with statvfs(2).
diffstat:
sysutils/dvd+rw-tools/distinfo | 4 ++--
sysutils/dvd+rw-tools/patches/patch-aa | 23 +++++++++++++++++++----
2 files changed, 21 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r aa53182fd7b2 -r 3f6b9f292d46 sysutils/dvd+rw-tools/distinfo
--- a/sysutils/dvd+rw-tools/distinfo Sun May 30 15:29:34 2004 +0000
+++ b/sysutils/dvd+rw-tools/distinfo Sun May 30 17:57:52 2004 +0000
@@ -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 -r aa53182fd7b2 -r 3f6b9f292d46 sysutils/dvd+rw-tools/patches/patch-aa
--- a/sysutils/dvd+rw-tools/patches/patch-aa Sun May 30 15:29:34 2004 +0000
+++ b/sysutils/dvd+rw-tools/patches/patch-aa Sun May 30 17:57:52 2004 +0000
@@ -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 @@
#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
Home |
Main Index |
Thread Index |
Old Index