forked from mirrors/nixpkgs
spaceFM: fix build w/glibc-2.30
This commit is contained in:
parent
c36d8a8338
commit
32ea78acd7
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "089r6i40lxcwzp60553b18f130asspnzqldlpii53smz52kvpirx";
|
||||
};
|
||||
|
||||
patches = [ ./glibc-fix.patch ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-bash-path=${pkgs.bash}/bin/bash"
|
||||
];
|
||||
|
|
12
pkgs/applications/misc/spacefm/glibc-fix.patch
Normal file
12
pkgs/applications/misc/spacefm/glibc-fix.patch
Normal 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>
|
||||
|
Loading…
Reference in a new issue