dgsh: fix build with glibc 2.26
This commit is contained in:
parent
f8077b7ef1
commit
ff7be8f807
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./glibc-2.26.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake pkgconfig libtool check
|
nativeBuildInputs = [ autoconf automake pkgconfig libtool check
|
||||||
bison git gettext gperf perl texinfo help2man ncurses
|
bison git gettext gperf perl texinfo help2man ncurses
|
||||||
];
|
];
|
||||||
@ -31,6 +33,8 @@ stdenv.mkDerivation rec {
|
|||||||
make PREFIX=$out config
|
make PREFIX=$out config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "The Directed Graph Shell";
|
description = "The Directed Graph Shell";
|
||||||
homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;
|
homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;
|
||||||
|
12
pkgs/shells/dgsh/glibc-2.26.patch
Normal file
12
pkgs/shells/dgsh/glibc-2.26.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/core-tools/src/dgsh-httpval.c b/core-tools/src/dgsh-httpval.c
|
||||||
|
index 8b5dce3..7b43c3d 100644
|
||||||
|
--- a/core-tools/src/dgsh-httpval.c
|
||||||
|
+++ b/core-tools/src/dgsh-httpval.c
|
||||||
|
@@ -40,6 +40,7 @@
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <ctype.h>
|
Loading…
Reference in New Issue
Block a user