diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-03 07:14:26 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-03 07:14:26 +0800 |
commit | 9435144a44554e4ed3b29f82047a3918b637814e (patch) | |
tree | 2447aa4876ba07fb3f67b7cbf9461c464fa51287 /x11 | |
parent | a7d5b14f563bc40c4f373fe68eca6922780d75c7 (diff) | |
download | marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.tar marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.tar.gz marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.tar.bz2 marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.tar.lz marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.tar.xz marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.tar.zst marcuscom-ports-9435144a44554e4ed3b29f82047a3918b637814e.zip |
Correct a logic error that caused searches of man pages to allocate 4 GB
of memory.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6201 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/yelp/Makefile | 3 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_yelp-search-pager.c | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile index 58d837942..a6cb5c1e7 100644 --- a/x11/yelp/Makefile +++ b/x11/yelp/Makefile @@ -3,11 +3,12 @@ # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/yelp/Makefile,v 1.88 2006/04/16 13:36:49 ahze Exp $ +# $MCom: ports/x11/yelp/Makefile,v 1.90 2006/04/30 04:25:02 ahze Exp $ # PORTNAME= yelp PORTVERSION= 2.15.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 000000000..81c275b4d --- /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); |