From c1f108da6243af2e76e25ce68aa8c91c6cb70ff4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 7 Dec 2008 09:02:58 +0000 Subject: [PATCH] - Add gnome-settings-daemon-2.24.1-umask.patch --- gnome-settings-daemon-2.24.1-umask.patch | 11 +++++++++++ gnome-settings-daemon.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 gnome-settings-daemon-2.24.1-umask.patch diff --git a/gnome-settings-daemon-2.24.1-umask.patch b/gnome-settings-daemon-2.24.1-umask.patch new file mode 100644 index 0000000..65848ee --- /dev/null +++ b/gnome-settings-daemon-2.24.1-umask.patch @@ -0,0 +1,11 @@ +diff -up gnome-settings-daemon-2.24.1/gnome-settings-daemon/main.c.umask gnome-settings-daemon-2.24.1/gnome-settings-daemon/main.c +--- gnome-settings-daemon-2.24.1/gnome-settings-daemon/main.c.umask 2008-12-07 03:55:58.000000000 -0500 ++++ gnome-settings-daemon-2.24.1/gnome-settings-daemon/main.c 2008-12-07 03:56:04.000000000 -0500 +@@ -296,7 +296,6 @@ daemon_detach (void) + + /* get outta the way */ + chdir ("/"); +- umask (0117); + } + + static void diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec index 5c39423..50d2a66 100644 --- a/gnome-settings-daemon.spec +++ b/gnome-settings-daemon.spec @@ -1,6 +1,6 @@ Name: gnome-settings-daemon Version: 2.24.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications Group: System Environment/Daemons @@ -40,6 +40,9 @@ Patch8: gnome-settings-daemon-2.24.0-fade.patch Patch11: gsd-patches-behdad-f10.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=563543 +Patch12: gnome-settings-daemon-2.24.1-umask.patch + %description A daemon to share settings from GNOME to other applications. It also handles global keybindings, as well as a number of desktop-wide settings. @@ -62,6 +65,7 @@ developing applications that use %{name}. %patch7 -p1 -b .fnf7-cycle %patch8 -p1 -b .fade %patch11 -p1 -b .behdad +%patch12 -p1 -b .umask %build libtoolize --force --copy @@ -165,6 +169,9 @@ fi %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog +* Sun Dec 7 2008 Behdad Esfahbod - 2.24.1-3 +- Add gnome-settings-daemon-2.24.1-umask.patch + * Tue Nov 25 2008 Matthias Clasen - 2.24.1-2 - Update to 2.24.1 - Backport performance fixes