mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
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;
|
||||
};
|
||||
|
||||
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;
|
||||
|
|
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 a new issue