git: 7b15f345a8c7 - 2024Q2 - games/openbor: update to 7691
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Apr 2024 00:58:36 UTC
The branch 2024Q2 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7b15f345a8c76b9784d2809b07a89c609a5f7d10
commit 7b15f345a8c76b9784d2809b07a89c609a5f7d10
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-04-23 23:32:41 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-04-25 00:58:34 +0000
games/openbor: update to 7691
Changes: https://github.com/DCurrent/openbor/compare/ec0f4446...cbade65a
(cherry picked from commit 0ac48e6731e978d305daf5f049a8f59debf627ed)
---
games/openbor/Makefile | 4 ++--
games/openbor/distinfo | 6 +++---
games/openbor/files/patch-source_utils.c | 16 ++--------------
3 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/games/openbor/Makefile b/games/openbor/Makefile
index 7c43372a2aff..2cfab43af187 100644
--- a/games/openbor/Makefile
+++ b/games/openbor/Makefile
@@ -1,6 +1,6 @@
PORTNAME= openbor
# Hint: svn revision is git rev-list --count ${GH_TAGNAME}
-PORTVERSION?= 7633
+PORTVERSION?= 7691
PORTREVISION?= 0
CATEGORIES= games
@@ -35,7 +35,7 @@ PORTSCOUT= ignore:1
USE_GITHUB= yes
GH_ACCOUNT= DCurrent
-GH_TAGNAME?= ec0f4446
+GH_TAGNAME?= cbade65a
USES+= cpe gmake pkgconfig sdl
.if ${PORTVERSION} < 4433
diff --git a/games/openbor/distinfo b/games/openbor/distinfo
index 100f97644623..da29dcab4f28 100644
--- a/games/openbor/distinfo
+++ b/games/openbor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712969790
-SHA256 (DCurrent-openbor-7633-ec0f4446_GH0.tar.gz) = bcf54a39e5c49e1f8cd2d677f35947c331cd15e2743953a49fc8a0f8c2412de5
-SIZE (DCurrent-openbor-7633-ec0f4446_GH0.tar.gz) = 212701948
+TIMESTAMP = 1713915161
+SHA256 (DCurrent-openbor-7691-cbade65a_GH0.tar.gz) = 1b27c910c6e0399d708088331c463cc20b39ed59335edb52ea412d844430120e
+SIZE (DCurrent-openbor-7691-cbade65a_GH0.tar.gz) = 212713048
diff --git a/games/openbor/files/patch-source_utils.c b/games/openbor/files/patch-source_utils.c
index 374b62fd35bf..432d628ddb4d 100644
--- a/games/openbor/files/patch-source_utils.c
+++ b/games/openbor/files/patch-source_utils.c
@@ -1,6 +1,3 @@
-source/utils.c:18:10: fatal error: 'features.h' file not found
- 18 | #include <features.h>
- | ^~~~~~~~~~~~
source/utils.c:303:54: error: implicit declaration of function 'mallinfo' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
writeToLogFile("Memory usage at exit: %u\n", mallinfo().arena);
@@ -9,18 +6,9 @@ source/utils.c:303:64: error: member reference base type 'int' is not a structur
writeToLogFile("Memory usage at exit: %u\n", mallinfo().arena);
~~~~~~~~~~^~~~~~
---- source/utils.c.orig 2024-04-11 18:46:01 UTC
+--- source/utils.c.orig 2024-04-23 23:32:41 UTC
+++ source/utils.c
-@@ -14,7 +14,7 @@
- #include <locale.h>
- #include <math.h>
-
--#ifdef LINUX
-+#if defined(__linux__)
- #include <features.h>
- #endif
-
-@@ -307,7 +307,7 @@ void *checkAlloc(void *ptr, size_t size, const char *f
+@@ -303,7 +303,7 @@ void *checkAlloc(void *ptr, size_t size, const char *f
"\n* Shutting Down *\n\n");
writeToLogFile("Out of memory!\n");
writeToLogFile("Allocation of size %i failed in function '%s' at %s:%i.\n", size, func, file, line);