diff options
author | wyvie <elijahrum@gmail.com> | 2014-09-23 18:01:02 +0400 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-09-30 07:42:19 +0100 |
commit | d4b7910f80267613017baa7388a9c39ab7a722fb (patch) | |
tree | 09cada3e14d45ee18fc7bc167bc67ae373a0854b /pkgs/development/lua-modules/zip.patch | |
parent | 134e74dbc7c6a1eb7c92dfd1ad23b7ab69ca78c9 (diff) |
Added more lua modules to lua-packages, added them as dependencies for
mudlet Closes #4269
Diffstat (limited to 'pkgs/development/lua-modules/zip.patch')
-rw-r--r-- | pkgs/development/lua-modules/zip.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/lua-modules/zip.patch b/pkgs/development/lua-modules/zip.patch new file mode 100644 index 0000000000000..c3f88f451e8db --- /dev/null +++ b/pkgs/development/lua-modules/zip.patch @@ -0,0 +1,23 @@ +--- a/Makefile 2007-10-30 01:59:10.000000000 +0300 ++++ b/Makefile 2014-09-18 11:04:53.176320021 +0400 +@@ -6,10 +6,6 @@ + + include $(CONFIG) + +-ifeq "$(LUA_VERSION_NUM)" "500" +-COMPAT_O= $(COMPAT_DIR)/compat-5.1.o +-endif +- + SRCS= src/lua$T.c + OBJS= src/lua$T.o $(COMPAT_O) + +@@ -19,9 +15,6 @@ + src/$(LIBNAME): $(OBJS) + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) -lzzip + +-$(COMPAT_DIR)/compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c +- $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c +- + install: src/$(LIBNAME) + mkdir -p $(LUA_LIBDIR) + cp src/$(LIBNAME) $(LUA_LIBDIR) |