diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-07-19 22:10:59 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-07-20 00:25:42 +0000 |
commit | b2a98015636222b3f3024defc4440c8fc8a5cea0 (patch) | |
tree | fa34b89ca8d1a513fd0d4f66f3e8730ac0d72e5c | |
parent | 281ee344b6478aa52136e370f7add00502c96b9d (diff) | |
download | ports-b2a98015636222b3f3024defc4440c8fc8a5cea0.tar.gz ports-b2a98015636222b3f3024defc4440c8fc8a5cea0.zip |
games/openbor: update to 7138
-rw-r--r-- | games/openbor/Makefile | 6 | ||||
-rw-r--r-- | games/openbor/distinfo | 6 | ||||
-rw-r--r-- | games/openbor/files/patch-sdl_video.c | 17 |
3 files changed, 6 insertions, 23 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile index 8266389ccb24..14fe9a453c0e 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -1,6 +1,6 @@ PORTNAME= openbor # Hint: svn revision is git rev-list --count ${GH_TAGNAME} -PORTVERSION?= 7123 +PORTVERSION?= 7138 .ifndef PKGNAMESUFFIX PORTREVISION= 0 .endif @@ -36,7 +36,7 @@ PORTSCOUT= ignore:1 USE_GITHUB= yes GH_ACCOUNT= DCurrent -GH_TAGNAME?= f5261e7c +GH_TAGNAME?= 3caaddd5 USES+= gmake pkgconfig sdl .if ${PORTVERSION} < 4433 @@ -44,7 +44,7 @@ USE_CSTD= gnu89 .endif .if ${PORTVERSION} < 4108 USE_SDL= gfx -.elif ${PORTVERSION} < 6639 || ${PORTVERSION} >= 7119 +.elif ${PORTVERSION} < 6639 USE_SDL= gfx2 .else USE_SDL= sdl2 diff --git a/games/openbor/distinfo b/games/openbor/distinfo index 1d9207a1c997..d2161a6a074a 100644 --- a/games/openbor/distinfo +++ b/games/openbor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1621341374 -SHA256 (DCurrent-openbor-7123-f5261e7c_GH0.tar.gz) = f6ab8cc741defeb594a1341d0ef306b5849cb8c593d5d9941164b05d80727e7a -SIZE (DCurrent-openbor-7123-f5261e7c_GH0.tar.gz) = 26906486 +TIMESTAMP = 1626732659 +SHA256 (DCurrent-openbor-7138-3caaddd5_GH0.tar.gz) = 4671f869aeffb0a13fd21171bbccef2dcca5b5b0c8f5a64bf2a921bc7404fac5 +SIZE (DCurrent-openbor-7138-3caaddd5_GH0.tar.gz) = 26900809 diff --git a/games/openbor/files/patch-sdl_video.c b/games/openbor/files/patch-sdl_video.c deleted file mode 100644 index d2e5be68d653..000000000000 --- a/games/openbor/files/patch-sdl_video.c +++ /dev/null @@ -1,17 +0,0 @@ -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); |