Hi ports, Hi Rafael, A diff to update WeeChat to its latest version 4.6.0 including a patch against a syntax error - also sent to upstream - is attached.
Best, Alvar diff --git Makefile Makefile index a9de3db7095..6f75ff2bdec 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.5.2 +V= 4.6.0 DISTNAME= weechat-${V} PKGNAME-main= weechat-${V} diff --git distinfo distinfo index 90d78472569..0ed70ef5580 100644 --- distinfo +++ distinfo @@ -1,2 +1,2 @@ -SHA256 (weechat-4.5.2.tar.gz) = DLL3YqihFPuxUcj/8Xrp82Xghd3FSo9RjX6o/pJ1zvQ= -SIZE (weechat-4.5.2.tar.gz) = 5218429 +SHA256 (weechat-4.6.0.tar.gz) = EdSRTFtRSCyK3gJsOIm2jgw+GTigzmEn42+rpI925jM= +SIZE (weechat-4.6.0.tar.gz) = 5252933 diff --git patches/patch-CMakeLists_txt patches/patch-CMakeLists_txt index f320ec3e442..2034ef49aad 100644 --- patches/patch-CMakeLists_txt +++ patches/patch-CMakeLists_txt @@ -20,7 +20,7 @@ Index: CMakeLists.txt if (CMAKE_C_COMPILER_ID STREQUAL "GNU") # extra options specific to gcc/g++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat-overflow=2 -Wformat-truncation=2") -@@ -250,7 +250,7 @@ if(DL_LIBRARY) +@@ -260,7 +260,7 @@ if(DL_LIBRARY) list(APPEND EXTRA_LIBS ${DL_LIBRARY}) endif() diff --git patches/patch-src_plugins_perl_weechat-perl_c patches/patch-src_plugins_perl_weechat-perl_c new file mode 100644 index 00000000000..139326bec7b --- /dev/null +++ patches/patch-src_plugins_perl_weechat-perl_c @@ -0,0 +1,14 @@ +https://github.com/weechat/weechat/pull/2243 + +Index: src/plugins/perl/weechat-perl.c +--- src/plugins/perl/weechat-perl.c.orig ++++ src/plugins/perl/weechat-perl.c +@@ -352,7 +352,7 @@ weechat_perl_exec (struct t_plugin_script *script, + if (weechat_asprintf ( + &func, + "%s::%s", +- (char *) ((script->interpreter) ? script->interpreter : perl_main) ++ (char *) ((script->interpreter) ? script->interpreter : perl_main), + function) < 0) + { + return NULL;