Merge from vendor branch LESS:
[dragonfly.git] / contrib / bsdinstaller-1.1.6 / ports / devel / lua50-posix / files / patch-posix.lua
1 --- posix.lua.orig      2003-06-18 05:47:44.000000000 -0700
2 +++ posix.lua   2005-03-28 20:13:37.000000000 -0800
3 @@ -2,9 +2,8 @@
4  -- support code for posix library
5  -- usage lua -lposix ...
6  
7 -local function so(x)
8 -       local SOPATH= os.getenv"LUA_SOPATH" or "./"
9 -       assert(loadlib(SOPATH.."l"..x..".so","luaopen_"..x))()
10 -end
11 +module("posix")
12  
13 -so"posix"
14 +require "lposix"
15 +
16 +return posix