Make this build on Darwin.diff -r1.4 -r1.5 pkgsrc/www/htdig-devel/distinfo
(yyamano)
@@ -1,11 +1,11 @@ | @@ -1,11 +1,11 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2006/07/02 14:36:31 markd Exp $ | 1 | $NetBSD: distinfo,v 1.5 2008/01/14 09:46:45 yyamano Exp $ | |
2 | 2 | |||
3 | SHA1 (htdig-3.2.0b6.tar.bz2) = 0b28134386e78fe724c56583fbc61b280551122a | 3 | SHA1 (htdig-3.2.0b6.tar.bz2) = 0b28134386e78fe724c56583fbc61b280551122a | |
4 | RMD160 (htdig-3.2.0b6.tar.bz2) = 1e0900e11618ffe3d43a6fc26163e3ed926a1012 | 4 | RMD160 (htdig-3.2.0b6.tar.bz2) = 1e0900e11618ffe3d43a6fc26163e3ed926a1012 | |
5 | Size (htdig-3.2.0b6.tar.bz2) = 2498246 bytes | 5 | Size (htdig-3.2.0b6.tar.bz2) = 2498246 bytes | |
6 | SHA1 (patch-aa) = 6f4d22f84fe8caa809c1062e210200d9cea1a555 | 6 | SHA1 (patch-aa) = 6f4d22f84fe8caa809c1062e210200d9cea1a555 | |
7 | SHA1 (patch-af) = d366aeac016505fce044e6bbdff9506fa68877ba | 7 | SHA1 (patch-af) = 17b6f2f18c805cab76bd3b399057e035af16c70d | |
8 | SHA1 (patch-ag) = 6105b1526f31bb7b757c3ceeae286c7f2c0aa007 | 8 | SHA1 (patch-ag) = 6105b1526f31bb7b757c3ceeae286c7f2c0aa007 | |
9 | SHA1 (patch-ah) = e6e87151c7bd0a44d138d431bdcc7ce7f950d1ee | 9 | SHA1 (patch-ah) = e6e87151c7bd0a44d138d431bdcc7ce7f950d1ee | |
10 | SHA1 (patch-ai) = f49a6cf6bc385e1025c7aa90cb268e2117e61dab | 10 | SHA1 (patch-ai) = f49a6cf6bc385e1025c7aa90cb268e2117e61dab | |
11 | SHA1 (patch-aj) = f9f500f11b01f3002d366f3c4abef7db161c99f1 | 11 | SHA1 (patch-aj) = f9f500f11b01f3002d366f3c4abef7db161c99f1 |
@@ -1,14 +1,23 @@ | @@ -1,14 +1,23 @@ | |||
1 | $NetBSD: patch-af,v 1.1.1.1 2005/12/17 19:26:26 markd Exp $ | 1 | $NetBSD: patch-af,v 1.2 2008/01/14 09:46:45 yyamano Exp $ | |
2 | 2 | |||
3 | --- htsearch/htsearch.cc.orig 2004-05-29 01:15:24.000000000 +1200 | 3 | --- htsearch/htsearch.cc.orig 2004-05-28 22:15:24.000000000 +0900 | |
4 | +++ htsearch/htsearch.cc | 4 | +++ htsearch/htsearch.cc | |
5 | @@ -68,7 +68,7 @@ StringList collectionList; | |||
6 | // reconised word prefixes (for field-restricted search and per-word fuzzy | |||
7 | // algorithms) in *descending* alphabetical order. | |||
8 | // Don't use a dictionary structure, as setup time outweights saving. | |||
9 | -struct {char *name; unsigned int flag; } colonPrefix [] = | |||
10 | +static struct {char *name; unsigned int flag; } colonPrefix [] = | |||
11 | { | |||
12 | { "url", FLAG_URL }, | |||
13 | { "title", FLAG_TITLE }, | |||
5 | @@ -211,8 +211,7 @@ main(int ac, char **av) | 14 | @@ -211,8 +211,7 @@ main(int ac, char **av) | |
6 | } | 15 | } | |
7 | if (access((char*)configFile, R_OK) < 0) | 16 | if (access((char*)configFile, R_OK) < 0) | |
8 | { | 17 | { | |
9 | - reportError(form("Unable to read configuration file '%s'", | 18 | - reportError(form("Unable to read configuration file '%s'", | |
10 | - configFile.get())); | 19 | - configFile.get())); | |
11 | + reportError(form("Unable to read configuration file.")); | 20 | + reportError(form("Unable to read configuration file.")); | |
12 | } | 21 | } | |
13 | config->Read(configFile); | 22 | config->Read(configFile); | |
14 | 23 |