Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2018 12:08:10 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469877 - in head/games/openbor: . files
Message-ID:  <201805141208.w4EC8AOv082449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon May 14 12:08:09 2018
New Revision: 469877
URL: https://svnweb.freebsd.org/changeset/ports/469877

Log:
  games/openbor: update to 6138
  
  Changes:	https://github.com/DCurrent/openbor/compare/0b077e46...5673214c

Added:
  head/games/openbor/files/patch-source_utils.h   (contents, props changed)
Modified:
  head/games/openbor/Makefile   (contents, props changed)
  head/games/openbor/distinfo   (contents, props changed)
  head/games/openbor/files/patch-source_utils.c   (contents, props changed)

Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile	Mon May 14 11:43:51 2018	(r469876)
+++ head/games/openbor/Makefile	Mon May 14 12:08:09 2018	(r469877)
@@ -2,7 +2,7 @@
 
 PORTNAME=	openbor
 # Hint: svn revision is git rev-list --count ${GH_TAGNAME}
-PORTVERSION?=	5137
+PORTVERSION?=	6138
 .ifndef PKGNAMESUFFIX
 PORTREVISION=	0
 .endif
@@ -31,7 +31,7 @@ PORTSCOUT=	ignore:1
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	DCurrent
-GH_TAGNAME?=	0b077e46
+GH_TAGNAME?=	5673214c
 
 USES+=		gmake pkgconfig
 .if ${PORTVERSION} < 4433

Modified: head/games/openbor/distinfo
==============================================================================
--- head/games/openbor/distinfo	Mon May 14 11:43:51 2018	(r469876)
+++ head/games/openbor/distinfo	Mon May 14 12:08:09 2018	(r469877)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1525902990
-SHA256 (DCurrent-openbor-5137-0b077e46_GH0.tar.gz) = 549538689d66d641410abb6a25457cadd13c04176f737b9e8b5f5ac52246ec17
-SIZE (DCurrent-openbor-5137-0b077e46_GH0.tar.gz) = 74507480
+TIMESTAMP = 1526285237
+SHA256 (DCurrent-openbor-6138-5673214c_GH0.tar.gz) = e07a3970ae1eb050ade6ea02ae21dd0dbc00c028b504a8fa8f3ee73379ba7fe3
+SIZE (DCurrent-openbor-6138-5673214c_GH0.tar.gz) = 74511657

Modified: head/games/openbor/files/patch-source_utils.c
==============================================================================
--- head/games/openbor/files/patch-source_utils.c	Mon May 14 11:43:51 2018	(r469876)
+++ head/games/openbor/files/patch-source_utils.c	Mon May 14 12:08:09 2018	(r469877)
@@ -1,6 +1,14 @@
---- source/utils.c.bak	2017-04-22 14:20:08 UTC
+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);
+                                                     ^
+source/utils.c:303:64: error: member reference base type 'int' is not a structure or union
+        writeToLogFile("Memory usage at exit: %u\n", mallinfo().arena);
+                                                     ~~~~~~~~~~^~~~~~
+
+--- source/utils.c.orig	2017-04-22 14:20:08 UTC
 +++ source/utils.c
-@@ -295,7 +295,7 @@ void *checkAlloc(void *ptr, size_t size, const char *f
+@@ -299,7 +299,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);

Added: head/games/openbor/files/patch-source_utils.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/openbor/files/patch-source_utils.h	Mon May 14 12:08:09 2018	(r469877)
@@ -0,0 +1,19 @@
+In file included from openborscript.c:30:
+In file included from source/openborscript/config.h:12:
+In file included from source/scriptlib/Interpreter.h:11:
+In file included from source/scriptlib/depends.h:13:
+In file included from source/globals.h:24:
+source/utils.h:65:59: error: unknown type name 'time_t'
+void get_time_string(char buffer[], unsigned buffer_size, time_t timestamp, char* pattern); // ex. "%Y-%m-%d %H:%M:%S"
+                                                          ^
+
+--- source/utils.h.orig	2018-05-13 22:01:54 UTC
++++ source/utils.h
+@@ -10,6 +10,7 @@
+ #define UTILS_H
+ 
+ // *** INCLUDES ***
++#include <time.h>
+ #include "types.h"
+ #include "stringptr.h"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805141208.w4EC8AOv082449>