Bug 185791 - [patch] devel/lua-posix: remove unsupported function
Summary: [patch] devel/lua-posix: remove unsupported function
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: lua
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-15 02:20 UTC by Kan Sasaki
Modified: 2014-01-17 17:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.19 KB, patch)
2014-01-15 02:20 UTC, Kan Sasaki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kan Sasaki 2014-01-15 02:20:00 UTC
Remove unsupported function 'fdatasync.'

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-01-15 22:32:35 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-15 22:32:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lua

lua@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-17 17:06:25 UTC
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@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@FreeBSD.org
+MAINTAINER=	lua@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		),
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Baptiste Daroussin freebsd_committer freebsd_triage 2014-01-17 17:06:52 UTC
State Changed
From-To: open->closed

Committed. Thanks!