pkgsrc/sysutils/gpart/patches/patch-ac
veego 24194345b9 Gpart is a small tool which tries to guess what partitions are on a PC type
harddisk in case the primary partition table was damaged.
2000-09-01 16:10:28 +00:00

14 lines
414 B
Text

$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