mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
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
620968a43a
upon dropping support for EoL'ed FreeBSD 11)
Reported by: portscout
This commit is contained in:
parent
0dd74c338a
commit
b2c4944c98
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user