summaryrefslogtreecommitdiff
path: root/sysutils/fusefs-ntfs/files/extra-patch-ublio
blob: b3fa2029c9b26cfcf260b7c304cec0f25d08e618 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- libntfs-3g/Makefile.in.orig	2010-03-06 13:12:36.000000000 -0300
+++ libntfs-3g/Makefile.in	2010-10-04 15:10:43.000000000 -0300
@@ -241,6 +241,7 @@
 libntfs_3g_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include/ntfs-3g
 libntfs_3g_la_LDFLAGS = -version-info $(LIBNTFS_3G_VERSION) -no-undefined
 @FUSE_INTERNAL_TRUE@libntfs_3g_la_LIBADD = $(top_builddir)/libfuse-lite/libfuse-lite.la
+libntfs_3g_la_LIBADD = -lublio
 libntfs_3g_la_SOURCES = acls.c attrib.c attrlist.c bitmap.c bootsect.c \
 	cache.c collate.c compat.c compress.c debug.c device.c dir.c \
 	efs.c index.c inode.c lcnalloc.c logfile.c logging.c mft.c \
--- src/ntfs-3g.c.orig	2010-03-06 13:12:25.000000000 -0300
+++ src/ntfs-3g.c	2010-10-04 15:11:57.000000000 -0300
@@ -3508,7 +3508,11 @@
 #else
 	.utime		= ntfs_fuse_utime,
 #endif
+#ifndef __FreeBSD__
 	.bmap		= ntfs_fuse_bmap,
+#else
+	.bmap		= NULL,
+#endif
 	.destroy        = ntfs_fuse_destroy2,
 #if !KERNELPERMS | (POSIXACLS & !KERNELACLS)
 	.access		= ntfs_fuse_access,