summaryrefslogtreecommitdiff
path: root/games/xconq/files/patch-aj
diff options
context:
space:
mode:
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();