summaryrefslogtreecommitdiff
path: root/sysutils/gpart/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gpart/patches/patch-ac')
-rw-r--r--sysutils/gpart/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/gpart/patches/patch-ac b/sysutils/gpart/patches/patch-ac
new file mode 100644
index 00000000000..fd407cbac8e
--- /dev/null
+++ b/sysutils/gpart/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/09/01 16:10:28 veego Exp $
+
+--- src/l64seek.c Sun May 14 14:04:23 2000
++++ src/l64seek.c Sun Jul 16 10:58:50 2000
+@@ -46,7 +46,8 @@
+ ret = (off64_t)-1;
+ #endif
+
+-#if defined(__FreeBSD__) || (defined(__linux__) && defined(__alpha__))
++#if defined(__FreeBSD__) || defined(__NetBSD__) || \
++ (defined(__linux__) && defined(__alpha__))
+ ret = lseek(fd,offset,whence);
+ #endif
+