freebsd-ports/games/nethack33/files/patch-ah
Akinori MUSHA a478f11a0d Make nethack33 ports a master port and the slaves, and unbreak
nethack33-gnome.

PR:		ports/38220
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
No response from:	MAINTAINERs
2002-06-14 04:14:38 +00:00

10 lines
305 B
Text

--- win/gnome/gnmain.c.orig Sat Aug 5 19:53:33 2000
+++ win/gnome/gnmain.c Sat May 18 03:12:16 2002
@@ -672,6 +672,7 @@
euid = geteuid();
if (uid != euid)
setuid(uid);
+ setregid(getegid(), -1);
gnome_init ("nethack", VERSION_STRING, argc, argv);
parse_args (argc, argv);