Revert "gnu-efi: 3.0.11 -> 3.0.13"

This commit is contained in:
davidak 2021-08-26 19:41:17 +02:00 committed by GitHub
parent 49d037feae
commit 04f579d442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,24 @@
{ lib, stdenv, buildPackages, fetchurl, pciutils }: { lib, stdenv, buildPackages, fetchurl, fetchpatch, pciutils }:
with lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnu-efi"; pname = "gnu-efi";
version = "3.0.13"; version = "3.0.11";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/gnu-efi/${pname}-${version}.tar.bz2"; url = "mirror://sourceforge/gnu-efi/${pname}-${version}.tar.bz2";
sha256 = "sha256-L8z3FSecRu5pxIWRhq+BUNB6E/TRmHblRZzWW+gtO30="; sha256 = "1ffnc4xbzfggs37ymrgfx76j56kk2644c081ivhr2bjkla9ag3gj";
}; };
patches = [
# Fix build on armv6l
(fetchpatch {
url = "https://sourceforge.net/p/gnu-efi/patches/_discuss/thread/25bb273a18/9c4d/attachment/0001-Fix-ARCH-on-armv6-and-other-32-bit-ARM-platforms.patch";
sha256 = "0pj03h20g2bbz6fr753bj1scry6919h57l1h86z3b6q7hqfj0b4r";
})
];
buildInputs = [ pciutils ]; buildInputs = [ pciutils ];
hardeningDisable = [ "stackprotector" ]; hardeningDisable = [ "stackprotector" ];