git: 39a3ef9c41ac - main - games/sdl-sopwith: update 2.4.0 → 2.5.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Mon, 06 May 2024 02:02:18 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39a3ef9c41ac70bc1bb7c4d3920afff1f140afe8

commit 39a3ef9c41ac70bc1bb7c4d3920afff1f140afe8
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-04-23 18:12:54 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-05-06 02:01:11 +0000

    games/sdl-sopwith: update 2.4.0 → 2.5.0
---
 games/sdl-sopwith/Makefile                 |  3 +--
 games/sdl-sopwith/distinfo                 |  6 +++---
 games/sdl-sopwith/files/patch-configure.ac | 20 ++++++++------------
 3 files changed, 12 insertions(+), 17 deletions(-)

diff --git a/games/sdl-sopwith/Makefile b/games/sdl-sopwith/Makefile
index ca0196c5c721..b44d47ab225e 100644
--- a/games/sdl-sopwith/Makefile
+++ b/games/sdl-sopwith/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	sdl-sopwith
 DISTVERSIONPREFIX=	${PORTNAME}-
-DISTVERSION=	2.4.0
-PORTREVISION=	1
+DISTVERSION=	2.5.0
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
diff --git a/games/sdl-sopwith/distinfo b/games/sdl-sopwith/distinfo
index da8e25126125..9f9324a59586 100644
--- a/games/sdl-sopwith/distinfo
+++ b/games/sdl-sopwith/distinfo
@@ -1,3 +1,3 @@
-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
+TIMESTAMP = 1713895652
+SHA256 (fragglet-sdl-sopwith-sdl-sopwith-2.5.0_GH0.tar.gz) = 1dafbf1f7bc614c94427114cf1d6f8fbcc0b191219249f13776dffaae9ce1af0
+SIZE (fragglet-sdl-sopwith-sdl-sopwith-2.5.0_GH0.tar.gz) = 908617
diff --git a/games/sdl-sopwith/files/patch-configure.ac b/games/sdl-sopwith/files/patch-configure.ac
index f7e9ca2c436e..4ba212ed45c0 100644
--- a/games/sdl-sopwith/files/patch-configure.ac
+++ b/games/sdl-sopwith/files/patch-configure.ac
@@ -1,15 +1,11 @@
---- configure.ac.orig	2024-02-03 20:39:30 UTC
+--- configure.ac.orig	2024-04-18 23:56:19 UTC
 +++ configure.ac
-@@ -29,12 +29,6 @@ AC_CHECK_FUNCS(isatty)
- AC_CHECK_HEADERS(stdbool.h)
- AC_CHECK_FUNCS(isatty)
+@@ -27,7 +27,7 @@ if test "$GCC" = "yes"; then
  
--if test "$GCC" = "yes"
--then
--        WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
--        CFLAGS="-O$OPT_LEVEL -g $WARNINGS $CFLAGS"
--fi
--
- dnl network libraries
+ if test "$GCC" = "yes"; then
+         WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
+-        CFLAGS="-O2 -g $WARNINGS $CFLAGS"
++        CFLAGS="$WARNINGS $CFLAGS"
+ fi
  
- SOCKET_LIBS=
+ dnl network libraries; not all systems have the sockets API in their libc: