afterstep: apply debian patch to build with recent gcc

This commit is contained in:
Maximilian Bosch 2020-01-18 00:27:35 +01:00
parent d0743cc2f6
commit 871e262dd6
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,7 @@
, fltk, gtk
, libX11, libXext, libICE
, dbus
, fetchpatch
}:
stdenv.mkDerivation rec {
@ -16,6 +17,13 @@ stdenv.mkDerivation rec {
sha256 = "1j7vkx1ig4kzwffdxnkqv3kld9qi3sam4w2nhq18waqjsi8xl5gz";
};
patches = [
(fetchpatch {
url = "https://salsa.debian.org/debian/afterstep/raw/master/debian/patches/44-Fix-build-with-gcc-5.patch";
sha256 = "1vipy2lzzd2gqrsqk85pwgcdhargy815fxlbn57hsm45zglc3lj4";
})
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libjpeg libtiff libpng freetype fltk gtk libX11 libXext libICE dbus dbus ];

View File

@ -18056,7 +18056,6 @@ in
afterstep = callPackage ../applications/window-managers/afterstep {
fltk = fltk13;
gtk = gtk2;
stdenv = gcc49Stdenv;
};
agedu = callPackage ../tools/misc/agedu { };