From 32ea78acd7f70f8dd301bb1061d23b27a70ec2f7 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 23 Jan 2020 10:40:49 +0100 Subject: [PATCH] spaceFM: fix build w/glibc-2.30 --- pkgs/applications/misc/spacefm/default.nix | 2 ++ pkgs/applications/misc/spacefm/glibc-fix.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/applications/misc/spacefm/glibc-fix.patch diff --git a/pkgs/applications/misc/spacefm/default.nix b/pkgs/applications/misc/spacefm/default.nix index 9550a8d4fd7b..47e13fa25085 100644 --- a/pkgs/applications/misc/spacefm/default.nix +++ b/pkgs/applications/misc/spacefm/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { sha256 = "089r6i40lxcwzp60553b18f130asspnzqldlpii53smz52kvpirx"; }; + patches = [ ./glibc-fix.patch ]; + configureFlags = [ "--with-bash-path=${pkgs.bash}/bin/bash" ]; diff --git a/pkgs/applications/misc/spacefm/glibc-fix.patch b/pkgs/applications/misc/spacefm/glibc-fix.patch new file mode 100644 index 000000000000..b8e9f1e9195e --- /dev/null +++ b/pkgs/applications/misc/spacefm/glibc-fix.patch @@ -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 + #include + #include ++#include + + #include +