Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 21:54:26 +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: r428961 - in head/games/openbor: . files
Message-ID:  <201612192154.uBJLsQxF092830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Dec 19 21:54:26 2016
New Revision: 428961
URL: https://svnweb.freebsd.org/changeset/ports/428961

Log:
  games/openbor: update to 3.0.r4415
  
  - Pacify -fsanitize=address a bit since previous update
  - Drop pointless USES=dos2unix
  
  Changes:	svn log -r4415:r4391 https://svn.code.sf.net/p/openbor/engine/engine/

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

Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile	Mon Dec 19 21:13:02 2016	(r428960)
+++ head/games/openbor/Makefile	Mon Dec 19 21:54:26 2016	(r428961)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	openbor
-PORTVERSION=	3.0.r4390
+PORTVERSION=	3.0.r4415
 CATEGORIES=	games devel
 MASTER_SITES=	LOCAL/jbeich \
 		https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn
@@ -14,9 +14,8 @@ LICENSE=	BSD3CLAUSE
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libvpx.so:multimedia/libvpx
 
-USES=		dos2unix gmake pkgconfig tar:xz
+USES=		gmake pkgconfig tar:xz
 USE_SDL=	gfx2
-DOS2UNIX_FILES=	Makefile
 MAKE_ENV=	BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \
 		GCC_TARGET="${CONFIGURE_TARGET:S/amd64/x86_64/}"
 MAKE_ARGS=	CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \

Modified: head/games/openbor/distinfo
==============================================================================
--- head/games/openbor/distinfo	Mon Dec 19 21:13:02 2016	(r428960)
+++ head/games/openbor/distinfo	Mon Dec 19 21:54:26 2016	(r428961)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480986407
-SHA256 (openbor-3.0.r4390.tar.xz) = d4d42a93db1ccde0c57a5459d42aac7e239ae4e3c4a13fe0eb0aa0174d1ed26d
-SIZE (openbor-3.0.r4390.tar.xz) = 3946520
+TIMESTAMP = 1482161397
+SHA256 (openbor-3.0.r4415.tar.xz) = eba62d10dd78649200dc6411bf5a2f06a348b1e0f3902a29f82144d63a9f81a2
+SIZE (openbor-3.0.r4415.tar.xz) = 3942168

Added: head/games/openbor/files/patch-openbor.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/openbor/files/patch-openbor.c	Mon Dec 19 21:54:26 2016	(r428961)
@@ -0,0 +1,29 @@
+--- openbor.c.orig	2016-12-19 15:29:57 UTC
++++ openbor.c
+@@ -5810,7 +5810,7 @@ s_collision_attack **collision_alloc_att
+     size_t             alloc_size;
+ 
+     // Get amount of memory we'll need.
+-    alloc_size = sizeof(*result);
++    alloc_size = max_collisons * sizeof(*result);
+ 
+     // Allocate memory and get pointer.
+     result = malloc(alloc_size);
+@@ -5859,7 +5859,7 @@ s_collision_body **collision_alloc_body_
+     size_t             alloc_size;
+ 
+     // Get amount of memory we'll need.
+-    alloc_size = sizeof(*result);
++    alloc_size = max_collisons * sizeof(*result);
+ 
+     // Allocate memory and get pointer.
+     result = malloc(alloc_size);
+@@ -34617,7 +34617,7 @@ void keyboard_setup(int player)
+     strncpy(buttonnames[SDID_SPECIAL], "Special", 16);
+     strncpy(buttonnames[SDID_START], "Start", 16);
+     strncpy(buttonnames[SDID_SCREENSHOT], "Screenshot", 16);
+-    strncpy(buttonnames[SDID_ESC], "Exit", 16);
++//    strncpy(buttonnames[SDID_ESC], "Exit", 16);
+ 
+     savesettings();
+     bothnewkeys = 0;



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