summaryrefslogtreecommitdiff
path: root/games/nethack-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-gtk')
-rw-r--r--games/nethack-gtk/files/patch-gtk10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/nethack-gtk/files/patch-gtk b/games/nethack-gtk/files/patch-gtk
new file mode 100644
index 000000000000..c54127fa947d
--- /dev/null
+++ b/games/nethack-gtk/files/patch-gtk
@@ -0,0 +1,10 @@
+--- win/gtk/gtk.c.orig Thu Jun 14 23:10:35 2001
++++ win/gtk/gtk.c Thu Jun 14 23:12:03 2001
+@@ -742,6 +742,7 @@
+ gtk_set_locale();
+ nh_rc();
+
++ setregid(getegid(), -1);
+ gtk_init(argc, &argv);
+ /*
+ creat credit widget and show