libowfat: 0.32 -> 0.33
This commit is contained in:
parent
4bb072f0a8
commit
fc69cf51a5
|
@ -2,21 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libowfat";
|
pname = "libowfat";
|
||||||
version = "0.32";
|
version = "0.33";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.fefe.de/libowfat/${pname}-${version}.tar.xz";
|
url = "https://www.fefe.de/libowfat/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1hcqg7pvy093bxx8wk7i4gvbmgnxz2grxpyy7b4mphidjbcv7fgl";
|
sha256 = "sha256-MR7Is/S3K7RC4yP7ATqY+Vb6dFVH8ryUVih7INAnzX0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchurl {
|
|
||||||
name = "first_deferred.patch";
|
|
||||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/libowfat/files/libowfat-0.32-gcc10.patch?id=129f4ab9f8571c651937c46ba7bd4c82d6d052a2";
|
|
||||||
sha256 = "zxWb9qq5dkDucOsiPfGG1Gb4BZ6HmhBjgSe3tBnydP4=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# Fix for glibc 2.34 from Gentoo
|
# Fix for glibc 2.34 from Gentoo
|
||||||
# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914a4aa87415dabfe77181a2365766417a5919a4
|
# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914a4aa87415dabfe77181a2365766417a5919a4
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -26,6 +18,9 @@ stdenv.mkDerivation rec {
|
||||||
# remove unneeded definition of __deprecated__
|
# remove unneeded definition of __deprecated__
|
||||||
sed '/^#define __deprecated__$/d' -i scan/scan_iso8601.c scan/scan_httpdate.c || die
|
sed '/^#define __deprecated__$/d' -i scan/scan_iso8601.c scan/scan_httpdate.c || die
|
||||||
'';
|
'';
|
||||||
|
preBuild = ''
|
||||||
|
make headers
|
||||||
|
'';
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" ];
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue