tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cygwin: libffi
authored by
Marko Durkovic
and committed by
Rok Garbas
11 years ago
2904aa33
15952587
+12
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
libffi
3.2.1-cygwin.patch
default.nix
+10
pkgs/development/libraries/libffi/3.2.1-cygwin.patch
reviewed
···
1
1
+
--- libffi-3.2.1/src/closures.c 2014-11-08 13:47:24.000000000 +0100
2
2
+
+++ libffi-3.2.1/src/closures.c 2015-05-19 10:15:50.059325900 +0200
3
3
+
@@ -212,6 +212,7 @@
4
4
+
#include <sys/mman.h>
5
5
+
6
6
+
/* Cygwin is Linux-like, but not quite that Linux-like. */
7
7
+
+#define is_emutramp_enabled() 0
8
8
+
#define is_selinux_enabled() 0
9
9
+
10
10
+
#endif /* !defined(X86_WIN32) && !defined(X86_WIN64) */
+2
pkgs/development/libraries/libffi/default.nix
reviewed
···
8
8
sha256 = "0dya49bnhianl0r65m65xndz6ls2jn1xngyn72gd28ls3n7bnvnh";
9
9
};
10
10
11
11
+
patches = if stdenv.isCygwin then [ ./3.2.1-cygwin.patch ] else null;
12
12
+
11
13
buildInputs = stdenv.lib.optional doCheck dejagnu;
12
14
13
15
configureFlags = [