Merge pull request #172658 from tjni/fix-zsh-fzf-tab-darwin

zsh-fzf-tab: fix Darwin build
This commit is contained in:
Bobby Rong 2022-05-12 18:54:00 +08:00 committed by GitHub
commit 17ad98545f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 13 deletions

View File

@ -1,11 +0,0 @@
diff --git a/modules/Src/aloxaf/fzftab.c b/modules/Src/aloxaf/fzftab.c
index 60b6330..91975d8 100644
--- a/modules/Src/aloxaf/fzftab.c
+++ b/modules/Src/aloxaf/fzftab.c
@@ -1,6 +1,5 @@
#include "fzftab.mdh"
#include "fzftab.pro"
-#include <malloc.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/stat.h>

View File

@ -15,8 +15,6 @@ in stdenv.mkDerivation rec {
buildInputs = [ ncurses ];
patches = lib.optionals stdenv.isDarwin [ ./darwin.patch ];
postConfigure = ''
pushd modules
./configure --disable-gdbm --without-tcsetpgrp