openbsd-ports/x11/gtk+2/patches/patch-gtk_gtkrc_c
marcm 9aba313eba I've been handling the gdk-pixbuf.loaders and gtk.immodules files all
wrong.  These are generated files that should be updated automagically by
ports whenever GDK loaders or GTK immodules respectivly are added.

As such, these files shouldn't live under /etc but under /var/db... and
they should be generated on package install instead of through funky
sed magic in the Makefile.

So now they are. :)

Oh and regen the PLIST, since, we're hacking the crap out of it anyway.
2003-12-08 06:08:42 +00:00

13 lines
487 B
Plaintext

$OpenBSD: patch-gtk_gtkrc_c,v 1.1 2003/12/08 06:08:43 marcm Exp $
--- gtk/gtkrc.c.orig 2003-12-07 10:44:43.000000000 -0800
+++ gtk/gtkrc.c 2003-12-07 10:45:41.000000000 -0800
@@ -358,7 +358,7 @@ gtk_rc_get_im_module_file (void)
if (im_module_file)
result = g_strdup (im_module_file);
else
- result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL);
+ result = g_build_filename ("/var/db", "gtk-2.0", "gtk.immodules", NULL);
}
return result;