openbsd-ports/x11/gtk+2/patches/patch-gdk-pixbuf_gdk-pixbuf-io_c

13 lines
534 B
Plaintext

$OpenBSD: patch-gdk-pixbuf_gdk-pixbuf-io_c,v 1.10 2009/04/21 13:01:18 ajacoutot Exp $
--- gdk-pixbuf/gdk-pixbuf-io.c.orig Mon Nov 24 07:35:45 2008
+++ gdk-pixbuf/gdk-pixbuf-io.c Sat Dec 20 17:32:11 2008
@@ -298,7 +298,7 @@ gdk_pixbuf_get_module_file (void)
gchar *result = g_strdup (g_getenv ("GDK_PIXBUF_MODULE_FILE"));
if (!result)
- result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gdk-pixbuf.loaders", NULL);
+ result = g_build_filename ("/var/db", "gtk-2.0", "gdk-pixbuf.loaders", NULL);
return result;
}