summaryrefslogtreecommitdiffstats
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.c15
-rw-r--r--sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c11
2 files changed, 26 insertions, 0 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
new file mode 100644
index 000000000..69c01de97
--- /dev/null
+++ b/sysutils/gnome-control-center/files/patch-capplets_about-me_gnome-about-me-password.c
@@ -0,0 +1,15 @@
+--- capplets/about-me/gnome-about-me-password.c.orig Sun Jun 11 04:50:31 2006
++++ capplets/about-me/gnome-about-me-password.c Tue Jun 13 00:02:27 2006
+@@ -52,6 +52,12 @@
+ #include <signal.h>
+ #endif
+
++#if __FreeBSD__
++#include <sys/types.h>
++#include <libutil.h>
++#include <signal.h>
++#endif
++
+ #include "capplet-util.h"
+ #include "eel-alert-dialog.h"
+
diff --git a/sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c b/sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c
new file mode 100644
index 000000000..c9b378544
--- /dev/null
+++ b/sysutils/gnome-control-center/files/patch-capplets_common_gnome-theme-info.c
@@ -0,0 +1,11 @@
+--- capplets/common/gnome-theme-info.c.orig 2009-05-03 20:30:56.000000000 +0200
++++ capplets/common/gnome-theme-info.c 2009-07-19 12:54:25.000000000 +0200
+@@ -1876,7 +1876,7 @@ gnome_theme_init ()
+ #ifdef XCURSOR_ICONDIR
+ /* if there's a separate xcursors dir, add that as well */
+ if (strcmp (XCURSOR_ICONDIR, top_theme_dir_string) &&
+- strcmp (XCURSOR_ICONDIR, "/usr/share/icons")) {
++ strcmp (XCURSOR_ICONDIR, "%%LOCALBASE%%/lib/X11/icons")) {
+ top_theme_dir = g_file_new_for_path (XCURSOR_ICONDIR);
+ add_top_icon_theme_dir_monitor (top_theme_dir, 1, NULL);
+ g_object_unref (top_theme_dir);