lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Dec 12, 2001 at 01:28 -0600, Roberto Ierusalimschy wrote:
> I am trying to build the "sleep" power patch. I've got a fresh copy of
> Lua 4.0 and the file sleep.patch. Then I followed the instructions
> 
>   cd to top level of Lua distribution
>   patch -p0 < sleep.patch
> 
> But the result is this:
> 
>   Hunk #3 failed at line 154.
[...]
>   Hunk #22 failed at line 1.
>   20 out of 22 hunks failed: saving rejects to ./include/lua.h.rej
> 
> Any help?

Strange -- I don't know what the problem is.  I just tried it on my
Linux machine and it worked OK:

cd src
tar xzvf lua-4.0.tar.gz
cd lua
patch -p0 < ../sleep.patch

I can send you (and anyone else) a .zip of the patched distribution in
the meantime; just let me know.

-- 
Thatcher Ulrich <tu@tulrich.com>
http://tulrich.com