git: 6ce090b85c14 - main - databases/mydumper: Update to 0.14.5-2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:51:24 UTC
The branch main has been updated by sunpoet:

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

commit 6ce090b85c14328fb24e3331bcd2d0ba7cb48ef8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:22:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:43:42 +0000

    databases/mydumper: Update to 0.14.5-2
    
    Changes:        https://github.com/mydumper/mydumper/releases
---
 databases/mydumper/Makefile                          |  2 +-
 databases/mydumper/distinfo                          |  6 +++---
 databases/mydumper/files/patch-src-myloader_common.c | 10 ++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/databases/mydumper/Makefile b/databases/mydumper/Makefile
index 788610d7b14b..e8f6ecb1e42a 100644
--- a/databases/mydumper/Makefile
+++ b/databases/mydumper/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mydumper
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.14.3-1
+DISTVERSION=	0.14.5-2
 CATEGORIES=	databases
 
 MAINTAINER=	sunpoet@FreeBSD.org
diff --git a/databases/mydumper/distinfo b/databases/mydumper/distinfo
index a7432043abbe..ec367991803f 100644
--- a/databases/mydumper/distinfo
+++ b/databases/mydumper/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680726022
-SHA256 (mydumper-mydumper-v0.14.3-1_GH0.tar.gz) = aafb9c0914b720e175988a41d9c340271348e50e3a00556035a9c4afcf80c982
-SIZE (mydumper-mydumper-v0.14.3-1_GH0.tar.gz) = 176380
+TIMESTAMP = 1685162026
+SHA256 (mydumper-mydumper-v0.14.5-2_GH0.tar.gz) = 9875c262e4a2390d5ca9dfa4d2aa71236b78ad4d0da292634a392c93a8d5f9b9
+SIZE (mydumper-mydumper-v0.14.5-2_GH0.tar.gz) = 177402
diff --git a/databases/mydumper/files/patch-src-myloader_common.c b/databases/mydumper/files/patch-src-myloader_common.c
new file mode 100644
index 000000000000..9d37a16b02a2
--- /dev/null
+++ b/databases/mydumper/files/patch-src-myloader_common.c
@@ -0,0 +1,10 @@
+--- src/myloader_common.c.orig	2023-05-24 12:16:48 UTC
++++ src/myloader_common.c
+@@ -21,6 +21,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/wait.h>
++#include <unistd.h>
+ 
+ #ifdef ZWRAP_USE_ZSTD
+ #include "../zstd/zstd_zlibwrapper.h"