nixpkgs/pkgs/development/lisp-modules/patches/cffi-libffi-darwin-ffi-h.patch
Steve Purcell f40761c7f8 cffi-libffi: use ffi.h patch for darwin
This patch was in lisp-modules-new-obsolete, but not applied
here. Without it, cffi-libffi fails to build on darwin.
2023-10-01 19:23:55 +02:00

14 lines
No EOL
246 B
Diff

--- a/libffi/libffi-types.lisp
+++ b/libffi/libffi-types.lisp
@@ -43,9 +43,6 @@
(pkg-config-cflags "libffi" :optional t)
-#+darwin
-(include "ffi/ffi.h")
-#-darwin
(include "ffi.h")
(cenum status
Diff finished. Sun Nov 13 00:23:10 2022