git: 98c0e20be759 - main - games/openjazz: Update to 20231028

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Tue, 31 Oct 2023 11:06:10 UTC
The branch main has been updated by martymac:

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

commit 98c0e20be7595343757fa25e5d36ec660a97ba76
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2023-10-31 11:05:41 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2023-10-31 11:05:41 +0000

    games/openjazz: Update to 20231028
    
    Also, fix URL in pkg-message
---
 games/openjazz/Makefile                       |  4 ++--
 games/openjazz/distinfo                       |  6 +++---
 games/openjazz/files/patch-src-io-network.cpp | 10 +++++-----
 games/openjazz/files/pkg-message.in           |  2 +-
 games/openjazz/pkg-plist                      |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/games/openjazz/Makefile b/games/openjazz/Makefile
index 4822015d0924..ff032928bbd7 100644
--- a/games/openjazz/Makefile
+++ b/games/openjazz/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openjazz
-PORTVERSION=	20190106
+PORTVERSION=	20231028
 CATEGORIES=	games
 
 MAINTAINER=	martymac@FreeBSD.org
@@ -26,7 +26,7 @@ SUB_FILES=	pkg-message
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${STAGEDIR}${DATADIR}
+	${TOUCH} ${STAGEDIR}${DATADIR}/.keepme
 	${INSTALL_PROGRAM} ${WRKSRC}/OpenJazz ${STAGEDIR}${PREFIX}/bin/openjazz
 
 .include <bsd.port.mk>
diff --git a/games/openjazz/distinfo b/games/openjazz/distinfo
index 1af59aacaf0c..57e0093ced4e 100644
--- a/games/openjazz/distinfo
+++ b/games/openjazz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546990205
-SHA256 (AlisterT-openjazz-20190106_GH0.tar.gz) = 27da3ab32cb6b806502a213c435e1b3b6ecebb9f099592f71caf6574135b1662
-SIZE (AlisterT-openjazz-20190106_GH0.tar.gz) = 219717
+TIMESTAMP = 1698694703
+SHA256 (AlisterT-openjazz-20231028_GH0.tar.gz) = c45ff414dc846563ad7ae4b6c848f938ab695eb4ae6f958856b3fa409da0b8ac
+SIZE (AlisterT-openjazz-20231028_GH0.tar.gz) = 417317
diff --git a/games/openjazz/files/patch-src-io-network.cpp b/games/openjazz/files/patch-src-io-network.cpp
index 59766719ef9d..3afa6c6b6d16 100644
--- a/games/openjazz/files/patch-src-io-network.cpp
+++ b/games/openjazz/files/patch-src-io-network.cpp
@@ -1,10 +1,10 @@
---- src/io/network.cpp.orig	2010-03-30 17:07:37.715288674 +0000
-+++ src/io/network.cpp	2010-03-30 17:13:25.119068484 +0000
-@@ -41,6 +41,7 @@
- 		#define MSG_NOSIGNAL 0
+--- src/io/network.cpp.orig	2023-10-31 10:46:24 UTC
++++ src/io/network.cpp
+@@ -44,6 +44,7 @@
+ 		#endif
  	#else
  		#include <sys/types.h>
 +		#include <netinet/in.h>
  		#include <sys/socket.h>
  		#include <arpa/inet.h>
- 		#include <sys/ioctl.h>
+ 		#include <sys/select.h>
diff --git a/games/openjazz/files/pkg-message.in b/games/openjazz/files/pkg-message.in
index 38d80d57a4b8..da244483e38e 100644
--- a/games/openjazz/files/pkg-message.in
+++ b/games/openjazz/files/pkg-message.in
@@ -5,7 +5,7 @@ OpenJazz is now installed. In order to work, the game
 needs additional files. Please buy the full version or
 download the shareware version (e.g.) here :
 
-http://www.dosgamesarchive.com/download/game/111
+https://www.dosgamesarchive.com/download/jazz-jackrabbit
 
 and copy every file of the game *uppercase* to
 %%DATADIR%%
diff --git a/games/openjazz/pkg-plist b/games/openjazz/pkg-plist
index 0f988dc93fb4..dd31cabb3305 100644
--- a/games/openjazz/pkg-plist
+++ b/games/openjazz/pkg-plist
@@ -1,2 +1,2 @@
 bin/openjazz
-%%DATADIR%%/openjazz.000
+%%DATADIR%%/.keepme