summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk30/files/patch-ad')
-rw-r--r--x11-toolkits/gtk30/files/patch-ad20
1 files changed, 16 insertions, 4 deletions
diff --git a/x11-toolkits/gtk30/files/patch-ad b/x11-toolkits/gtk30/files/patch-ad
index 1a33f49..592577b 100644
--- a/x11-toolkits/gtk30/files/patch-ad
+++ b/x11-toolkits/gtk30/files/patch-ad
@@ -1,11 +1,23 @@
---- gtk/gtkrc.c.orig Fri Jul 14 23:18:03 2000
-+++ gtk/gtkrc.c Tue Jul 18 13:41:40 2000
-@@ -392,7 +392,7 @@
+
+$FreeBSD$
+
+--- gtk/gtkrc.c.orig Sun Apr 29 00:15:37 2001
++++ gtk/gtkrc.c Mon May 14 14:49:02 2001
+@@ -333,7 +333,7 @@
+ result = g_strdup (im_module_file);
+ else
+ #ifndef G_OS_WIN32
+- result = g_strdup (GTK_SYSCONFDIR G_DIR_SEPARATOR_S "gtk-2.0" G_DIR_SEPARATOR_S "gtk.immodules");
++ result = g_strdup (GTK_DATA_PREFIX G_DIR_SEPARATOR_S "etc" G_DIR_SEPARATOR_S "gtk-2.0" G_DIR_SEPARATOR_S "gtk.immodules");
+ #else
+ result = g_strdup_printf ("%s\\gtk.immodules", g_win32_get_package_installation_directory (GETTEXT_PACKAGE, get_gtk_dll_name ()));
+ #endif
+@@ -439,7 +439,7 @@
else
{
#ifndef G_OS_WIN32
- str = g_strdup (GTK_SYSCONFDIR G_DIR_SEPARATOR_S "gtk-2.0" G_DIR_SEPARATOR_S "gtkrc");
+ str = g_strdup (GTK_SYSCONFDIR G_DIR_SEPARATOR_S "gtkrc");
#else
- str = g_strdup_printf ("%s\\gtkrc", get_gtk_sysconf_directory ());
+ str = g_strdup_printf ("%s\\gtkrc", g_win32_get_package_installation_directory (GETTEXT_PACKAGE, get_gtk_dll_name ()));
#endif
OpenPOWER on IntegriCloud