1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Remove unneeded environment variable (SDL_VIDEO_X11_DGAMOUSE=0). My system

was in a state that made it appear that it was required.

Approved by:	itetcu
This commit is contained in:
Sean Farley 2009-06-14 22:23:39 +00:00
parent 1880cd0acd
commit d912d5de99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235827
2 changed files with 4 additions and 7 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= linux-ut
PORTVERSION= ${UTVERSION}
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= games linux
MASTER_SITES= http://liflg.0wnitsch.de/files/final/:p436 \

View File

@ -1,6 +1,6 @@
--- bin/ut.orig 2005-03-01 03:04:02.000000000 -0600
+++ bin/ut 2009-06-13 10:03:01.000000000 -0500
@@ -68,6 +66,21 @@
+++ bin/ut 2009-06-14 17:05:12.000000000 -0500
@@ -68,6 +68,18 @@
cd $GAME_DIR
cd $SUBDIR
@ -12,9 +12,6 @@
+ export __GL_SYNC_TO_VBLANK=${__GL_SYNC_TO_VBLANK:-"1"}
+fi
+
+# The mouse will not work using a newer libSDL without this.
+export SDL_VIDEO_X11_DGAMOUSE=${SDL_VIDEO_X11_DGAMOUSE:-"0"}
+
+# This is needed to prevent the following error:
+# XDM authorization key matches an existing client
+export LD_PRELOAD=/usr/lib/libX11.so.6
@ -22,7 +19,7 @@
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$PWD
export LD_LIBRARY_PATH
@@ -75,6 +88,9 @@
@@ -75,6 +87,9 @@
./$GAME_BINARY "$CMD_ARGS" "$@"
EXITCODE="$?"