Verified Commit 27d54fd3 authored by Jan Pavlinec's avatar Jan Pavlinec
Browse files

fixup! lua-cqueues: add new package for knot-resolver http module

parent 0d67513b
......@@ -43,11 +43,11 @@ define Build/Compile
endef
define Package/lua-cqueues/install
$(INSTALL_DIR) $(1)/usr/lib/lua
$(INSTALL_DIR) $(1)/usr/share/lua
$(MAKE) -C $(PKG_BUILD_DIR)/ \
lua51path=$(1)/usr/lib/lua lua51cpath=$(1)/usr/lib/lua \
lua51path=$(1)/usr/share/lua lua51cpath=$(1)/usr/share/lua \
install5.1
mv $(1)/usr/lib/lua/_cqueues.so $(1)/usr/lib/lua/cqueues.so
mv $(1)/usr/share/lua/_cqueues.so $(1)/usr/share/lua/cqueues.so
endef
$(eval $(call BuildPackage,lua-cqueues))
Index: cqueues-rel-20200726/vendor/compat53/c-api/compat-5.3.h
===================================================================
--- cqueues-rel-20200726.orig/vendor/compat53/c-api/compat-5.3.h
+++ cqueues-rel-20200726/vendor/compat53/c-api/compat-5.3.h
@@ -100,7 +100,7 @@ extern "C" {
# define LUA_ERRGCMM (LUA_ERRERR + 2)
#endif /* LUA_ERRGCMM define */
-typedef size_t lua_Unsigned;
+//typedef size_t lua_Unsigned;
typedef struct luaL_Buffer_53 {
luaL_Buffer b; /* make incorrect code crash! */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment