svn commit: r340078 - in head/devel/lua-posix: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jan 17 17:06:17 UTC 2014
Author: bapt
Date: Fri Jan 17 17:06:16 2014
New Revision: 340078
URL: http://svnweb.freebsd.org/changeset/ports/340078
QAT: https://qat.redports.org/buildarchive/r340078/
Log:
Remove unsupported function 'fdatasync.'
Pass maintainership to lua@
PR: ports/185791
Submitted by: Kan Sasaki <sasaki at fcc.ad.jp>
Modified:
head/devel/lua-posix/Makefile
head/devel/lua-posix/files/patch-ext__posix__posix.c
Modified: head/devel/lua-posix/Makefile
==============================================================================
--- head/devel/lua-posix/Makefile Fri Jan 17 17:04:18 2014 (r340077)
+++ head/devel/lua-posix/Makefile Fri Jan 17 17:06:16 2014 (r340078)
@@ -3,10 +3,11 @@
PORTNAME= posix
PORTVERSION= 31
+PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= lua at FreeBSD.org
COMMENT= POSIX layer for Lua
LICENSE= MIT
Modified: head/devel/lua-posix/files/patch-ext__posix__posix.c
==============================================================================
--- head/devel/lua-posix/files/patch-ext__posix__posix.c Fri Jan 17 17:04:18 2014 (r340077)
+++ head/devel/lua-posix/files/patch-ext__posix__posix.c Fri Jan 17 17:06:16 2014 (r340078)
@@ -1,5 +1,5 @@
--- ./ext/posix/posix.c.orig 2013-09-09 09:15:14.000000000 +0200
-+++ ./ext/posix/posix.c 2014-01-10 15:21:47.831554392 +0100
++++ ./ext/posix/posix.c 2014-01-17 18:05:10.399556496 +0100
@@ -68,6 +68,10 @@
#include "lauxlib.h"
#include "lua52compat.h"
@@ -11,3 +11,31 @@
#ifndef STREQ
# define STREQ(a, b) (strcmp (a, b) == 0)
#endif
+@@ -3697,6 +3701,7 @@
+ return pushresult(L, fsync(fd), NULL);
+ }
+
++#if 0
+ #if _POSIX_VERSION >= 200112L
+ /***
+ synchronize a file's in-core state with storage device without metadata
+@@ -3712,6 +3717,7 @@
+ return pushresult(L, fdatasync(fd), NULL);
+ }
+ #endif
++#endif
+
+ /***
+ reposition read/write file offset
+@@ -3771,9 +3777,11 @@
+ MENTRY( Perrno ),
+ MENTRY( Pexec ),
+ MENTRY( Pexecp ),
++#if 0
+ #if _POSIX_VERSION >= 200112L
+ MENTRY( Pfdatasync ),
+ #endif
++#endif
+ MENTRY( Pfcntl ),
+ MENTRY( Pfileno ),
+ MENTRY( Pfiles ),
More information about the svn-ports-all
mailing list