1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

fixed build fail on 8-stable

Submitted by:	maintainer
This commit is contained in:
Daichi GOTO 2013-10-05 02:41:15 +00:00
parent bf8a643350
commit d5d391b196
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329406
2 changed files with 15 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= neko
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://nekovm.org/_media/

View File

@ -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