freebsd-ports/devel/lua-pty/files/patch-pty.lua
Philip Paeps 463177d875 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
2006-12-05 22:51:12 +00:00

13 lines
341 B
Lua

--- pty.lua.orig Wed Nov 29 22:38:08 2006
+++ pty.lua Wed Nov 29 22:39:00 2006
@@ -1,9 +1,8 @@
-- $Id: pty.lua,v 1.2 2005/08/13 20:00:40 cpressey Exp $
-- Lua wrapper functions for Lua 5.0.x Pty (pseudo-terminal) binding.
+local Pty = require("lpty")
module("pty")
-
-Pty = require("lpty")
--[[------------]]--
--[[ Pty.Logged ]]--