summaryrefslogtreecommitdiffstats
path: root/openbsd/3rdparty/htdig/patches
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd/3rdparty/htdig/patches')
-rw-r--r--openbsd/3rdparty/htdig/patches/patch-config-xss24
-rw-r--r--openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h14
2 files changed, 38 insertions, 0 deletions
diff --git a/openbsd/3rdparty/htdig/patches/patch-config-xss b/openbsd/3rdparty/htdig/patches/patch-config-xss
new file mode 100644
index 000000000..32a044a7b
--- /dev/null
+++ b/openbsd/3rdparty/htdig/patches/patch-config-xss
@@ -0,0 +1,24 @@
+--- htsearch/htsearch.cc.orig Fri May 28 06:15:24 2004
++++ htsearch/htsearch.cc Mon Sep 12 23:16:06 2005
+@@ -211,8 +211,7 @@
+ }
+ if (access((char*)configFile, R_OK) < 0)
+ {
+- reportError(form("Unable to read configuration file '%s'",
+- configFile.get()));
++ reportError("Unable to read configuration file");
+ }
+ config->Read(configFile);
+
+--- htsearch/qtest.cc.orig Fri May 28 06:15:25 2004
++++ htsearch/qtest.cc Mon Sep 12 23:19:49 2005
+@@ -132,8 +132,7 @@
+
+ if (access((char*)configFile, R_OK) < 0)
+ {
+- reportError(form("Unable to find configuration file '%s'",
+- configFile.get()));
++ reportError("Unable to find configuration file");
+ }
+
+ config->Read(configFile);
diff --git a/openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h b/openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h
new file mode 100644
index 000000000..d2b25ad32
--- /dev/null
+++ b/openbsd/3rdparty/htdig/patches/patch-htsearch_Collection.h
@@ -0,0 +1,14 @@
+--- htsearch/Collection.h.orig Fri May 28 06:15:24 2004
++++ htsearch/Collection.h Mon Dec 18 00:17:56 2006
+@@ -36,9 +36,9 @@
+ const char *docExcerpt);
+ ~Collection();
+
+- void Collection::Open();
++ void Open();
+
+- void Collection::Close();
++ void Close();
+
+ char *getWordFile() { return wordFile.get(); }
+ DocumentRef *getDocumentRef(int id);