1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

dgsh: fix build with glibc 2.26

This commit is contained in:
Orivej Desh 2017-11-28 08:39:02 +00:00
parent f8077b7ef1
commit ff7be8f807
2 changed files with 16 additions and 0 deletions

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [ ./glibc-2.26.patch ];
nativeBuildInputs = [ autoconf automake pkgconfig libtool check
bison git gettext gperf perl texinfo help2man ncurses
];
@ -31,6 +33,8 @@ stdenv.mkDerivation rec {
make PREFIX=$out config
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "The Directed Graph Shell";
homepage = http://www.dmst.aueb.gr/dds/sw/dgsh;

View 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>