diff options
| -rw-r--r-- | sysutils/fusefs-unionfs/Makefile | 4 | ||||
| -rw-r--r-- | sysutils/fusefs-unionfs/distinfo | 6 | ||||
| -rw-r--r-- | sysutils/fusefs-unionfs/files/patch-unionfs.c | 31 |
3 files changed, 24 insertions, 17 deletions
diff --git a/sysutils/fusefs-unionfs/Makefile b/sysutils/fusefs-unionfs/Makefile index e4c83a32e1b6..fcc84b385f62 100644 --- a/sysutils/fusefs-unionfs/Makefile +++ b/sysutils/fusefs-unionfs/Makefile @@ -6,7 +6,7 @@ # PORTNAME= unionfs -PORTVERSION= 0.14 +PORTVERSION= 0.15 CATEGORIES= sysutils MASTER_SITES= http://podgorny.cz/unionfs-fuse/releases/ PKGNAMEPREFIX= fusefs- @@ -25,7 +25,7 @@ USE_BZIP2= yes do-build: (cd ${WRKSRC} && \ ${CC} ${CFLAGS} -I${LOCALBASE}/include/fuse \ - -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 \ + -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 \ -o unionfs *.c -L${LOCALBASE}/lib ${PTHREAD_LIBS} -lfuse) do-install: diff --git a/sysutils/fusefs-unionfs/distinfo b/sysutils/fusefs-unionfs/distinfo index 53412d77f756..5d6f34e88faf 100644 --- a/sysutils/fusefs-unionfs/distinfo +++ b/sysutils/fusefs-unionfs/distinfo @@ -1,3 +1,3 @@ -MD5 (unionfs-fuse-0.14.tar.bz2) = 7730e9b99830f50a2c8f884e5a8c0870 -SHA256 (unionfs-fuse-0.14.tar.bz2) = dd32cd853e650c742f87ee5f4aa92892e74add38e72bf9b518dec6783249fe0d -SIZE (unionfs-fuse-0.14.tar.bz2) = 6025 +MD5 (unionfs-fuse-0.15.tar.bz2) = 5631e14b9c57e59ee729ba5eb774fe43 +SHA256 (unionfs-fuse-0.15.tar.bz2) = 0145679ff29c13782bed8cb8d49aa69820520b81f1ce9eccdf69c76c5ee93d71 +SIZE (unionfs-fuse-0.15.tar.bz2) = 6112 diff --git a/sysutils/fusefs-unionfs/files/patch-unionfs.c b/sysutils/fusefs-unionfs/files/patch-unionfs.c index e37e1aebd5ad..f67481b1a4a2 100644 --- a/sysutils/fusefs-unionfs/files/patch-unionfs.c +++ b/sysutils/fusefs-unionfs/files/patch-unionfs.c @@ -1,16 +1,23 @@ ---- unionfs.c.orig Sun Jul 16 19:02:07 2006 -+++ unionfs.c Sun Jul 16 19:05:45 2006 -@@ -189,9 +189,13 @@ +--- unionfs.c.orig Mon Aug 7 07:20:13 2006 ++++ unionfs.c Tue Aug 8 13:53:17 2006 +@@ -188,12 +188,7 @@ + if (stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0; - int res; -+#if FUSE_USE_VERSION >= 26 - if (isdatasync) { - res = fdatasync(fi->fh); - } else { -+#else -+ { -+#endif - res = fsync(fi->fh); +- int res; +- if (isdatasync) { +- res = fdatasync(fi->fh); +- } else { +- res = fsync(fi->fh); +- } ++ int res = fsync(fi->fh); + + if (res == -1) return -errno; + +@@ -928,5 +923,5 @@ } + umask(0); +- return fuse_main(args.argc, args.argv, &unionfs_oper, NULL); ++ return fuse_main(args.argc, args.argv, &unionfs_oper); + } |
