Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 00:29:26 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r473787 - in branches/2018Q3/games/openbor: . files
Message-ID:  <201807030029.w630TQxW063748@repo.freebsd.org>

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

Log:
  MFH: r473783
  
  games/openbor: update to 6235
  
  Changes:	https://github.com/DCurrent/openbor/compare/5005b966...66ce9c7b
  Approved by:	ports-secteam (feld, implicit for snapshots)

Added:
  branches/2018Q3/games/openbor/files/patch-sdl_video.c
     - copied unchanged from r473783, head/games/openbor/files/patch-sdl_video.c
Modified:
  branches/2018Q3/games/openbor/Makefile
  branches/2018Q3/games/openbor/distinfo
Directory Properties:
  branches/2018Q3/   (props changed)

Modified: branches/2018Q3/games/openbor/Makefile
==============================================================================
--- branches/2018Q3/games/openbor/Makefile	Tue Jul  3 00:28:02 2018	(r473786)
+++ branches/2018Q3/games/openbor/Makefile	Tue Jul  3 00:29:25 2018	(r473787)
@@ -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: branches/2018Q3/games/openbor/distinfo
==============================================================================
--- branches/2018Q3/games/openbor/distinfo	Tue Jul  3 00:28:02 2018	(r473786)
+++ branches/2018Q3/games/openbor/distinfo	Tue Jul  3 00:29:25 2018	(r473787)
@@ -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

Copied: branches/2018Q3/games/openbor/files/patch-sdl_video.c (from r473783, head/games/openbor/files/patch-sdl_video.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q3/games/openbor/files/patch-sdl_video.c	Tue Jul  3 00:29:25 2018	(r473787, copy of r473783, head/games/openbor/files/patch-sdl_video.c)
@@ -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?201807030029.w630TQxW063748>