summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanisław Pitucha <git@viraptor.info>2024-06-16 08:15:43 +1000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-15 23:05:07 +0000
commite293ea39d0f4ddff589f52d2c9382bec78bfccfa (patch)
tree8f07b6a1c1be1c541880532e2b82ba159419fb01
parentperlPackages.AnyEventI3: 0.17 -> 0.19 (diff)
downloadnixpkgs-e293ea39d0f4ddff589f52d2c9382bec78bfccfa.tar.gz
bftpd: fix darwin build
Explicitly set the C standard to fix builds on new compilers. (cherry picked from commit c3a453e548a0cd8ce3f5481f53774bd7abd15021)
-rw-r--r--pkgs/servers/ftp/bftpd/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/ftp/bftpd/default.nix b/pkgs/servers/ftp/bftpd/default.nix
index a46a2503e802..443fe5ced557 100644
--- a/pkgs/servers/ftp/bftpd/default.nix
+++ b/pkgs/servers/ftp/bftpd/default.nix
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
buildInputs = [ libxcrypt ];
+ CFLAGS = "-std=gnu89";
+
preConfigure = ''
sed -re 's/-[og] 0//g' -i Makefile*
'';