Change this patch to a better fix, bump the PORTREVISION.
GNOME Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=432387 Submitted by: Charles Kerr (developer) Tested by: pav
This commit is contained in:
parent
4972deae12
commit
7d645b9416
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190759
2 changed files with 6 additions and 4 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= pan
|
||||
PORTVERSION= 0.128
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= news gnome
|
||||
MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/
|
||||
DIST_SUBDIR= gnome2
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- pan/data/article.cc.orig Sun Apr 22 15:17:04 2007
|
||||
+++ pan/data/article.cc Sun Apr 22 15:17:44 2007
|
||||
@@ -153,7 +153,7 @@
|
||||
--- pan/data/article.cc.orig Mon Apr 23 16:21:51 2007
|
||||
+++ pan/data/article.cc Mon Apr 23 16:23:29 2007
|
||||
@@ -153,7 +153,8 @@
|
||||
|
||||
kc = &key.back();
|
||||
mc = &mid.back();
|
||||
- ke = key.str + 1 + std::max (int(b), (int)minlen - UCHAR_MAX);
|
||||
+ ke = key.str + 1 + std::max ((char)b, (char)(minlen - UCHAR_MAX));
|
||||
+ ke = std::max (key.str + b + 1,
|
||||
+ key.str + key.len - UCHAR_MAX);
|
||||
while (kc>ke)
|
||||
if (*kc-- != *mc--) { ++kc; break; }
|
||||
const size_t e (&key.back() - kc);
|
||||
|
|
Loading…
Reference in a new issue