openbsd-ports/textproc/gtranslator/patches/patch-src_gtr-utils_c
2010-10-08 09:43:11 +00:00

14 lines
572 B
Plaintext

$OpenBSD: patch-src_gtr-utils_c,v 1.2 2010/10/08 09:43:11 ajacoutot Exp $
--- src/gtr-utils.c.orig Thu Sep 9 23:04:47 2010
+++ src/gtr-utils.c Thu Oct 7 16:42:23 2010
@@ -791,7 +791,8 @@ gtr_utils_help_display (GtkWindow * parent,
continue;
path = gtr_dirs_get_gtr_data_dir ();
- uri = g_build_filename (path, "gnome", "help", doc_id,
+ // XXX gtr_dirs_get_gtr_data_dir returns DATADIR/gtranslator
+ uri = g_build_filename (DATADIR, "gnome", "help", doc_id,
lang, file_name, NULL);
g_free (path);