Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 00:22:28 +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: r473783 - in head/games/openbor: . files
Message-ID:  <201807030022.w630MSu4062858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jul  3 00:22:28 2018
New Revision: 473783
URL: https://svnweb.freebsd.org/changeset/ports/473783

Log:
  games/openbor: update to 6235
  
  Changes:	https://github.com/DCurrent/openbor/compare/5005b966...66ce9c7b

Added:
  head/games/openbor/files/patch-sdl_video.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	Tue Jul  3 00:22:17 2018	(r473782)
+++ head/games/openbor/Makefile	Tue Jul  3 00:22:28 2018	(r473783)
@@ -2,7 +2,7 @@
 
 PORTNAME=	openbor
 # Hint: svn revision is git rev-list --count ${GH_TAGNAME}
-PORTVERSION?=	6219
+PORTVERSION?=	6235
 .ifndef PKGNAMESUFFIX
 PORTREVISION=	0
 .endif
@@ -31,7 +31,7 @@ PORTSCOUT=	ignore:1
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	DCurrent
-GH_TAGNAME?=	5005b966
+GH_TAGNAME?=	66ce9c7b
 
 USES+=		gmake pkgconfig
 .if ${PORTVERSION} < 4433

Modified: head/games/openbor/distinfo
==============================================================================
--- head/games/openbor/distinfo	Tue Jul  3 00:22:17 2018	(r473782)
+++ head/games/openbor/distinfo	Tue Jul  3 00:22:28 2018	(r473783)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530229500
-SHA256 (DCurrent-openbor-6219-5005b966_GH0.tar.gz) = 8393eb2678a320fa38275363443a082a88992e515465df190caf6d72edb2185b
-SIZE (DCurrent-openbor-6219-5005b966_GH0.tar.gz) = 154353589
+TIMESTAMP = 1530539213
+SHA256 (DCurrent-openbor-6235-66ce9c7b_GH0.tar.gz) = 8e1b896e0e3c24fd44fb6a13a0e7c9c5ba8060a06257757f204bde18498309b4
+SIZE (DCurrent-openbor-6235-66ce9c7b_GH0.tar.gz) = 154356541

Added: head/games/openbor/files/patch-sdl_video.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/openbor/files/patch-sdl_video.c	Tue Jul  3 00:22:28 2018	(r473783)
@@ -0,0 +1,17 @@
+Haptic isn't implemented on BSDs thus disabled by default
+
+--- sdl/video.c.orig	2018-07-02 13:46:53 UTC
++++ sdl/video.c
+@@ -46,7 +46,11 @@ int brightness = 0;
+ void initSDL()
+ {
+ 	SDL_DisplayMode video_info;
+-	int init_flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC;
++	int init_flags = SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK;
++
++#ifndef SDL_HAPTIC_DISABLED
++	init_flags |= SDL_INIT_HAPTIC;
++#endif
+ 
+     /*#if EE_CURRENT_PLATFORM == EE_PLATFORM_WINDOWS
+        SDL_setenv("SDL_AUDIODRIVER", "directsound", true);



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