afterstep: fix build on upcoming binutils-2.36

Without the change build fails on binutils-2.36 as:

ar clq libAfterBase.a ashash.o ...
ar: libdeps specified more than once

+8
+8
pkgs/applications/window-managers/afterstep/default.nix
··· 22 url = "https://salsa.debian.org/debian/afterstep/raw/master/debian/patches/44-Fix-build-with-gcc-5.patch"; 23 sha256 = "1vipy2lzzd2gqrsqk85pwgcdhargy815fxlbn57hsm45zglc3lj4"; 24 }) 25 ]; 26 27 postPatch = ''
··· 22 url = "https://salsa.debian.org/debian/afterstep/raw/master/debian/patches/44-Fix-build-with-gcc-5.patch"; 23 sha256 = "1vipy2lzzd2gqrsqk85pwgcdhargy815fxlbn57hsm45zglc3lj4"; 24 }) 25 + 26 + # Fix pending upstream inclusion for binutils-2.36 support: 27 + # https://github.com/afterstep/afterstep/pull/7 28 + (fetchpatch { 29 + name = "binutils-2.36.patch"; 30 + url = "https://github.com/afterstep/afterstep/commit/5e9e897cf8c455390dd6f5b27fec49707f6b9088.patch"; 31 + sha256 = "1kk97max05r2p1a71pvpaza79ff0klz32rggik342p7ki3516qv8"; 32 + }) 33 ]; 34 35 postPatch = ''