summaryrefslogtreecommitdiff
path: root/multimedia/libdvdnav/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdvdnav/patches/patch-aa')
-rw-r--r--multimedia/libdvdnav/patches/patch-aa24
1 files changed, 24 insertions, 0 deletions
diff --git a/multimedia/libdvdnav/patches/patch-aa b/multimedia/libdvdnav/patches/patch-aa
new file mode 100644
index 00000000000..c49dc50cc8f
--- /dev/null
+++ b/multimedia/libdvdnav/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/06 13:44:53 jmmv Exp $
+
+--- src/vm.c.orig 2003-04-29 17:25:20.000000000 +0200
++++ src/vm.c
+@@ -47,6 +47,10 @@
+ #define lseek64 lseek
+ #endif /* _MSC_VER */
+
++#ifdef __NetBSD__
++#define lseek64 lseek
++#endif
++
+ /*
+ #define STRICT
+ */
+@@ -128,7 +132,7 @@ static void vm_print_current_domain_stat
+
+ static void dvd_read_name(char *name, const char *device) {
+ int fd, i;
+-#if !defined(__FreeBSD__) && !defined(WIN32)
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(WIN32)
+ off64_t off;
+ #else
+ off_t off;