git: 7cf8a833735e - main - games/sdl-sopwith: update 2.3.0 → 2.4.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 20:04:32 UTC
The branch main has been updated by amdmi3:

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

commit 7cf8a833735e3b39ab1a337b8d6b66980b9b34d1
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-02-28 17:13:51 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-02-28 20:04:00 +0000

    games/sdl-sopwith: update 2.3.0 → 2.4.0
---
 games/sdl-sopwith/Makefile                 |  2 +-
 games/sdl-sopwith/distinfo                 |  6 +++---
 games/sdl-sopwith/files/patch-configure.ac | 12 ++++++------
 games/sdl-sopwith/pkg-plist                |  2 ++
 4 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/games/sdl-sopwith/Makefile b/games/sdl-sopwith/Makefile
index 26879b26bdae..fa9a49609499 100644
--- a/games/sdl-sopwith/Makefile
+++ b/games/sdl-sopwith/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sdl-sopwith
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	2.3.0
+DISTVERSION=	2.4.0
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
diff --git a/games/sdl-sopwith/distinfo b/games/sdl-sopwith/distinfo
index 7e645da8ffc6..da8e25126125 100644
--- a/games/sdl-sopwith/distinfo
+++ b/games/sdl-sopwith/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684772640
-SHA256 (fragglet-sdl-sopwith-sdl-sopwith-2.3.0_GH0.tar.gz) = de322507d03259b7afb5818400894d1fa18850abad10c46d4736b2dfd07231d8
-SIZE (fragglet-sdl-sopwith-sdl-sopwith-2.3.0_GH0.tar.gz) = 862906
+TIMESTAMP = 1709139990
+SHA256 (fragglet-sdl-sopwith-sdl-sopwith-2.4.0_GH0.tar.gz) = 885350cdbc3a95e5986935690bec1e8ea84e4d2983c462eed9691ac216173f96
+SIZE (fragglet-sdl-sopwith-sdl-sopwith-2.4.0_GH0.tar.gz) = 904163
diff --git a/games/sdl-sopwith/files/patch-configure.ac b/games/sdl-sopwith/files/patch-configure.ac
index 9ada53c0cbfd..f7e9ca2c436e 100644
--- a/games/sdl-sopwith/files/patch-configure.ac
+++ b/games/sdl-sopwith/files/patch-configure.ac
@@ -1,15 +1,15 @@
---- configure.ac.orig	2022-08-31 15:52:22 UTC
+--- configure.ac.orig	2024-02-03 20:39:30 UTC
 +++ configure.ac
-@@ -27,12 +27,6 @@ AC_PROG_RANLIB
- AC_CHECK_TOOL(STRIP, strip, )
- AC_CHECK_TOOL(CONVERT, convert, )
+@@ -29,12 +29,6 @@ AC_CHECK_FUNCS(isatty)
+ AC_CHECK_HEADERS(stdbool.h)
+ AC_CHECK_FUNCS(isatty)
  
 -if test "$GCC" = "yes"
 -then
 -        WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
--        CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS"
+-        CFLAGS="-O$OPT_LEVEL -g $WARNINGS $CFLAGS"
 -fi
 -
  dnl network libraries
  
- case "$target" in
+ SOCKET_LIBS=
diff --git a/games/sdl-sopwith/pkg-plist b/games/sdl-sopwith/pkg-plist
index 7a27011f4ee9..d94c491362fc 100644
--- a/games/sdl-sopwith/pkg-plist
+++ b/games/sdl-sopwith/pkg-plist
@@ -1,3 +1,5 @@
 bin/sopwith
 man/man5/sopwith.cfg.5.gz
 man/man6/sopwith.6.gz
+share/applications/sopwith.desktop
+share/icons/hicolor/128x128/apps/sopwith.png