openbsd-ports/x11/gnome/yelp/patches/patch-libyelp_yelp-view_c

20 lines
697 B
Plaintext
Raw Normal View History

2012-03-29 02:41:05 -04:00
$OpenBSD: patch-libyelp_yelp-view_c,v 1.2 2012/03/29 06:41:05 ajacoutot Exp $
2011-09-12 03:28:52 -04:00
No PackageKit on OpenBSD.
2012-03-29 02:41:05 -04:00
--- libyelp/yelp-view.c.orig Wed Feb 29 03:30:23 2012
+++ libyelp/yelp-view.c Fri Mar 23 22:06:09 2012
@@ -1731,10 +1731,12 @@ view_show_error_page (YelpView *view,
2011-09-12 03:28:52 -04:00
scheme = "ghelp";
pkg = struri + 6;
}
+#ifndef __OpenBSD__
if (pkg != NULL)
content_end = g_markup_printf_escaped ("<p><a href='install-%s:%s'>%s</a></p>",
scheme, pkg,
_("Search for packages containing this document."));
+#endif
g_free (struri);
}