Skip to content

Commit ff7be8f

Browse files
committedNov 28, 2017
dgsh: fix build with glibc 2.26
1 parent f8077b7 commit ff7be8f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
 

‎pkgs/shells/dgsh/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -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.patch

+12
Original file line numberDiff line numberDiff line change
@@ -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>

0 commit comments

Comments
 (0)
Please sign in to comment.