View | Details | Raw Unified | Return to bug 124226
Collapse All | Expand All

(-)/usr/ports/ports-mgmt/psearch/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	psearch
8
PORTNAME=	psearch
9
PORTVERSION=	2.0
9
PORTVERSION=	2.0
10
PORTREVISION=	1
10
CATEGORIES=	ports-mgmt
11
CATEGORIES=	ports-mgmt
11
MASTER_SITES=	http://www.maxlor.com/files/
12
MASTER_SITES=	http://www.maxlor.com/files/
12
13
(-)/usr/ports/ports-mgmt/psearch/files/patch-index.cpp (+20 lines)
Line 0 Link Here
1
--- index.cpp.orig	2008-06-03 10:34:15.000000000 +0800
2
+++ index.cpp	2008-06-03 10:34:45.000000000 +0800
3
@@ -33,7 +33,7 @@
4
 	string::size_type oldposition = 0;
5
 	string::size_type position;
6
 		
7
-	for (int i = 0; i < fields_num; ++i) {
8
+	for (unsigned int i = 0; i < fields_num; ++i) {
9
 		position = line.find('|', oldposition);
10
 		if (position == string::npos) { return false; }
11
 		fields[i] = line.substr(oldposition, position - oldposition);
12
@@ -42,6 +42,8 @@
13
 	
14
 	fields[Path] = fields[Path].substr(11); // strip leading '/usr/ports/'
15
 	if (need_categories) { _categories.clear(); }
16
+
17
+        return true;
18
 }
19
 
20
 

Return to bug 124226