summaryrefslogtreecommitdiff
path: root/sysutils/gnome-control-center/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-control-center/files')
-rw-r--r--sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me-password.c33
-rw-r--r--sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me.c34
-rw-r--r--sysutils/gnome-control-center/files/patch-gnome-settings-daemon_actions_acme-volume-gstreamer.c10
3 files changed, 31 insertions, 46 deletions
diff --git a/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me-password.c b/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me-password.c
index 7ea6bb0dd359..49727c882a89 100644
--- a/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me-password.c
+++ b/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me-password.c
@@ -1,16 +1,25 @@
---- capplets/about-me/gnome-about-me-password.c.orig Wed Aug 10 05:45:08 2005
-+++ capplets/about-me/gnome-about-me-password.c Wed Aug 10 15:44:57 2005
-@@ -35,7 +35,13 @@
- #include <sys/wait.h>
- #include <sys/poll.h>
- #include <termios.h>
-+#include <signal.h>
+--- capplets/about-me/gnome-about-me-password.c.orig Mon Nov 28 10:02:57 2005
++++ capplets/about-me/gnome-about-me-password.c Wed Dec 14 13:56:42 2005
+@@ -25,7 +25,9 @@
+ # include <config.h>
+ #endif
+
+#ifndef __FreeBSD__
- #include <pty.h>
-+#else
+ #include <stropts.h>
++#endif
+ #include <gnome.h>
+ #include <pwd.h>
+ #include <stdlib.h>
+@@ -45,6 +47,12 @@
+
+ #if __sun
+ #include <sys/types.h>
++#include <signal.h>
++#endif
++
++#if __FreeBSD__
+#include <sys/types.h>
+#include <libutil.h>
-+#endif
+ #include <signal.h>
+ #endif
- #include "capplet-util.h"
- #include "eel-alert-dialog.h"
diff --git a/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me.c b/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me.c
deleted file mode 100644
index 0d1f85f32c7f..000000000000
--- a/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- capplets/about-me/gnome-about-me.c.orig Wed Jul 27 13:45:17 2005
-+++ capplets/about-me/gnome-about-me.c Wed Jul 27 13:47:09 2005
-@@ -258,12 +258,10 @@
- static char *
- get_user_login (void)
- {
-- char buf[LINE_MAX * 4];
-- struct passwd pwd, *err;
-+ struct passwd *pwd;
-
-- int i;
-- i = getpwuid_r(getuid(), &pwd, buf, sizeof(buf), &err);
-- return ((i == 0) && (err == &pwd)) ? g_strdup(pwd.pw_name) : NULL;
-+ pwd = getpwuid(getuid());
-+ return (pwd != NULL) ? g_strdup(pwd->pw_name) : NULL;
- }
-
- /*
-@@ -664,6 +662,7 @@
- struct passwd *pwent;
- char *user = NULL;
- gchar *str;
-+ gchar **tok;
-
- me = g_new0 (GnomeAboutMe, 1);
-
-@@ -733,7 +732,6 @@
- _("Unknown login ID, the user database might be corrupted"));
- return ;
- }
-- gchar **tok;
- tok = g_strsplit (pwent->pw_gecos, ",", 0);
-
- /************************************************/
diff --git a/sysutils/gnome-control-center/files/patch-gnome-settings-daemon_actions_acme-volume-gstreamer.c b/sysutils/gnome-control-center/files/patch-gnome-settings-daemon_actions_acme-volume-gstreamer.c
new file mode 100644
index 000000000000..3362406ddcc0
--- /dev/null
+++ b/sysutils/gnome-control-center/files/patch-gnome-settings-daemon_actions_acme-volume-gstreamer.c
@@ -0,0 +1,10 @@
+--- gnome-settings-daemon/actions/acme-volume-gstreamer.c.orig Mon Apr 17 22:23:18 2006
++++ gnome-settings-daemon/actions/acme-volume-gstreamer.c Mon Apr 17 22:25:17 2006
+@@ -29,6 +29,7 @@
+
+ #ifdef HAVE_GST10
+ #include <gst/gst.h>
++#include <gst/audio/mixerutils.h>
+ #include <gst/interfaces/mixer.h>
+ #include <gst/interfaces/propertyprobe.h>
+ #else