diff options
author | Mart Raudsepp <leio@gentoo.org> | 2008-03-10 21:33:31 +0000 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2008-03-10 21:33:31 +0000 |
commit | e7c90028f9de4578ebc5696c182eb798314cb477 (patch) | |
tree | 78b1727fcd0dc6f4bd64ceca383929aa6bf028b9 /gnome-extra/bug-buddy/files | |
parent | bump to 0.12.2, updated translations, added DOCTYPE to (X)HTML (diff) | |
download | gentoo-2-e7c90028f9de4578ebc5696c182eb798314cb477.tar.gz gentoo-2-e7c90028f9de4578ebc5696c182eb798314cb477.tar.bz2 gentoo-2-e7c90028f9de4578ebc5696c182eb798314cb477.zip |
Remove old
(Portage version: 2.1.4.4)
Diffstat (limited to 'gnome-extra/bug-buddy/files')
-rw-r--r-- | gnome-extra/bug-buddy/files/bug-buddy-2.20.0-fix-breakpad.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/gnome-extra/bug-buddy/files/bug-buddy-2.20.0-fix-breakpad.patch b/gnome-extra/bug-buddy/files/bug-buddy-2.20.0-fix-breakpad.patch deleted file mode 100644 index ccc2dcf6f81f..000000000000 --- a/gnome-extra/bug-buddy/files/bug-buddy-2.20.0-fix-breakpad.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN bug-buddy-2.20.0.orig/gnome-breakpad/gnome-breakpad.cc bug-buddy-2.20.0/gnome-breakpad/gnome-breakpad.cc ---- bug-buddy-2.20.0.orig/gnome-breakpad/gnome-breakpad.cc 2007-09-04 15:53:55.000000000 -0400 -+++ bug-buddy-2.20.0/gnome-breakpad/gnome-breakpad.cc 2007-10-02 11:23:54.000000000 -0400 -@@ -291,22 +291,59 @@ gtk_module_init (int *argc, char** argv[ - - if (bugbuddy && !g_getenv ("GNOME_DISABLE_CRASH_DIALOG")) { - #ifdef ENABLE_GOOGLE_BREAKPAD -+ static struct sigaction old_action; -+ -+ sigaction(SIGSEGV, NULL, &old_action); -+ if (old_action.sa_handler != SIG_DFL) -+ return 0; -+ -+ sigaction(SIGABRT, NULL, &old_action); -+ if (old_action.sa_handler != SIG_DFL) -+ return 0; -+ -+ sigaction(SIGTRAP, NULL, &old_action); -+ if (old_action.sa_handler != SIG_DFL) -+ return 0; -+ -+ sigaction(SIGFPE, NULL, &old_action); -+ if (old_action.sa_handler != SIG_DFL) -+ return 0; -+ -+ sigaction(SIGBUS, NULL, &old_action); -+ if (old_action.sa_handler != SIG_DFL) -+ return 0; -+ - static ExceptionHandler handler("/tmp", check_if_gdb, - MinidumpCallback, NULL, true); - #else - static struct sigaction *setptr; -+ static struct sigaction old_action; - struct sigaction sa; - memset(&sa, 0, sizeof(sa)); - setptr = &sa; - - sa.sa_handler = bugbuddy_segv_handle; - -- sigaction(SIGSEGV, setptr, NULL); -- sigaction(SIGABRT, setptr, NULL); -- sigaction(SIGTRAP, setptr, NULL); -- sigaction(SIGFPE, setptr, NULL); -- sigaction(SIGBUS, setptr, NULL); -+ sigaction(SIGSEGV, NULL, &old_action); -+ if (old_action.sa_handler == SIG_DFL) -+ sigaction(SIGSEGV, setptr, NULL); -+ -+ sigaction(SIGABRT, NULL, &old_action); -+ if (old_action.sa_handler == SIG_DFL) -+ sigaction(SIGABRT, setptr, NULL); -+ -+ sigaction(SIGTRAP, NULL, &old_action); -+ if (old_action.sa_handler == SIG_DFL) -+ sigaction(SIGTRAP, setptr, NULL); -+ -+ sigaction(SIGFPE, NULL, &old_action); -+ if (old_action.sa_handler == SIG_DFL) -+ sigaction(SIGFPE, setptr, NULL); -+ -+ sigaction(SIGBUS, NULL, &old_action); -+ if (old_action.sa_handler == SIG_DFL) -+ sigaction(SIGBUS, setptr, NULL); - #endif - } -- -+ return 0; - } |