Please hold off on fuse-related ports until Helg's work is committed
On 2021/05/06 13:54, Alex Raschi wrote:
> Hi,
>
> Here is an update to simple-mtpfs to 0.4.0. The new version requires a
> macro from devel/autoconf-archive and the two patches are upstream so
> they can be removed.
>
> Tested briefly with some rm/cp operations. More testing/feedback is
> appreciated!
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/simple-mtpfs/Makefile,v
> retrieving revision 1.12
> diff -u -p -r1.12 Makefile
> --- Makefile 12 Jul 2019 20:49:51 -0000 1.12
> +++ Makefile 6 May 2021 09:27:19 -0000
> @@ -2,12 +2,10 @@
>
> COMMENT= MTP device filesystem
>
> -V= 0.3.0
> +V= 0.4.0
> GH_ACCOUNT= phatina
> GH_PROJECT= simple-mtpfs
> -GH_TAGNAME= simple-mtpfs-${V}
> -DISTNAME= ${GH_PROJECT}-0.3.0
> -REVISION= 1
> +GH_TAGNAME= v${V}
>
> CATEGORIES= sysutils
>
> @@ -21,6 +19,7 @@ COMPILER = base-clang ports-gcc
>
> CONFIGURE_STYLE= autoreconf
>
> +BUILD_DEPENDS= devel/autoconf-archive
> LIB_DEPENDS= devel/libmtp
>
> MAKE_FILE= makefile
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/simple-mtpfs/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo 7 Jan 2017 19:14:49 -0000 1.2
> +++ distinfo 6 May 2021 09:27:19 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (simple-mtpfs-0.3.0.tar.gz) =
> VVbK5EFCVLBx15zmVszoZrQv17pAzkgKv8O6TjV81JE=
> -SIZE (simple-mtpfs-0.3.0.tar.gz) = 36655
> +SHA256 (simple-mtpfs-0.4.0.tar.gz) =
> HQEd8/oJrQpcCdSNhMA+bN34Y5CvnrTgwXgZPzLw4vw=
> +SIZE (simple-mtpfs-0.4.0.tar.gz) = 36234
> Index: patches/patch-src_simple-mtpfs-fuse_cpp
> ===================================================================
> RCS file: patches/patch-src_simple-mtpfs-fuse_cpp
> diff -N patches/patch-src_simple-mtpfs-fuse_cpp
> --- patches/patch-src_simple-mtpfs-fuse_cpp 2 Jul 2015 21:31:44 -0000
> 1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-src_simple-mtpfs-fuse_cpp,v 1.1.1.1 2015/07/02 21:31:44
> ajacoutot Exp $
> ---- src/simple-mtpfs-fuse.cpp.orig Mon Jun 29 17:27:26 2015
> -+++ src/simple-mtpfs-fuse.cpp Mon Jun 29 17:27:31 2015
> -@@ -19,7 +19,7 @@
> - #include <iostream>
> - extern "C" {
> - # include <errno.h>
> --# include <fuse/fuse_opt.h>
> -+# include <fuse_opt.h>
> - # include <unistd.h>
> - # include <stddef.h>
> - }
> Index: patches/patch-src_simple-mtpfs-fuse_h
> ===================================================================
> RCS file: patches/patch-src_simple-mtpfs-fuse_h
> diff -N patches/patch-src_simple-mtpfs-fuse_h
> --- patches/patch-src_simple-mtpfs-fuse_h 2 Jul 2015 21:31:44 -0000
> 1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-src_simple-mtpfs-fuse_h,v 1.1.1.1 2015/07/02 21:31:44
> ajacoutot Exp $
> ---- src/simple-mtpfs-fuse.h.orig Mon Jun 29 17:26:18 2015
> -+++ src/simple-mtpfs-fuse.h Mon Jun 29 17:26:25 2015
> -@@ -23,7 +23,7 @@
> - #include <string>
> - #include <cstdlib>
> - extern "C" {
> --# include <fuse/fuse.h>
> -+# include <fuse.h>
> - }
> - #include "simple-mtpfs-mtp-device.h"
> - #include "simple-mtpfs-tmp-files-pool.h"
>