cygwin: libffi
This commit is contained in:
parent
15952587a0
commit
2904aa33bb
10
pkgs/development/libraries/libffi/3.2.1-cygwin.patch
Normal file
10
pkgs/development/libraries/libffi/3.2.1-cygwin.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- libffi-3.2.1/src/closures.c 2014-11-08 13:47:24.000000000 +0100
|
||||||
|
+++ libffi-3.2.1/src/closures.c 2015-05-19 10:15:50.059325900 +0200
|
||||||
|
@@ -212,6 +212,7 @@
|
||||||
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
/* Cygwin is Linux-like, but not quite that Linux-like. */
|
||||||
|
+#define is_emutramp_enabled() 0
|
||||||
|
#define is_selinux_enabled() 0
|
||||||
|
|
||||||
|
#endif /* !defined(X86_WIN32) && !defined(X86_WIN64) */
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0dya49bnhianl0r65m65xndz6ls2jn1xngyn72gd28ls3n7bnvnh";
|
sha256 = "0dya49bnhianl0r65m65xndz6ls2jn1xngyn72gd28ls3n7bnvnh";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional doCheck dejagnu;
|
buildInputs = stdenv.lib.optional doCheck dejagnu;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user