aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorscf <scf@FreeBSD.org>2009-06-15 06:23:39 +0800
committerscf <scf@FreeBSD.org>2009-06-15 06:23:39 +0800
commit8f946f16c3b12d738268e75ca525f48a37ff81b3 (patch)
tree39018a59049631a9f6c7c18102f7ffe0cd25d70d /games
parent12ff06e06c96b3a8efec81165a1cb6be78073522 (diff)
downloadfreebsd-ports-graphics-8f946f16c3b12d738268e75ca525f48a37ff81b3.tar.gz
freebsd-ports-graphics-8f946f16c3b12d738268e75ca525f48a37ff81b3.tar.zst
freebsd-ports-graphics-8f946f16c3b12d738268e75ca525f48a37ff81b3.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
Diffstat (limited to 'games')
-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 b93f2ac1f05..6badef0a726 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 e3f37b95c8e..b14b86fa216 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="$?"