davfs2: Fix build
The configure script checks for an old version of neon. Let's bump the bounds since neon 0.31 is API compatible.
This commit is contained in:
parent
7c0a76d85e
commit
faa2f094e9
@ -1,5 +1,7 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, neon
|
||||
, procps
|
||||
, substituteAll
|
||||
@ -14,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "00fqadhmhi2bmdar5a48nicmjcagnmaj9wgsvjr6cffmrz6pcx21";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook # neon-0.31.patch requires reconfiguration
|
||||
];
|
||||
|
||||
buildInputs = [ neon zlib ];
|
||||
|
||||
patches = [
|
||||
@ -23,6 +29,15 @@ stdenv.mkDerivation rec {
|
||||
src = ./0001-umount_davfs-substitute-ps-command.patch;
|
||||
ps = "${procps}/bin/ps";
|
||||
})
|
||||
|
||||
# Fix build with neon 0.31
|
||||
# http://savannah.nongnu.org/bugs/?58101
|
||||
(fetchpatch {
|
||||
name = "neon-0.31.patch";
|
||||
url = "http://savannah.nongnu.org/bugs/download.php?file_id=48737";
|
||||
sha256 = "EtQfcstWkn8AcbZo93midGt076gq20AvGGJyQ3FO/YQ=";
|
||||
extraPrefix = ""; # empty means add 'a/' and 'b/'
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = [ "--sysconfdir=/etc" ];
|
||||
|
Loading…
Reference in New Issue
Block a user