summaryrefslogtreecommitdiff
path: root/filesystems/fuse-lzofs/patches/patch-ab
diff options
context:
space:
mode:
authormarino <marino>2012-08-17 15:11:57 +0000
committermarino <marino>2012-08-17 15:11:57 +0000
commit7ceea6e07e8c27bca032b566ded9b25a4084ba7a (patch)
tree417f2ff8f944e36cf8ac496b98db83f39273f02b /filesystems/fuse-lzofs/patches/patch-ab
parent61fab38bffeed2110b42c15da43601d4cf8fc797 (diff)
downloadpkgsrc-7ceea6e07e8c27bca032b566ded9b25a4084ba7a.tar.gz
filesystem/fuse-lzofs: mask O_LARGEFILE like NetBSD
Just piggyback on __NetBSD__ switches to fix DragonFly.
Diffstat (limited to 'filesystems/fuse-lzofs/patches/patch-ab')
-rw-r--r--filesystems/fuse-lzofs/patches/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystems/fuse-lzofs/patches/patch-ab b/filesystems/fuse-lzofs/patches/patch-ab
index 23852742b67..15b6debb3e7 100644
--- a/filesystems/fuse-lzofs/patches/patch-ab
+++ b/filesystems/fuse-lzofs/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2007/03/16 08:21:16 pooka Exp $
+$NetBSD: patch-ab,v 1.4 2012/08/17 15:11:57 marino Exp $
--- LZOlayer_fs.c.orig 2006-05-18 22:23:35.000000000 +0300
+++ LZOlayer_fs.c 2007-03-16 09:00:48.000000000 +0200
@@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.3 2007/03/16 08:21:16 pooka Exp $
#define __USE_UNIX98
#include <unistd.h>
#include <zlib.h>
-+#ifndef __NetBSD__
++#if !defined (__NetBSD__) && !defined (__DragonFly__)
+#define ordwr O_RDWR|O_LARGEFILE
+#define ordonly O_RDONLY|O_LARGEFILE
+#define owronly O_WRONLY|O_LARGEFILE