Skip to content

Commit d139ff7

Browse files
r-ryantmAleksanaa
authored andcommitted
bindfs: 1.17.7 -> 1.18.1
1 parent cc0f267 commit d139ff7

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

pkgs/by-name/bi/bindfs/package.nix

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,36 @@
22
lib,
33
stdenv,
44
fetchurl,
5+
fetchpatch,
6+
autoreconfHook,
57
pkg-config,
68
fuse,
79
fuse3,
810
}:
911

1012
stdenv.mkDerivation (finalAttrs: {
11-
version = "1.17.7";
13+
version = "1.18.1";
1214
pname = "bindfs";
1315

1416
src = fetchurl {
1517
url = "https://bindfs.org/downloads/bindfs-${finalAttrs.version}.tar.gz";
16-
hash = "sha256-wLBg6Uw6IxodSqC88mb/GJmBpO845C++IylqfYFxm3o=";
18+
hash = "sha256-KnBk2ZOl8lXFLXI4XvFONJwTG8RBlXZuIXNCjgbSef0=";
1719
};
1820

21+
patches = [
22+
# This commit fixes macfuse support but breaks fuse support
23+
# The condition to include `uint32_t position` in bindfs_setxattr and bindfs_getxattr
24+
# is wrong, leading to -Wincompatible-function-pointer-types
25+
# https://github.com/mpartel/bindfs/issues/169
26+
(fetchpatch {
27+
url = "https://github.com/mpartel/bindfs/commit/3293dc98e37eed0fb0cbfcbd40434d3c37c69480.patch";
28+
hash = "sha256-dtjvSJTS81R+sksl7n1QiyssseMQXPlm+LJYZ8/CESQ=";
29+
revert = true;
30+
})
31+
];
32+
1933
nativeBuildInputs = [
34+
autoreconfHook
2035
pkg-config
2136
];
2237

0 commit comments

Comments
 (0)