summaryrefslogtreecommitdiff
path: root/misc/yelp/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'misc/yelp/patches/patch-aa')
-rw-r--r--misc/yelp/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/yelp/patches/patch-aa b/misc/yelp/patches/patch-aa
new file mode 100644
index 00000000000..b228cb09eaf
--- /dev/null
+++ b/misc/yelp/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.5 2006/10/23 19:36:09 drochner Exp $
+
+--- ./src/yelp-utils.c.orig 2006-10-23 21:06:59.000000000 +0200
++++ ./src/yelp-utils.c
+@@ -789,6 +789,9 @@ convert_man_uri (gchar *uri, gboolean tr
+ if (!g_spawn_command_line_sync ("manpath", &manp, NULL, NULL, NULL))
+ manp = g_strdup (g_getenv ("MANPATH"));
+
++ if (!manp)
++ manp = g_strdup ("/usr/share/man");
++
+ g_strstrip (manp);
+ manpath = g_strsplit (manp, ":", -1);
+