rzip: fix build
The pregenerated configure script is too old and fails with:
```
configure:658:1: error: return type defaults to 'int' [-Wimplicit-int]
658 | main(){return(0);}
```
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
bzip2,
|
||||
autoreconfHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -14,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://samba/rzip/rzip-${version}.tar.gz";
|
||||
sha256 = "4bb96f4d58ccf16749ed3f836957ce97dbcff3e3ee5fd50266229a48f89815b7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ bzip2 ];
|
||||
|
||||
patches = [
|
||||
@@ -24,8 +27,6 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-int";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://rzip.samba.org/";
|
||||
description = "Compression program";
|
||||
|
||||
Reference in New Issue
Block a user