mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
afterstep: binutils 2.37 fix
Co-authored-by: TredwellGit <tredwell@tutanota.com>
This commit is contained in:
parent
ce91080db2
commit
cc83bad887
@ -45,6 +45,18 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# A strange type of bug: dbus is not immediately found by pkg-config
|
# A strange type of bug: dbus is not immediately found by pkg-config
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
# binutils 2.37 fix
|
||||||
|
# https://github.com/afterstep/afterstep/issues/2
|
||||||
|
fixupList=(
|
||||||
|
"autoconf/Makefile.defines.in"
|
||||||
|
"libAfterImage/aftershow/Makefile.in"
|
||||||
|
"libAfterImage/apps/Makefile.in"
|
||||||
|
"libAfterBase/Makefile.in"
|
||||||
|
"libAfterImage/Makefile.in"
|
||||||
|
)
|
||||||
|
for toFix in "''${fixupList[@]}"; do
|
||||||
|
substituteInPlace "$toFix" --replace "clq" "cq"
|
||||||
|
done
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config dbus-1 --cflags)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user