afterstep: apply debian patch to build with recent gcc
This commit is contained in:
parent
d0743cc2f6
commit
871e262dd6
2 changed files with 8 additions and 1 deletions
|
@ -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 ];
|
||||
|
||||
|
|
|
@ -18056,7 +18056,6 @@ in
|
|||
afterstep = callPackage ../applications/window-managers/afterstep {
|
||||
fltk = fltk13;
|
||||
gtk = gtk2;
|
||||
stdenv = gcc49Stdenv;
|
||||
};
|
||||
|
||||
agedu = callPackage ../tools/misc/agedu { };
|
||||
|
|
Loading…
Reference in a new issue