diff --git a/0001-build-fix-build-failure-with-fno-common.patch b/0001-build-fix-build-failure-with-fno-common.patch new file mode 100644 index 0000000..8f3998d --- /dev/null +++ b/0001-build-fix-build-failure-with-fno-common.patch @@ -0,0 +1,31 @@ +From 9ad6363e9c1ee463bff7f28454283dd49d0d2e20 Mon Sep 17 00:00:00 2001 +From: Jan Engelhardt +Date: Wed, 8 Jan 2020 11:17:41 +0100 +Subject: [PATCH] build: fix build failure with -fno-common +URL: https://github.com/mpartel/bindfs/pull/81 + +$ ./configure CFLAGS=-fno-common && make +ld: rate_limiter.o:(.rodata+0x0): multiple definition of +"rate_limiter_idle_credit"; bindfs.o:(.rodata+0x0): first defined here + +References: https://bugzilla.opensuse.org/1160244 +--- + src/rate_limiter.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/rate_limiter.h b/src/rate_limiter.h +index a332294..95c0069 100644 +--- a/src/rate_limiter.h ++++ b/src/rate_limiter.h +@@ -26,7 +26,7 @@ + /* When we are idle, we allow some time to be "credited" to the next writer. + * Otherwise, the short pause between requests would "go to waste", lowering + * the throughput when there is only one requester. */ +-const double rate_limiter_idle_credit; ++extern const double rate_limiter_idle_credit; + + typedef struct RateLimiter { + double rate; /* bytes / second */ +-- +2.24.1 + diff --git a/bindfs-1.14.1.tar.gz b/bindfs-1.14.1.tar.gz deleted file mode 100644 index 65c717d..0000000 --- a/bindfs-1.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b47fcd70fc63b6c72dd4a27ba173d0ca199102c00fe292736d71f44bd4223184 -size 407141 diff --git a/bindfs-1.14.2.tar.gz b/bindfs-1.14.2.tar.gz new file mode 100644 index 0000000..a6fecc8 --- /dev/null +++ b/bindfs-1.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:698c8d02b4e77a71e52184bd66869f4d63add4411e76636ee045d154b374c57e +size 407273 diff --git a/bindfs.changes b/bindfs.changes index 19ae27f..1e29511 100644 --- a/bindfs.changes +++ b/bindfs.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jan 8 10:20:56 UTC 2020 - Jan Engelhardt + +- Update to release 1.14.2 + * No longer check that numeric UIDs and GIDs exist, since + /etc/passwd etc are not always available. +- Add 0001-build-fix-build-failure-with-fno-common.patch [boo#1160257] + ------------------------------------------------------------------- Thu Aug 22 20:03:57 UTC 2019 - Jan Engelhardt diff --git a/bindfs.spec b/bindfs.spec index be6f7c1..dbb9844 100644 --- a/bindfs.spec +++ b/bindfs.spec @@ -1,7 +1,7 @@ # # spec file for package bindfs # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: bindfs -Version: 1.14.1 +Version: 1.14.2 Release: 0 Summary: Filesystem for mapping directories with alternate permissions License: GPL-2.0-or-later Group: System/Filesystems URL: https://bindfs.org/ -#Git-Clone: git://github.com/mpartel/bindfs +#Git-Clone: https://github.com/mpartel/bindfs Source: https://bindfs.org/downloads/%name-%version.tar.gz BuildRequires: pkg-config BuildRequires: pkgconfig(fuse) >= 2.6.0