daemontools: fix build
This commit is contained in:
parent
bef0b67a84
commit
d7f6367471
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5";
|
sha256 = "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./fix-nix-usernamespace-build.patch ];
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
cd ${name}
|
cd ${name}
|
||||||
|
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
--- admin.org/daemontools-0.76/src/chkshsgr.c 2001-07-12 17:49:49.000000000 +0100
|
||||||
|
+++ admin/daemontools-0.76/src/chkshsgr.c 2017-05-31 23:54:56.662174028 +0100
|
||||||
|
@@ -4,6 +4,7 @@
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
+ return 0;
|
||||||
|
short x[4];
|
||||||
|
|
||||||
|
x[0] = x[1] = 0;
|
Loading…
x
Reference in New Issue
Block a user