diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2021-11-28 00:35:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-27 19:35:27 -0500 |
commit | 1561c366ab92246fc7f4e2e6b48b394e944c8703 (patch) | |
tree | 083fd86bf3bcf7361321df64b6a9ccc426c84ba5 /pkgs/development/libraries/libAfterImage | |
parent | b9d33a0c163549b60eab92e6de7a58f23b4106e4 (diff) | |
download | nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.tar nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.tar.gz nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.tar.bz2 nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.tar.lz nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.tar.xz nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.tar.zst nixpkgs-1561c366ab92246fc7f4e2e6b48b394e944c8703.zip |
libAfterImage: fix binutils-2.36 compatibility (#147617)
Pull patch pending upstream inclusion.
Diffstat (limited to 'pkgs/development/libraries/libAfterImage')
-rw-r--r-- | pkgs/development/libraries/libAfterImage/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libAfterImage/default.nix b/pkgs/development/libraries/libAfterImage/default.nix index de463cdf42c..b414d79b0ad 100644 --- a/pkgs/development/libraries/libAfterImage/default.nix +++ b/pkgs/development/libraries/libAfterImage/default.nix @@ -44,6 +44,16 @@ stdenv.mkDerivation { url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/libafterimage/files/libafterimage-makefile.in.patch?id=4aa4fca00611b0b3a4007870da43cc5fd63f76c4"; sha256 = "1n6fniz6dldms615046yhc4mlg9gb53y4yfia8wfz6szgq5zicj4"; }) + + # Fix build failure against binutils-2.36: + # https://sourceforge.net/p/afterstep/bugs/5/ + (fetchpatch { + name = "binutils-2.36.patch"; + url = "https://sourceforge.net/p/afterstep/bugs/5/attachment/libafterimage-binutils-2.36-support.patch"; + sha256 = "1cfgm2ffwlsmhvvfmrxlglddaigr99k88d5xqva9pkl3mmzy3jym"; + # workaround '-p0' patchflags below. + stripLen = 1; + }) ]; patchFlags = [ "-p0" ]; |