summaryrefslogtreecommitdiff
path: root/x11/yelp
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-05-03 00:26:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-05-03 00:26:19 +0000
commit6a59731e8f75fd767726b67bf91a894d1da71c96 (patch)
treeb0582294f84bdf3df62a0e7873c0fb21ef325b17 /x11/yelp
parent- Update to 0.13 (diff)
Fix a crash that can be triggered when searching through man pages.
Reported by: Sean McNeil <sean@mcneil.com>
Notes
Notes: svn path=/head/; revision=161226
Diffstat (limited to 'x11/yelp')
-rw-r--r--x11/yelp/Makefile1
-rw-r--r--x11/yelp/files/patch-src_yelp-search-pager.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
index dfbba72b23bc..bc56bda01bb6 100644
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -8,6 +8,7 @@
PORTNAME= yelp
PORTVERSION= 2.14.1
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
diff --git a/x11/yelp/files/patch-src_yelp-search-pager.c b/x11/yelp/files/patch-src_yelp-search-pager.c
new file mode 100644
index 000000000000..81c275b4d422
--- /dev/null
+++ b/x11/yelp/files/patch-src_yelp-search-pager.c
@@ -0,0 +1,11 @@
+--- src/yelp-search-pager.c.orig Tue May 2 19:10:03 2006
++++ src/yelp-search-pager.c Tue May 2 18:59:36 2006
+@@ -1413,7 +1413,7 @@ process_man_result (YelpSearchPager *pag
+ after = strstr (before, "(");
+ tmp = after;
+
+- while (!g_ascii_isspace(*tmp))
++ while (g_ascii_isspace(*tmp))
+ tmp--;
+
+ title = g_strndup (before, tmp-before);