Maintainer update of devel/lua50-pty to support both lua 5.1 and 5.0. Also updates bsd.lua.mk Fix: 1. Repocopy devel/lua50-pty to devel/lua-pty 2. Remove the contents of devel/lua50-pty/files 3. Add patch-pty.c and patch-pty.lua to devel/lua-pty/files 4. Apply the patch lua-pty.diff --- pty.c.orig Wed Nov 29 21:26:24 2006 +++ pty.c Wed Nov 29 21:29:38 2006 @@ -66,6 +66,15 @@ #define WEXIT_TYPE union wait #endif +#ifndef lua_boxpointer +#define lua_boxpointer(L,u) \ + (*(void **)(lua_newuserdata(L, sizeof(void *))) = (u)) +#endif + +#ifndef lua_unboxpointer +#define lua_unboxpointer(L,i) (*(void **)(lua_touserdata(L, i))) +#endif + struct lua_pty { FILE *stream; pid_t child; --- patch-pty.c ends here ---
Responsible Changed From-To: freebsd-ports-bugs->philip philip@ wants to have LUA PRs
philip 2006-12-05 22:51:12 UTC FreeBSD ports repository Modified files: Mk bsd.lua.mk devel Makefile devel/lua-pty Makefile devel/lua-pty/files Makefile devel/lua50-pty Makefile Added files: devel/lua-pty/files patch-pty.c patch-pty.lua Removed files: devel/lua50-pty distinfo devel/lua50-pty/files Makefile Log: Add devel/lua-pty to work with Lua 5.0 and Lua 5.1 and turn devel/lua50-pty into a slave port of it. PR: ports/106347 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer) Repocopy by: marcus Revision Changes Path 1.6 +2 -1 ports/Mk/bsd.lua.mk 1.2536 +1 -0 ports/devel/Makefile 1.7 +6 -5 ports/devel/lua-pty/Makefile 1.4 +4 -1 ports/devel/lua-pty/files/Makefile 1.1 +18 -0 ports/devel/lua-pty/files/patch-pty.c (new) 1.1 +13 -0 ports/devel/lua-pty/files/patch-pty.lua (new) 1.7 +2 -31 ports/devel/lua50-pty/Makefile 1.2 +0 -6 ports/devel/lua50-pty/distinfo (dead) 1.4 +0 -11 ports/devel/lua50-pty/files/Makefile (dead) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!