diff options
author | wiz <wiz> | 2006-01-09 17:36:54 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-01-09 17:36:54 +0000 |
commit | 1bd3041262fbeb2b35e6fd86ab2fcb0f79f55d88 (patch) | |
tree | b4e828308a140e1e4b6e8b276c70c6e53b2f9aff | |
parent | 0b8e6cd1e1ecf3074412c1540f0dda15acf2a2d7 (diff) | |
download | pkgsrc-1bd3041262fbeb2b35e6fd86ab2fcb0f79f55d88.tar.gz |
Fix compilation on -current: use posix_fadvise instead
of posix_fadvise64.
-rw-r--r-- | sysutils/xfsprogs/distinfo | 3 | ||||
-rw-r--r-- | sysutils/xfsprogs/patches/patch-am | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/xfsprogs/distinfo b/sysutils/xfsprogs/distinfo index 2a8150c97b6..3fbca6e3abe 100644 --- a/sysutils/xfsprogs/distinfo +++ b/sysutils/xfsprogs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2005/12/30 23:03:05 agc Exp $ +$NetBSD: distinfo,v 1.2 2006/01/09 17:36:54 wiz Exp $ SHA1 (xfsprogs-2.7.3.src.tar.gz) = abfe3ea13475810a0ef854f48b9ca9912ee7fbc5 RMD160 (xfsprogs-2.7.3.src.tar.gz) = 7a4f6b0d5da640041334cef4b4aa2e60ba43af53 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = 42e07792f0c4bb816a772c789cbca387cefbb528 SHA1 (patch-aj) = 2d7e3e05bff6951a22b2df13193db758a509a732 SHA1 (patch-ak) = d6f9027a339fe3607003b4fe34062936868f47da SHA1 (patch-al) = 832d5d90b9314f5aea312908df16ff3c74449d00 +SHA1 (patch-am) = 3d705bee711c5636c9ea73142560d1ff8530a48d diff --git a/sysutils/xfsprogs/patches/patch-am b/sysutils/xfsprogs/patches/patch-am new file mode 100644 index 00000000000..3c59e33e884 --- /dev/null +++ b/sysutils/xfsprogs/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/01/09 17:36:54 wiz Exp $ + +--- io/fadvise.c.orig 2005-10-07 18:51:34.000000000 +0200 ++++ io/fadvise.c +@@ -119,7 +119,7 @@ fadvise_f( + return command_usage(&fadvise_cmd); + } + +- if (posix_fadvise64(file->fd, offset, length, advise) < 0) { ++ if (posix_fadvise(file->fd, offset, length, advise) < 0) { + perror("fadvise"); + return 0; + } |