File:  [cvs.NetBSD.org] / pkgsrc / filesystems / fuse-archivemount / patches / patch-configure.ac
Revision 1.1: download - view: text, annotated - select for diffs
Tue Nov 30 17:13:14 2021 UTC (3 years, 2 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, HEAD
Update to archivemount-0.9.1

* 0.9.1   - Incorporated fixes for compilation problems with newer gcc
            versions. Contributed by Niels de Vos
* 0.9.0   - Make sure the written archive's format is the same or as
            close as possible to the original. Due to a bug written files
            were always in ustar format. Contributed by Jeff Ebert.
          - Add AM_PROG_CC_C_O macro to configure.ac, contributed by
            Jeff Ebert
          - added option -o password, contributed by Scott Worley
          - Pass REG_ENHANCED to regcomp where available (Mac and BSD).
            Otherwise \? has no special meaning. Contributed by Michael
            J. Walsh
          - Removed magic number for block size, it's a constant now.
            Contributed by John Delgado
* 0.8.12  - changed naming scheme of temporary files to avoid running
            into too long names for the filesystem in /tmp
          - fixed renaming a newly created file (it got saved under its
            original name)
          - activated code for creating symlinks; in old versions, symlinks
            were not saved, presumably due to a bug in libarchive, but it
            seems to work now.
* 0.8.11  - fixed accidentally broken renaming of files
* 0.8.10  - fixed renaming of directories, it did not work at all anymore
* 0.8.9   - fixed wrong insert into tree when a subdir had the same name as its
            parent dir
* 0.8.8   - fixed bug when creating a new file and moving it over an old one,
            happens e.g. when saving a file from the geany editor
* 0.8.7   - contribution by KAICHO:
            * fixup to 0.8.6: corrected an ifdef
* 0.8.6   - contribution by KAICHO:
            * adaptions for CentOS, RHEL and Scientific Linux
* 0.8.5   - fixed stat'ing of hardlinks in ar_readdir
          - contributions by Alain Parmentier:
            * FormatRaw optimization
            * bugfix : use of off_t to support 64bits
* 0.8.4   - added option -o formatraw for readonly support of the FormatRaw
            archive files supported by libarchive (kudos to Lee Leahu)
          - bugfix: do not do the fuse mount when the archive cannot be read
            (also kudos to Lee Leahu)
* 0.8.3   - do not call fuse_main anymore
          - force fuse into single-threaded mode due to libarchive not being
            thread-safe
          Both patches contributed by Timothy Hobbs <timothyhobbs@seznam.cz>,
          who found them in the Fedora RPM.
* 0.8.2   - added nosave option, contributed by
            Timothy Hobbs <timothyhobbs@seznam.cz>
* 0.8.1   - added missing header file
* 0.8.0   - contributions by Tomáš Čech <sleep_walker@suse.cz>:
            * Allow mounting only subtree of archive, strip common part of
              path in that case.
* 0.7.0   - contributions by Andrew Brampton:
            * simplifications in the code
            * speedup by using hashes
* 0.6.2   - contributions by Niels de Vos:
            * exchanged posix_rwlocks against mutexes to finally get rid of
              the crashes
            * replaced some accidental indentations with space against proper tabs
* 0.6.1   - clarified licensing issue (thanks to Niels de Vos for pointing it out)
* 0.6.0   - contributions by Thomas J. Duck:
            * autoconf/automake support
            * bug reports and fixes for mac-fuse
            many thanks for this!

$NetBSD: patch-configure.ac,v 1.1 2021/11/30 17:13:14 pho Exp $

On NetBSD there's no <fuse/fuse_lowlevel.h>. The file has to be
#include'd as <fuse_lowlevel.h>.

--- configure.ac.orig	2020-04-20 11:28:23.000000000 +0000
+++ configure.ac
@@ -23,6 +23,13 @@ PKG_CHECK_MODULES([FUSE], [fuse >= 2.6],
 AC_SUBST([FUSE_LIBS])
 AC_SUBST([FUSE_CFLAGS])
 
+CPPFLAGS_saved="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $FUSE_CFLAGS"
+AC_CHECK_HEADERS([fuse/fuse_lowlevel.h fuse_lowlevel.h])
+AC_CHECK_LIB([fuse], [fuse_mount])
+AC_CHECK_FUNCS([fuse_chan_fd])
+CPPFLAGS="$CPPFLAGS_saved"
+
 
 # Check for libarchive (no pkg-config support)
 AC_CHECK_LIB([archive], [archive_read_new], [ARCHIVE_LIBS=-larchive],

CVSweb <webmaster@jp.NetBSD.org>