Bug 106347 - Maintainer update of devel/lua50-pty
Summary: Maintainer update of devel/lua50-pty
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: Philip Paeps
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-04 21:00 UTC by Andrew Turner
Modified: 2006-12-05 23:00 UTC (History)
1 user (show)

See Also:


Attachments
lua-pty.diff (3.37 KB, patch)
2006-12-04 21:00 UTC, Andrew Turner
no flags Details | Diff
patch-pty.lua (340 bytes, text/plain)
2006-12-04 21:00 UTC, Andrew Turner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Turner 2006-12-04 21:00:24 UTC
	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 ---
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-04 21:04:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->philip

philip@ wants to have LUA PRs
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-12-05 22:51:18 UTC
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"
Comment 3 Philip Paeps freebsd_committer freebsd_triage 2006-12-05 22:54:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!