aboutsummaryrefslogtreecommitdiff
path: root/devel/py-psyco/files
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-06-10 13:41:26 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-06-10 13:41:26 +0000
commitc99aad1e864cdffa143137c12bc10505da738861 (patch)
treea776c54d8497d519aa7e9507e8c56a2b65f9aef6 /devel/py-psyco/files
parent0b156f660d3cf3910954131d5d12c9c6a0cfb8d5 (diff)
downloadports-c99aad1e864cdffa143137c12bc10505da738861.tar.gz
ports-c99aad1e864cdffa143137c12bc10505da738861.zip
Notes
Diffstat (limited to 'devel/py-psyco/files')
-rw-r--r--devel/py-psyco/files/patch-c__platform.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/py-psyco/files/patch-c__platform.c b/devel/py-psyco/files/patch-c__platform.c
new file mode 100644
index 000000000000..bc39db83c70c
--- /dev/null
+++ b/devel/py-psyco/files/patch-c__platform.c
@@ -0,0 +1,13 @@
+#
+# 4.x require sys/types.h to mmap()
+#
+--- ./c/platform.c.orig Fri May 26 17:45:34 2006
++++ ./c/platform.c Fri May 26 17:45:51 2006
+@@ -32,6 +32,7 @@
+ /************************************************************/
+
+ #include <stdlib.h>
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
+ # define MAP_ANONYMOUS MAP_ANON