Simple update weechat from 4.0.x to 4.1.x.

I noticed the following message, so I switch tcl to 8.6 as default.
weechat-tcl-4.1.2(net/weechat,-tcl):
Missing lib: tcl86.1 (/usr/local/lib/weechat/plugins/tcl.so) (NOT REACHABLE)
Extra:  tcl85.1

Everything else looks unexciting. OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/weechat/Makefile,v
diff -u -p -u -p -r1.78 Makefile
--- Makefile    15 Oct 2023 12:47:37 -0000      1.78
+++ Makefile    30 Dec 2023 07:43:55 -0000
@@ -4,7 +4,7 @@ COMMENT-python= Python bindings for weec
 COMMENT-ruby=  Ruby bindings for weechat
 COMMENT-tcl=   Tcl bindings for weechat
 
-V=             4.0.5
+V=             4.1.2
 DISTNAME=      weechat-${V}
 
 PKGNAME-main=  weechat-${V}
@@ -40,6 +40,8 @@ MODULES=      devel/cmake \
                lang/ruby \
                lang/tcl
 
+MODTCL_VERSION =       8.6
+
 MODLUA_RUNDEP= No
 MODPY_RUNDEP=  No
 MODRUBY_RUNDEP=        No
@@ -79,8 +81,6 @@ CONFIGURE_ARGS+=      -DENABLE_GUILE=OFF \
 CONFIGURE_ARGS+=       -DTCL_TCLSH=${MODTCL_BIN} \
                        -DTCL_INCLUDE_PATH=${MODTCL_INCDIR} \
                        -DMODTCL_LIB=${MODTCL_LIB}
-
-MODCMAKE_LDFLAGS =     -L${LOCALBASE}/lib
 
 .include <bsd.port.arch.mk>
 .if ${PROPERTIES:Mclang}
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/weechat/distinfo,v
diff -u -p -u -p -r1.43 distinfo
--- distinfo    15 Oct 2023 12:47:37 -0000      1.43
+++ distinfo    30 Dec 2023 07:43:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (weechat-4.0.5.tar.gz) = RWTK92fMrGye1RrBK63oO9BA9Ckx3XaoH4Kp47oO5Xw=
-SIZE (weechat-4.0.5.tar.gz) = 4946817
+SHA256 (weechat-4.1.2.tar.gz) = XMocRdOLMTBU0Cn23Pxhc4h6wHj5fDWYrXk9nzkITOA=
+SIZE (weechat-4.1.2.tar.gz) = 5081223
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-CMakeLists_txt,v
diff -u -p -u -p -r1.11 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt        27 Jul 2023 12:37:01 -0000      1.11
+++ patches/patch-CMakeLists_txt        30 Dec 2023 07:43:55 -0000
@@ -13,14 +13,14 @@ Index: CMakeLists.txt
  set(CMAKE_SKIP_RPATH ON)
  
  # compiler options
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall 
-Wextra -Werror-implicit-function-declaration")
+-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall 
-Wextra -Werror-implicit-function-declaration -Wformat -Werror=format-security")
 -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall 
-Wextra")
 +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -Wall -Wextra 
-Werror-implicit-function-declaration")
 +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -Wall -Wextra")
  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")
-@@ -255,7 +255,7 @@ if(DL_LIBRARY)
+@@ -245,7 +245,7 @@ if(DL_LIBRARY)
    list(APPEND EXTRA_LIBS dl)
  endif()
  
@@ -28,4 +28,4 @@ Index: CMakeLists.txt
 +#add_subdirectory(icons)
  
  if(ENABLE_NLS)
-   add_subdirectory(po)
+   find_package(Gettext REQUIRED)
Index: patches/patch-src_core_hook_wee-hook-url_h
===================================================================
RCS file: patches/patch-src_core_hook_wee-hook-url_h
diff -N patches/patch-src_core_hook_wee-hook-url_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_core_hook_wee-hook-url_h  30 Dec 2023 07:43:55 -0000
@@ -0,0 +1,12 @@
+Index: src/core/hook/wee-hook-url.h
+--- src/core/hook/wee-hook-url.h.orig
++++ src/core/hook/wee-hook-url.h
+@@ -20,6 +20,8 @@
+ #ifndef WEECHAT_HOOK_URL_H
+ #define WEECHAT_HOOK_URL_H
+ 
++#include <pthread.h>
++
+ struct t_weechat_plugin;
+ struct t_infolist_item;
+ struct t_hashtable;
Index: patches/patch-tests_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-tests_CMakeLists_txt,v
diff -u -p -u -p -r1.14 patch-tests_CMakeLists_txt
--- patches/patch-tests_CMakeLists_txt  23 Jul 2023 20:08:13 -0000      1.14
+++ patches/patch-tests_CMakeLists_txt  30 Dec 2023 07:43:55 -0000
@@ -1,7 +1,7 @@
 Index: tests/CMakeLists.txt
 --- tests/CMakeLists.txt.orig
 +++ tests/CMakeLists.txt
-@@ -129,7 +129,7 @@ if(ICONV_LIBRARY)
+@@ -132,7 +132,7 @@ if(ICONV_LIBRARY)
    list(APPEND EXTRA_LIBS ${ICONV_LIBRARY})
  endif()
  

Reply via email to