aboutsummaryrefslogtreecommitdiff
path: root/lang/neko
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2013-10-05 02:41:15 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2013-10-05 02:41:15 +0000
commitd5d391b1966d9f45fbbac167db3bb36b8d5cc6ab (patch)
treeac653cb1ba371ee37dc1d236767132dc0bfa1674 /lang/neko
parentbf8a6433505073a09976328f2c75502dd7b5f742 (diff)
downloadports-d5d391b1966d9f45fbbac167db3bb36b8d5cc6ab.tar.gz
ports-d5d391b1966d9f45fbbac167db3bb36b8d5cc6ab.zip
Notes
Diffstat (limited to 'lang/neko')
-rw-r--r--lang/neko/Makefile1
-rw-r--r--lang/neko/files/patch-libs_std_sys.c14
2 files changed, 15 insertions, 0 deletions
diff --git a/lang/neko/Makefile b/lang/neko/Makefile
index ced3da5b1671..7e22f36aca5b 100644
--- a/lang/neko/Makefile
+++ b/lang/neko/Makefile
@@ -3,6 +3,7 @@
PORTNAME= neko
PORTVERSION= 2.0.0
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://nekovm.org/_media/
diff --git a/lang/neko/files/patch-libs_std_sys.c b/lang/neko/files/patch-libs_std_sys.c
new file mode 100644
index 000000000000..250550943fc1
--- /dev/null
+++ b/lang/neko/files/patch-libs_std_sys.c
@@ -0,0 +1,14 @@
+--- libs/std/sys.c.orig 2013-10-03 01:47:05.000000000 +0900
++++ libs/std/sys.c 2013-10-03 01:45:35.000000000 +0900
+@@ -41,7 +41,11 @@
+ # include <sys/time.h>
+ # include <sys/times.h>
+ # include <sys/wait.h>
++# if __FreeBSD_version >= 900044
+ # include <xlocale.h>
++# else
++# undef NEKO_POSIX
++# endif
+ #endif
+
+ #ifdef NEKO_MAC