libb64: Fix i686-linux build failure
https://hydra.nixos.org/build/221506062
This commit is contained in:
parent
8ffd7bb588
commit
015722217e
|
@ -19,6 +19,17 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://github.com/libb64/libb64/commit/4fe47c052e9123da8f751545deb48be08c3411f6.patch";
|
url = "https://github.com/libb64/libb64/commit/4fe47c052e9123da8f751545deb48be08c3411f6.patch";
|
||||||
sha256 = "18b3np3gpyzimqmk6001riqv5n70wfbclky6zzsrvj5zl1dj4ljf";
|
sha256 = "18b3np3gpyzimqmk6001riqv5n70wfbclky6zzsrvj5zl1dj4ljf";
|
||||||
})
|
})
|
||||||
|
# Fix i686-linux build failure.
|
||||||
|
(fetchpatch {
|
||||||
|
name = "elif.patch";
|
||||||
|
url = "https://github.com/libb64/libb64/commit/819e43c8b34261ea3ee694bdc27865a033966083.patch";
|
||||||
|
hash = "sha256-r2jI6Q3rWDtArLlkAuyy7vcjsuRvX+2fBd5yk8XOMcc";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "size_t.patch";
|
||||||
|
url = "https://github.com/libb64/libb64/commit/b5edeafc89853c48fa41a4c16393a1fdc8638ab6.patch";
|
||||||
|
hash = "sha256-+bqfOOlT/t0FLQEMHuxW1BxJcx9rk0yYM3wD43mcymo";
|
||||||
|
})
|
||||||
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) (fetchpatch {
|
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) (fetchpatch {
|
||||||
name = "0001-example-Do-not-run-the-tests.patch";
|
name = "0001-example-Do-not-run-the-tests.patch";
|
||||||
url = "https://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-support/libb64/libb64/0001-example-Do-not-run-the-tests.patch?id=484e0de1e4ee107f21ae2a5c5f976ed987978baf";
|
url = "https://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-support/libb64/libb64/0001-example-Do-not-run-the-tests.patch?id=484e0de1e4ee107f21ae2a5c5f976ed987978baf";
|
||||||
|
|
Loading…
Reference in a new issue