MFH: r473783
games/openbor: update to 6235
Changes: 5005b966...66ce9c7b
Approved by: ports-secteam (feld, implicit for snapshots)
This commit is contained in:
parent
84424c4732
commit
aa0ac9f4e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=473787
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
17
games/openbor/files/patch-sdl_video.c
Normal file
17
games/openbor/files/patch-sdl_video.c
Normal file
|
@ -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);
|
Loading…
Reference in New Issue
Block a user