libsigsegv: Add Aarch64 patch
This commit is contained in:
parent
c909f1b18e
commit
ed74fcf14b
2 changed files with 18 additions and 0 deletions
12
pkgs/development/libraries/libsigsegv/aarch64.patch
Normal file
12
pkgs/development/libraries/libsigsegv/aarch64.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/configure b/configure
|
||||
index 6c4e868..0298e19 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -14501,6 +14501,7 @@ else
|
||||
|
||||
case "$host_cpu" in
|
||||
a29k | \
|
||||
+ aarch64* | \
|
||||
alpha* | \
|
||||
arc | \
|
||||
arm* | strongarm* | xscale* | \
|
|
@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "16hrs8k3nmc7a8jam5j1fpspd6sdpkamskvsdpcw6m29vnis8q44";
|
||||
};
|
||||
|
||||
# Based on https://github.com/davidgfnet/buildroot-Os/blob/69fe6065b9dd1cb4dcc0a4b554e42cc2e5bd0d60/package/libsigsegv/libsigsegv-0002-fix-aarch64-build.patch
|
||||
# but applied directly to configure since we can't use autoreconf while bootstrapping.
|
||||
patches = if stdenv.isAarch64 || stdenv.cross.arch or "" == "aarch64"
|
||||
then [ ./aarch64.patch ]
|
||||
else null; # TODO: change to lib.optional on next mass rebuild
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/6028
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue