diff options
Diffstat (limited to 'filesystems/fuse-archivemount/patches')
-rw-r--r-- | filesystems/fuse-archivemount/patches/patch-aa | 19 | ||||
-rw-r--r-- | filesystems/fuse-archivemount/patches/patch-ab | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/filesystems/fuse-archivemount/patches/patch-aa b/filesystems/fuse-archivemount/patches/patch-aa new file mode 100644 index 00000000000..afa9e0f6499 --- /dev/null +++ b/filesystems/fuse-archivemount/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $ + +--- Makefile.orig 2006-12-28 16:32:47.000000000 +0100 ++++ Makefile 2007-02-21 00:21:27.000000000 +0100 +@@ -9,11 +9,11 @@ + RM = rm -rf + CP = cp -a + TAR = tar +-CC = gcc ++#CC = gcc + all: $(EXE) + +-CFLAGS += -D_FILE_OFFSET_BITS=64 +-LDFLAGS = -larchive -lfuse ++CFLAGS += $(CPPFLAGS) -D_FILE_OFFSET_BITS=64 ++LDFLAGS += -larchive -lfuse + + ifeq ($(DEBUG),1) + CFLAGS += -ggdb -O0 diff --git a/filesystems/fuse-archivemount/patches/patch-ab b/filesystems/fuse-archivemount/patches/patch-ab new file mode 100644 index 00000000000..e9ddb8bd234 --- /dev/null +++ b/filesystems/fuse-archivemount/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $ + +--- archivemount.c.orig 2006-12-28 16:32:47.000000000 +0100 ++++ archivemount.c 2007-02-21 00:25:25.000000000 +0100 +@@ -31,7 +31,11 @@ + #include <fcntl.h> + #include <dirent.h> + #include <errno.h> ++#ifdef HAVE_STATVFS ++#include <sys/statvfs.h> ++#else + #include <sys/statfs.h> ++#endif + #include <sys/types.h> + #include <sys/stat.h> + #include <time.h> +@@ -1605,7 +1609,11 @@ + } + + static int ++#ifdef HAVE_STATVFS ++ar_statfs( const char *path, struct statvfs *stbuf ) ++#else + ar_statfs( const char *path, struct statfs *stbuf ) ++#endif + { + /* ENOSYS is ok for this, we have no statistics */ + ( void )path; |