brimworks / lua-zip

Lua binding to libzip.
81 stars 27 forks source link

Compatibility fixes #14

Closed MisterDA closed 5 years ago

MisterDA commented 5 years ago

I explain it in more details in the commit messages, but the fact is that I was completely wrong on how to fix compatibility issues, and what I did is not working at all for users on Debian and Homebrew, and I suspect, everywhere else.

I am confident that I have now fixed the problem. I have compiled lua-zip and run local zip = require "brimworks.zip"successfully with these commits on Lua 5.1, 5.2, and 5.3; and checked that tests successfully pass (except for the time resolution issue) on Lua 5.3.

Please consider merging these, and then tagging a new version and uploading it on LuaRocks.

Many thanks!

brimworks commented 5 years ago

Thanks for the contribution, new spec has been uploaded as version 0.2-0:

https://luarocks.org/modules/brimworks/lua-zip/0.2-0