summaryrefslogtreecommitdiff
path: root/games/xconq/files/patch-aj
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-07-07 18:29:04 +0000
committerSteve Price <steve@FreeBSD.org>2000-07-07 18:29:04 +0000
commit274de75e9b7fa3d5d612ece4f9f2c91b44a513b9 (patch)
tree043009234793f452900daf1afd9360743904cc47 /games/xconq/files/patch-aj
parentUpdate to version 0.4.1. (diff)
Update to version 7.3.3.
PR: 19702 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=30313
Diffstat (limited to 'games/xconq/files/patch-aj')
-rw-r--r--games/xconq/files/patch-aj14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/xconq/files/patch-aj b/games/xconq/files/patch-aj
index 070398a54bbc..4b536b5d451f 100644
--- a/games/xconq/files/patch-aj
+++ b/games/xconq/files/patch-aj
@@ -1,13 +1,13 @@
---- x11/xconq.c.orig Sun Apr 30 20:34:14 2000
-+++ x11/xconq.c Sun Apr 30 20:34:50 2000
-@@ -119,8 +119,8 @@
- extern uid_t games_uid;
-
+--- x11/xconq.c.orig Mon Apr 24 07:56:58 2000
++++ x11/xconq.c Wed Jun 28 21:45:49 2000
+@@ -46,8 +46,8 @@
+ if (argc == -1)
+ cmd_error(NULL, NULL);
/* Shift to being the user that started the game. */
- games_uid = geteuid();
- setuid(getuid());
+ games_uid = getegid();
+ setgid(getgid());
init_library_path(NULL);
- printf("\n Welcome to X11 Xconq version %s\n\n",
- version_string());
+ /* Fiddle with game module structures. */
+ clear_game_modules();