summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/metacity/files')
-rw-r--r--x11-wm/metacity/files/metacity-2.24.0-crash-login.patch52
-rw-r--r--x11-wm/metacity/files/metacity-2.24.0-fbsd.patch15
-rw-r--r--x11-wm/metacity/files/metacity-2.24.0-gslist-leak.patch15
-rw-r--r--x11-wm/metacity/files/metacity-2.24.0-string-leak.patch21
4 files changed, 0 insertions, 103 deletions
diff --git a/x11-wm/metacity/files/metacity-2.24.0-crash-login.patch b/x11-wm/metacity/files/metacity-2.24.0-crash-login.patch
deleted file mode 100644
index f274f4cc05a2..000000000000
--- a/x11-wm/metacity/files/metacity-2.24.0-crash-login.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-# https://bugzilla.gnome.org/show_bug.cgi?id=553980
---- a/src/core/main.c 2008-10-08 00:10:39.000000000 -0400
-+++ b/src/core/main.c 2008-10-08 00:18:44.000000000 -0400
-@@ -312,6 +312,23 @@ void meta_select_display (gchar *display
- /* DO NOT FREE envVar, putenv() sucks */
- putenv (envVar);
- }
-+
-+static
-+void meta_finalize (void)
-+{
-+ meta_display_close (meta_get_display (),
-+ CurrentTime); /* I doubt correct timestamps matter here */
-+
-+ meta_session_shutdown ();
-+}
-+
-+static
-+void sigterm_handler (int signum)
-+{
-+ meta_finalize ();
-+
-+ exit (meta_exit_code);
-+}
-
- /**
- * This is where the story begins. It parses commandline options and
-@@ -352,6 +369,11 @@ main (int argc, char **argv)
- g_strerror (errno));
- #endif
-
-+ act.sa_handler = &sigterm_handler;
-+ if (sigaction (SIGTERM, &act, NULL) < 0)
-+ g_printerr ("Failed to register SIGTERM handler: %s\n",
-+ g_strerror (errno));
-+
- if (g_getenv ("METACITY_VERBOSE"))
- meta_set_verbose (TRUE);
- if (g_getenv ("METACITY_DEBUG"))
-@@ -478,11 +500,8 @@ main (int argc, char **argv)
-
- g_main_loop_run (meta_main_loop);
-
-- meta_display_close (meta_get_display (),
-- CurrentTime); /* I doubt correct timestamps matter here */
-+ meta_finalize ();
-
-- meta_session_shutdown ();
--
- if (meta_restart_after_quit)
- {
- GError *err;
diff --git a/x11-wm/metacity/files/metacity-2.24.0-fbsd.patch b/x11-wm/metacity/files/metacity-2.24.0-fbsd.patch
deleted file mode 100644
index 2212b0d7b38d..000000000000
--- a/x11-wm/metacity/files/metacity-2.24.0-fbsd.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-# https://bugs.gentoo.org/show_bug.cgi?id=256224
-# https://bugzilla.gnome.org/show_bug.cgi?id=561962
-Index: b/src/core/util.c
-===================================================================
---- a/src/core/util.c (revision 4025)
-+++ b/src/core/util.c (revision 4026)
-@@ -23,7 +23,7 @@
- */
-
- #define _GNU_SOURCE
--#define _POSIX_C_SOURCE /* for fdopen() */
-+#define _POSIX_C_SOURCE 200112L /* for fdopen() */
-
- #include <config.h>
- #include "util.h"
diff --git a/x11-wm/metacity/files/metacity-2.24.0-gslist-leak.patch b/x11-wm/metacity/files/metacity-2.24.0-gslist-leak.patch
deleted file mode 100644
index 39c35087e4c7..000000000000
--- a/x11-wm/metacity/files/metacity-2.24.0-gslist-leak.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-# https://bugs.gentoo.org/attachment.cgi?id=181415
-diff -up a/src/core/edge-resistance.c b/src/core/edge-resistance.c
---- a/src/core/edge-resistance.c 2008-09-14 22:39:38.000000000 -0400
-+++ b/src/core/edge-resistance.c 2008-09-14 22:43:28.000000000 -0400
-@@ -985,8 +985,8 @@ meta_display_compute_resistance_and_snap
- cur_window_iter = cur_window_iter->next;
- }
- /* Put 'em in bottom to top order */
-- rem_windows = g_slist_reverse (obscuring_windows);
-- rem_win_stacking = g_slist_reverse (window_stacking);
-+ rem_windows = obscuring_windows = g_slist_reverse (obscuring_windows);
-+ rem_win_stacking = window_stacking = g_slist_reverse (window_stacking);
-
- /*
- * 3rd: loop over the windows again, this time getting the edges from
diff --git a/x11-wm/metacity/files/metacity-2.24.0-string-leak.patch b/x11-wm/metacity/files/metacity-2.24.0-string-leak.patch
deleted file mode 100644
index e2cd71771377..000000000000
--- a/x11-wm/metacity/files/metacity-2.24.0-string-leak.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-# https://bugs.gentoo.org/show_bug.cgi?id=258302
-diff -up a/src/ui/ui.c b/src/ui/ui.c
---- a/src/ui/ui.c 2008-08-18 08:29:07.000000000 -0400
-+++ b/src/ui/ui.c 2008-09-15 18:05:20.000000000 -0400
-@@ -657,10 +657,12 @@ meta_text_property_to_utf8 (Display
- &list);
-
- if (count == 0)
-- return NULL;
--
-- retval = list[0];
-- list[0] = g_strdup (""); /* something to free */
-+ retval = NULL;
-+ else
-+ {
-+ retval = list[0];
-+ list[0] = g_strdup (""); /* something to free */
-+ }
-
- g_strfreev (list);
-