diff options
-rw-r--r-- | games/nethack-gtk/files/patch-gtk | 10 | ||||
-rw-r--r-- | games/nethack32-gtk/files/patch-gtk | 10 |
2 files changed, 20 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 diff --git a/games/nethack32-gtk/files/patch-gtk b/games/nethack32-gtk/files/patch-gtk new file mode 100644 index 000000000000..c54127fa947d --- /dev/null +++ b/games/nethack32-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 |