mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
6f32add9a7
FreeBSD. The official GNOME 2.22 release notes can be found at http://library.gnome.org/misc/release-notes/2.22/ . On the FreeBSD front, this release features an updated hal port with support for video4linux devices, DRM (Direct Rendering), and better support of removable media. Work is also underway to tie webkit more closely into GNOME. As part of the GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well. Be sure to consult UPDATING on the proper steps to upgrade all of your GNOME ports. This release would not have been possible without the contributions and testing efforts of the following people: Pawel Worach kan edwin Peter Ulrich Kruppa J. W. Ballantine Yasuda Keisuke Andriy Gapon
34 lines
819 B
C
34 lines
819 B
C
--- src/main.c.orig 2007-11-08 15:05:55.000000000 -0500
|
|
+++ src/main.c 2007-11-08 15:07:39.000000000 -0500
|
|
@@ -226,6 +226,21 @@ sigusr1_handler (int sig)
|
|
}
|
|
|
|
static void
|
|
+setup_termination_signals (void)
|
|
+{
|
|
+ struct sigaction sa;
|
|
+
|
|
+ sa.sa_handler = SIG_DFL;
|
|
+ sigemptyset (&sa.sa_mask);
|
|
+ sa.sa_flags = 0;
|
|
+
|
|
+ sigaction (SIGTERM, &sa, NULL);
|
|
+ sigaction (SIGQUIT, &sa, NULL);
|
|
+ sigaction (SIGINT, &sa, NULL);
|
|
+ sigaction (SIGHUP, &sa, NULL);
|
|
+}
|
|
+
|
|
+static void
|
|
setup_debug_log_signals (void)
|
|
{
|
|
struct sigaction sa;
|
|
@@ -300,6 +315,8 @@ main (int argc,
|
|
|
|
setup_debug_log (debug);
|
|
|
|
+ setup_termination_signals ();
|
|
+
|
|
connection = get_system_bus ();
|
|
if (connection == NULL) {
|
|
goto out;
|