Skip to content

Commit ebefbfb

Browse files
committed
Updated patching instructions in README.md
Revised the patching section to use the new single patch file 'lua.pat'.
1 parent 693f4e8 commit ebefbfb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,9 @@ To build Lua with Open Watcom you will need the following:
7474
* Download the Lua 5.4.x sources tarballs from https://lua.org/ftp/, extract them and copy all files in `src` to `Lua`
7575
2) Patch the source code for Watcom (optional):
7676

77-
| GNU Patch | DifPat |
78-
|-------------------------------------|------------------------------------|
79-
| `patch lua/luaconf.h luaconf.pat` | `pat luaconf.pat lua\luaconf.h` |
80-
| `patch lua/lopcodes.h lopcodes.pat` | `pat lopcodes.pat lua\lopcodes.h ` |
81-
| `patch lua/lutf8lib.c lutf8lib.pat` | `pat lutf8lib.pat lua\lutf8lib.c` |
77+
| GNU Patch | DifPat |
78+
|------------------------|-----------------|
79+
| `patch -p0 -i lua.pat` | `pat lua.pat .` |
8280
> If no patching program is available mimic the changes in each `.pat` file manually.
8381
> Patch changes are minimal and only serve to silence Watcom compiler warnings
8482

0 commit comments

Comments
 (0)