aboutsummaryrefslogtreecommitdiff
path: root/games/linux-ut
diff options
context:
space:
mode:
authorSean Farley <scf@FreeBSD.org>2009-06-14 22:23:39 +0000
committerSean Farley <scf@FreeBSD.org>2009-06-14 22:23:39 +0000
commitd912d5de99935f31a26eb5ea015d38c8bd143dc3 (patch)
tree25544001303a6179eee957f307b8a9dab4e70b17 /games/linux-ut
parent1880cd0acd2b758d726cd988aae050cb68541146 (diff)
downloadports-d912d5de99935f31a26eb5ea015d38c8bd143dc3.tar.gz
ports-d912d5de99935f31a26eb5ea015d38c8bd143dc3.zip
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
Notes
Notes: svn path=/head/; revision=235827
Diffstat (limited to 'games/linux-ut')
-rw-r--r--games/linux-ut/Makefile2
-rw-r--r--games/linux-ut/files/patch-bin::ut9
2 files changed, 4 insertions, 7 deletions
diff --git a/games/linux-ut/Makefile b/games/linux-ut/Makefile
index b93f2ac1f052..6badef0a7263 100644
--- a/games/linux-ut/Makefile
+++ b/games/linux-ut/Makefile
@@ -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 \
diff --git a/games/linux-ut/files/patch-bin::ut b/games/linux-ut/files/patch-bin::ut
index e3f37b95c8ea..b14b86fa2164 100644
--- a/games/linux-ut/files/patch-bin::ut
+++ b/games/linux-ut/files/patch-bin::ut
@@ -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="$?"