svn commit: r429480 - in head/games/openbor: . files
Jan Beich
jbeich at FreeBSD.org
Mon Dec 26 05:39:56 UTC 2016
Author: jbeich
Date: Mon Dec 26 05:39:54 2016
New Revision: 429480
URL: https://svnweb.freebsd.org/changeset/ports/429480
Log:
games/openbor: skip non-existing bor.pak
Added:
head/games/openbor/files/patch-sdl_menu.c (contents, props changed)
Modified:
head/games/openbor/Makefile (contents, props changed)
Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile Mon Dec 26 05:39:42 2016 (r429479)
+++ head/games/openbor/Makefile Mon Dec 26 05:39:54 2016 (r429480)
@@ -2,7 +2,7 @@
PORTNAME= openbor
PORTVERSION= 3.0.r4420
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= LOCAL/jbeich \
https://svn.code.sf.net/p/${PORTNAME}/engine/engine/:svn
Added: head/games/openbor/files/patch-sdl_menu.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/openbor/files/patch-sdl_menu.c Mon Dec 26 05:39:54 2016 (r429480)
@@ -0,0 +1,13 @@
+Don't crash with empty Paks/ directory.
+
+--- sdl/menu.c.orig 2015-04-18 21:21:56 UTC
++++ sdl/menu.c
+@@ -747,7 +747,7 @@ void Menu()
+ }
+ freeAllLogs();
+ termMenu();
+- if(ctrl == 2)
++ if(dListTotal == 0 || ctrl == 2)
+ {
+ if (filelist)
+ {
More information about the svn-ports-head
mailing list