git: 17032d37f2de - main - net/socat: Update to 1.8.0.0

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Fri, 17 Nov 2023 14:57:06 UTC
The branch main has been updated by ehaupt:

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

commit 17032d37f2de1d8d259579fe3e7ad8cd7a6df54a
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-11-17 14:56:58 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-11-17 14:57:03 +0000

    net/socat: Update to 1.8.0.0
---
 net/socat/Makefile               |  2 +-
 net/socat/distinfo               |  6 +++---
 net/socat/files/patch-xio-dccp.c | 23 +++++++++++++++++++++++
 3 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/net/socat/Makefile b/net/socat/Makefile
index 5a7f7b7e39ee..048726802dd7 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	socat
-DISTVERSION=	1.7.4.4
+DISTVERSION=	1.8.0.0
 CATEGORIES=	net
 MASTER_SITES=	http://www.dest-unreach.org/socat/download/ \
 		LOCAL/ehaupt
diff --git a/net/socat/distinfo b/net/socat/distinfo
index 432f949e2309..a8cfcb2ee1fa 100644
--- a/net/socat/distinfo
+++ b/net/socat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1667812252
-SHA256 (socat-1.7.4.4.tar.bz2) = fbd42bd2f0e54a3af6d01bdf15385384ab82dbc0e4f1a5e153b3e0be1b6380ac
-SIZE (socat-1.7.4.4.tar.bz2) = 522127
+TIMESTAMP = 1700229347
+SHA256 (socat-1.8.0.0.tar.bz2) = e1de683dd22ee0e3a6c6bbff269abe18ab0c9d7eb650204f125155b9005faca7
+SIZE (socat-1.8.0.0.tar.bz2) = 564066
diff --git a/net/socat/files/patch-xio-dccp.c b/net/socat/files/patch-xio-dccp.c
new file mode 100644
index 000000000000..65e796dddf85
--- /dev/null
+++ b/net/socat/files/patch-xio-dccp.c
@@ -0,0 +1,23 @@
+--- xio-dccp.c.orig	2023-11-13 19:31:08 UTC
++++ xio-dccp.c
+@@ -5,6 +5,9 @@
+ /* this file contains the source for DCCP related functions and options */
+ 
+ #include "xiosysincludes.h"
++#include <sys/types.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+ 
+ #if WITH_DCCP
+ 
+@@ -13,6 +16,10 @@
+ #include "xio-ip4.h"
+ #include "xio-ipapp.h"
+ #include "xio-dccp.h"
++
++#ifndef SOCK_DCCP
++#define SOCK_DCCP 6
++#endif
+ 
+ /****** DCCP addresses ******/
+