spaceFM: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch 2020-01-23 10:40:49 +01:00
parent c36d8a8338
commit 32ea78acd7
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 14 additions and 0 deletions

View File

@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "089r6i40lxcwzp60553b18f130asspnzqldlpii53smz52kvpirx";
};
patches = [ ./glibc-fix.patch ];
configureFlags = [
"--with-bash-path=${pkgs.bash}/bin/bash"
];

View File

@ -0,0 +1,12 @@
diff --git a/src/main.c b/src/main.c
index 27f5614..2b45708 100644
--- a/src/main.c
+++ b/src/main.c
@@ -23,6 +23,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <sys/sysmacros.h>
#include <signal.h>