git.iko.soy/typeable/nixpkgs
on master help sign in
dgsh: fix build with glibc 2.26
commitff7be8f807dc41c340ff9a21b49421da6ab87e71 authorOrivej Desh <orivej@gmx.fr> dateTue 28 Nov 2017, 08:39 (9 years ago) parentf8077b7
2 files changed+16
pkgs/shells/dgsh/default.nix+4 pkgs/shells/dgsh/glibc-2.26.patch+12
pkgs/shells/dgsh/default.nix+4
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
1515 fetchSubmodules = true;
1616 };
1717
18+ patches = [ ./glibc-2.26.patch ];
19+
1820 nativeBuildInputs = [ autoconf automake pkgconfig libtool check
1921 bison git gettext gperf perl texinfo help2man ncurses
2022 ];
@@ -31,6 +33,8 @@ stdenv.mkDerivation rec {
3133 make PREFIX=$out config
3234 '';
3335
36+ enableParallelBuilding = true;
37+
3438 meta = with stdenv.lib; {
3539 description = "The Directed Graph Shell";
3640 homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;
pkgs/shells/dgsh/glibc-2.26.patchnew file+12
@@ -0,0 +1,12 @@
1+diff --git a/core-tools/src/dgsh-httpval.c b/core-tools/src/dgsh-httpval.c
2+index 8b5dce3..7b43c3d 100644
3+--- a/core-tools/src/dgsh-httpval.c
4++++ b/core-tools/src/dgsh-httpval.c
5+@@ -40,6 +40,7 @@
6+ #include <sys/stat.h>
7+ #include <unistd.h>
8+ #include <stdlib.h>
9++#include <stdint.h>
10+ #include <stdio.h>
11+ #include <string.h>
12+ #include <ctype.h>