Simple update weechat to 4.0.2. Tested on amd64. OK?
Rafael
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/weechat/Makefile,v
retrieving revision 1.72
diff -u -p -u -p -r1.72 Makefile
--- Makefile 31 May 2023 15:21:52 -0000 1.72
+++ Makefile 19 Jul 2023 15:21:33 -0000
@@ -4,7 +4,7 @@ COMMENT-python= Python bindings for weec
COMMENT-ruby= Ruby bindings for weechat
COMMENT-tcl= Tcl bindings for weechat
-V= 3.8
+V= 4.0.2
DISTNAME= weechat-${V}
PKGNAME-main= weechat-${V}
@@ -12,8 +12,6 @@ PKGNAME-lua= weechat-lua-${V}
PKGNAME-python= weechat-python-${V}
PKGNAME-ruby= weechat-ruby-${V}
PKGNAME-tcl= weechat-tcl-${V}
-
-REVISION-ruby= 0
CATEGORIES= net
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/weechat/distinfo,v
retrieving revision 1.39
diff -u -p -u -p -r1.39 distinfo
--- distinfo 8 Jan 2023 21:26:16 -0000 1.39
+++ distinfo 19 Jul 2023 15:21:33 -0000
@@ -1,2 +1,2 @@
-SHA256 (weechat-3.8.tar.gz) = 2dJ/rBJ8ckVkzyjGF5+m7MeaYfna0Jo7JRUA8rB1VAk=
-SIZE (weechat-3.8.tar.gz) = 5461256
+SHA256 (weechat-4.0.2.tar.gz) = 6zv2X5wkEdhdSEEYcYLX6jeP9kuCwurwzviF+Bjsh1M=
+SIZE (weechat-4.0.2.tar.gz) = 4938413
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-CMakeLists_txt,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 8 Jan 2023 21:26:16 -0000 1.9
+++ patches/patch-CMakeLists_txt 19 Jul 2023 15:21:33 -0000
@@ -9,16 +9,7 @@ typedef int __wchar_
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -27,8 +27,6 @@ project(weechat C)
- set(CMAKE_VERBOSE_MAKEFILE OFF)
- set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
- set(CMAKE_SKIP_RPATH ON)
--set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsigned-char -fms-extensions -Wall
-Wextra -Werror-implicit-function-declaration")
--set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsigned-char -fms-extensions -Wall
-Wextra")
-
- # version
- execute_process(COMMAND ${CMAKE_SOURCE_DIR}/version.sh devel-major
OUTPUT_VARIABLE VERSION_MAJOR)
-@@ -224,7 +222,7 @@ if(DL_LIBRARY)
+@@ -255,7 +255,7 @@ if(DL_LIBRARY)
list(APPEND EXTRA_LIBS dl)
endif()
Index: patches/patch-doc_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-doc_CMakeLists_txt,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 patch-doc_CMakeLists_txt
--- patches/patch-doc_CMakeLists_txt 28 Mar 2022 05:10:14 -0000 1.12
+++ patches/patch-doc_CMakeLists_txt 19 Jul 2023 15:21:33 -0000
@@ -1,30 +1,12 @@
Index: doc/CMakeLists.txt
--- doc/CMakeLists.txt.orig
+++ doc/CMakeLists.txt
-@@ -73,16 +73,16 @@ if(ENABLE_MAN OR ENABLE_DOC)
- add_custom_target(rn DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/ReleaseNotes.html)
+@@ -22,7 +22,7 @@ if(ENABLE_MAN OR ENABLE_DOC)
- # man/doc in all languages
-- add_subdirectory(cs)
-- add_subdirectory(de)
-- add_subdirectory(en)
-- add_subdirectory(es)
-- add_subdirectory(fr)
-- add_subdirectory(it)
-- add_subdirectory(ja)
-- add_subdirectory(pl)
-- add_subdirectory(ru)
-- add_subdirectory(sr)
-+ #add_subdirectory(cs)
-+ #add_subdirectory(de)
-+ #add_subdirectory(en)
-+ #add_subdirectory(es)
-+ #add_subdirectory(fr)
-+ #add_subdirectory(it)
-+ #add_subdirectory(ja)
-+ #add_subdirectory(pl)
-+ #add_subdirectory(ru)
-+ #add_subdirectory(sr)
- else()
- message(SEND_ERROR "Asciidoctor not found")
- endif()
+ # docs languages
+ set(AUTOGEN_LANG de en fr it ja pl sr)
+- set(MAN_LANG cs de en fr it ja pl ru sr)
++ set(MAN_LANG en)
+ set(USER_LANG de en fr it ja pl sr)
+ set(PLUGIN_API_LANG en fr it ja sr)
+ set(SCRIPTING_LANG de en fr it ja pl sr)
Index: patches/patch-src_plugins_lua_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-src_plugins_lua_CMakeLists_txt,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-src_plugins_lua_CMakeLists_txt
--- patches/patch-src_plugins_lua_CMakeLists_txt 11 Mar 2022 19:48:10
-0000 1.4
+++ patches/patch-src_plugins_lua_CMakeLists_txt 19 Jul 2023 15:21:33
-0000
@@ -11,4 +11,4 @@ Index: src/plugins/lua/CMakeLists.txt
+ target_link_libraries(lua ${LUA_LIBRARIES} weechat_plugins_scripts
coverage_config)
endif()
- install(TARGETS lua LIBRARY DESTINATION ${WEECHAT_LIBDIR}/plugins)
+ install(TARGETS lua LIBRARY DESTINATION "${WEECHAT_LIBDIR}/plugins")
Index: patches/patch-tests_CMakeLists_txt
===================================================================
RCS file: /cvs/ports/net/weechat/patches/patch-tests_CMakeLists_txt,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 patch-tests_CMakeLists_txt
--- patches/patch-tests_CMakeLists_txt 8 Jan 2023 21:26:16 -0000 1.13
+++ patches/patch-tests_CMakeLists_txt 19 Jul 2023 15:21:33 -0000
@@ -1,7 +1,7 @@
Index: tests/CMakeLists.txt
--- tests/CMakeLists.txt.orig
+++ tests/CMakeLists.txt
-@@ -117,7 +117,7 @@ if(ICONV_LIBRARY)
+@@ -129,7 +129,7 @@ if(ICONV_LIBRARY)
list(APPEND EXTRA_LIBS ${ICONV_LIBRARY})
endif()