summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-02-02 22:43:18 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-02-02 22:43:18 +0000
commit8b82b208fc026dd42f06f8a120673452202ef145 (patch)
tree778976dbad0db45f250b3badceb3e1b81f158679 /gnome-base/gnome-control-center
parentFix http leak, bug #256892. Fix obexftp icon, bug #256890. (diff)
downloadgentoo-2-8b82b208fc026dd42f06f8a120673452202ef145.tar.gz
gentoo-2-8b82b208fc026dd42f06f8a120673452202ef145.tar.bz2
gentoo-2-8b82b208fc026dd42f06f8a120673452202ef145.zip
Fix compilation on fbsd, bug #256958.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gnome-control-center')
-rw-r--r--gnome-base/gnome-control-center/ChangeLog7
-rw-r--r--gnome-base/gnome-control-center/files/gnome-control-center-2.24.0.1-fbsd.patch13
-rw-r--r--gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild9
3 files changed, 27 insertions, 2 deletions
diff --git a/gnome-base/gnome-control-center/ChangeLog b/gnome-base/gnome-control-center/ChangeLog
index fa57736a76da..e16def57c5c1 100644
--- a/gnome-base/gnome-control-center/ChangeLog
+++ b/gnome-base/gnome-control-center/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for gnome-base/gnome-control-center
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/ChangeLog,v 1.16 2009/01/25 11:48:29 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/ChangeLog,v 1.17 2009/02/02 22:43:18 eva Exp $
+
+ 02 Feb 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ +files/gnome-control-center-2.24.0.1-fbsd.patch,
+ gnome-control-center-2.24.0.1.ebuild:
+ Fix compilation on fbsd, bug #256958.
25 Jan 2009; Raúl Porcel <armin76@gentoo.org>
gnome-control-center-2.24.0.1.ebuild:
diff --git a/gnome-base/gnome-control-center/files/gnome-control-center-2.24.0.1-fbsd.patch b/gnome-base/gnome-control-center/files/gnome-control-center-2.24.0.1-fbsd.patch
new file mode 100644
index 000000000000..afcb4cdd7923
--- /dev/null
+++ b/gnome-base/gnome-control-center/files/gnome-control-center-2.24.0.1-fbsd.patch
@@ -0,0 +1,13 @@
+Index: gnome-control-center-2.24.0.1/libslab/directory-tile.c
+===================================================================
+--- gnome-control-center-2.24.0.1.orig/libslab/directory-tile.c
++++ gnome-control-center-2.24.0.1/libslab/directory-tile.c
+@@ -623,7 +623,7 @@ static void
+ disown_spawned_child (gpointer user_data)
+ {
+ setsid ();
+- setpgrp ();
++ setpgid (0,0);
+ }
+
+ static void
diff --git a/gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild b/gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild
index fe9c3bb4b8b6..b9930e966896 100644
--- a/gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild
+++ b/gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild,v 1.4 2009/01/25 11:48:29 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-2.24.0.1.ebuild,v 1.5 2009/02/02 22:43:18 eva Exp $
EAPI="1"
@@ -95,3 +95,10 @@ pkg_setup() {
$(use_enable hal)
$(use_with sound libcanberra)"
}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Fix compilation on fbsd, bug #256958
+ epatch "${FILESDIR}/${P}-fbsd.patch"
+}