git: b2c4944c9800 - main - databases/iowow: the port had been updated to version 1.4.14

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Tue, 15 Feb 2022 17:22:57 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b2c4944c9800bcc51bcd342e0ec3bf8ae8df537b

commit b2c4944c9800bcc51bcd342e0ec3bf8ae8df537b
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-02-15 17:21:42 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-02-15 17:21:42 +0000

    databases/iowow: the port had been updated to version 1.4.14
    
    - Remove `post-patch' target and two patch hunks now that these
      issues had been fixed and integrated upstream
    - GC no longer useful patch (should have been removed in commit
      620968a43a5f upon dropping support for EoL'ed FreeBSD 11)
    
    Reported by:    portscout
---
 databases/iowow/Makefile                            |  6 +-----
 databases/iowow/distinfo                            |  6 +++---
 databases/iowow/files/patch-src_CMakeLists.txt      | 21 ---------------------
 .../iowow/files/patch-src_platform_unix_unix.c      | 11 -----------
 databases/iowow/pkg-plist                           |  1 +
 5 files changed, 5 insertions(+), 40 deletions(-)

diff --git a/databases/iowow/Makefile b/databases/iowow/Makefile
index 4c278229e153..9118f2829c39 100644
--- a/databases/iowow/Makefile
+++ b/databases/iowow/Makefile
@@ -1,7 +1,7 @@
 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	iowow
-PORTVERSION=	1.4.13
+PORTVERSION=	1.4.14
 DISTVERSIONPREFIX=	v
 CATEGORIES=	databases
 
@@ -23,10 +23,6 @@ OPTIONS_DEFINE=	DOCS TEST
 TEST_BUILD_DEPENDS=	${LOCALBASE}/include/CUnit/Basic.h:devel/cunit
 TEST_CMAKE_ON=	-DBUILD_TESTS:BOOL=ON
 
-post-patch:
-	@${REINPLACE_CMD} -e '/-D_XOPEN_SOURCE=600/d' \
-		${WRKSRC}/src/CMakeLists.txt
-
 do-test-TEST-on:
 	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
 
diff --git a/databases/iowow/distinfo b/databases/iowow/distinfo
index 41d583cc778e..d99c3ceb5388 100644
--- a/databases/iowow/distinfo
+++ b/databases/iowow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1630659785
-SHA256 (Softmotions-iowow-v1.4.13_GH0.tar.gz) = 73535cd7a0bb6de2a8d1063da787b9b9d95810c2036e342400c12ad6f853fe60
-SIZE (Softmotions-iowow-v1.4.13_GH0.tar.gz) = 522886
+TIMESTAMP = 1644841477
+SHA256 (Softmotions-iowow-v1.4.14_GH0.tar.gz) = 62f0b780f3a48a182cc923fa2d77790cdeeed8081709c8d176e53414da350ad2
+SIZE (Softmotions-iowow-v1.4.14_GH0.tar.gz) = 532045
diff --git a/databases/iowow/files/patch-src_CMakeLists.txt b/databases/iowow/files/patch-src_CMakeLists.txt
index 3f42057dd4b5..43b5202787b1 100644
--- a/databases/iowow/files/patch-src_CMakeLists.txt
+++ b/databases/iowow/files/patch-src_CMakeLists.txt
@@ -1,17 +1,5 @@
 --- src/CMakeLists.txt.orig	2019-03-29 16:56:25 UTC
 +++ src/CMakeLists.txt
-@@ -100,6 +100,11 @@ if (HAVE_CLOCK_MONOTONIC)
-   add_definitions(-DIW_HAVE_CLOCK_MONOTONIC)
- endif()
- 
-+check_symbol_exists(basename_r libgen.h HAVE_BASENAME_R)
-+if (HAVE_BASENAME_R)
-+  set_source_files_properties(log/iwlog.c PROPERTIES COMPILE_FLAGS -DIW_HAVE_BASENAME_R)
-+endif()
-+
- foreach(HF IN ITEMS stdlib stddef stdint stdbool stdatomic unistd dirent)
-     string(TOUPPER "${HF}" UHF)
-     check_include_file(${HF}.h "IW_HAVE_${UHF}")
 @@ -164,7 +169,7 @@ endif()
  
  set(CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -Werror -DDEBUG -D_DEBUG -UNDEBUG \
@@ -21,15 +9,6 @@
  set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE} -g")
  
  
-@@ -187,7 +192,7 @@ file(GLOB PROJECT_GENERATED_HDRS ${PROJECT_GENERATED_D
- list(APPEND ALL_HDRS ${PROJECT_GENERATED_HDRS})
- 
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tmpl/libiowow.pc.in ${PROJECT_GENERATED_DIR}/libiowow.pc @ONLY)
--install(FILES ${PROJECT_GENERATED_DIR}/libiowow.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-+install(FILES ${PROJECT_GENERATED_DIR}/libiowow.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}data/pkgconfig)
- 
- foreach(MODULE IN LISTS MODULES)
-     if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}/CMakeLists.txt)
 @@ -278,7 +283,6 @@ endif()
  
  
diff --git a/databases/iowow/files/patch-src_platform_unix_unix.c b/databases/iowow/files/patch-src_platform_unix_unix.c
deleted file mode 100644
index 7e58d255962b..000000000000
--- a/databases/iowow/files/patch-src_platform_unix_unix.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/platform/unix/unix.c.orig	2021-09-03 09:03:05 UTC
-+++ src/platform/unix/unix.c
-@@ -355,7 +355,7 @@ iwrc iwp_fdatasync(HANDLE fh) {
-   if (fcntl(fh, F_FULLFSYNC) == -1) {
-     return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno);
-   }
--#else
-+#elif defined(__FreeBSD_version)
-   if (fdatasync(fh) == -1) {
-     return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno);
-   }
diff --git a/databases/iowow/pkg-plist b/databases/iowow/pkg-plist
index 0aa3a9e4d6cc..5601d1355416 100644
--- a/databases/iowow/pkg-plist
+++ b/databases/iowow/pkg-plist
@@ -14,6 +14,7 @@ include/iowow/iwp.h
 include/iowow/iwpool.h
 include/iowow/iwrb.h
 include/iowow/iwrdb.h
+include/iowow/iwre.h
 include/iowow/iwsha2.h
 include/iowow/iwstree.h
 include/iowow/iwstw.h