games/openbor: update to 7691

Changes:	ec0f4446...cbade65a
This commit is contained in:
Jan Beich
2024-04-24 01:32:41 +02:00
parent 6075b5258f
commit 0ac48e6731
3 changed files with 7 additions and 19 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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);