Hi all,

There has been a recent update for WeeChat to version 4.4.0

https://github.com/weechat/weechat/releases/tag/v4.4.0
    
A new patch to fix the broken LUA_VERSION check was added. It was
fetched from an upstream Pull Request, experiencing the same build
error: https://github.com/weechat/weechat/pull/2173

Best,
Alvar


diff --git Makefile Makefile
index 031d211b6d1..acfc9cf09ba 100644
--- Makefile
+++ Makefile
@@ -4,7 +4,7 @@ COMMENT-python= Python bindings for weechat
 COMMENT-ruby=  Ruby bindings for weechat
 COMMENT-tcl=   Tcl bindings for weechat
 
-V=             4.3.6
+V=             4.4.0
 DISTNAME=      weechat-${V}
 
 PKGNAME-main=  weechat-${V}
diff --git distinfo distinfo
index 9c5eb698940..50999b6d36e 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (weechat-4.3.6.tar.gz) = WH6UDt6AoAvBFnshBi13ONIcpPu9uC9CGJ5kaR5dcKU=
-SIZE (weechat-4.3.6.tar.gz) = 5134140
+SHA256 (weechat-4.4.0.tar.gz) = jIq9o3kN/nhMMV0CVsgNmdwOZb1r5wH5s3h/lrdXYlU=
+SIZE (weechat-4.4.0.tar.gz) = 5202258
diff --git patches/patch-src_plugins_lua_weechat-lua_c 
patches/patch-src_plugins_lua_weechat-lua_c
new file mode 100644
index 00000000000..69e9c43b63c
--- /dev/null
+++ patches/patch-src_plugins_lua_weechat-lua_c
@@ -0,0 +1,12 @@
+Index: src/plugins/lua/weechat-lua.c
+--- src/plugins/lua/weechat-lua.c.orig
++++ src/plugins/lua/weechat-lua.c
+@@ -1272,7 +1272,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, 
+ #if defined(LUA_VERSION_MAJOR) && defined(LUA_VERSION_MINOR)
+     weechat_hashtable_set (plugin->variables, "interpreter_version",
+                            LUA_VERSION_MAJOR "." LUA_VERSION_MINOR);
+-#elif LUA_VERSION
++#elif defined(LUA_VERSION)
+     weechat_hashtable_set (plugin->variables, "interpreter_version",
+                            LUA_VERSION);
+ #else
diff --git pkg/PLIST-main pkg/PLIST-main
index 557160663f7..70cdb2188eb 100644
--- pkg/PLIST-main
+++ pkg/PLIST-main
@@ -27,7 +27,8 @@ share/doc/weechat/weechat_dev.en.adoc
 share/doc/weechat/weechat_faq.en.adoc
 share/doc/weechat/weechat_plugin_api.en.adoc
 share/doc/weechat/weechat_quickstart.en.adoc
-share/doc/weechat/weechat_relay_protocol.en.adoc
+share/doc/weechat/weechat_relay_api.en.adoc
+share/doc/weechat/weechat_relay_weechat.en.adoc
 share/doc/weechat/weechat_scripting.en.adoc
 share/doc/weechat/weechat_user.en.adoc
 share/locale/cs/LC_MESSAGES/weechat.mo

Reply via email to