aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-21 04:35:42 +0800
committermarcus <marcus@FreeBSD.org>2002-11-21 04:35:42 +0800
commit180771957a04fcefed3041047023507ea2cc5fd2 (patch)
tree5073a44af5f9d423c2ac89abbf0354cc67581edf
parentc92c3984ca08663af5b45e6cb8db9c65c657ba01 (diff)
downloadfreebsd-ports-gnome-180771957a04fcefed3041047023507ea2cc5fd2.tar.gz
freebsd-ports-gnome-180771957a04fcefed3041047023507ea2cc5fd2.tar.zst
freebsd-ports-gnome-180771957a04fcefed3041047023507ea2cc5fd2.zip
Fix build on -CURRENT.
-rw-r--r--www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp40
-rw-r--r--www/galeon2/files/patch-mozilla_TOCProtocolHandler.h11
2 files changed, 51 insertions, 0 deletions
diff --git a/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp b/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp
new file mode 100644
index 000000000000..8d64c8e00850
--- /dev/null
+++ b/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp
@@ -0,0 +1,40 @@
+--- mozilla/TOCProtocolHandler.cpp.orig Wed Nov 20 15:24:03 2002
++++ mozilla/TOCProtocolHandler.cpp Wed Nov 20 15:24:19 2002
+@@ -83,8 +83,8 @@
+ oStream->Write (str.c_str(), str.size(), &bytesWriten);
+
+ void ParseEnvPath(const nsCString &path, list<string> &dirs);
+-int gHelpSelect (const struct dirent *dirEntry);
+-int gnomeHelpSelect (const struct dirent *dirEntry);
++int gHelpSelect (struct dirent *dirEntry);
++int gnomeHelpSelect (struct dirent *dirEntry);
+
+ /* Implementation file */
+ NS_IMPL_ISUPPORTS1 (GTOCProtocolHandler, nsIProtocolHandler)
+@@ -401,7 +401,7 @@
+ }
+
+ NS_METHOD GTOCProtocolHandler::CreateHelpPage (const char *type,
+- int (*select)(const struct dirent *))
++ int (*select)(struct dirent *))
+ {
+ nsresult rv;
+
+@@ -496,7 +496,7 @@
+ }
+ }
+
+-int gHelpSelect (const struct dirent *dirEntry)
++int gHelpSelect (struct dirent *dirEntry)
+ {
+ #ifdef NOT_PORTED
+ char *helpPath = gnome_help_file_find_file (
+@@ -512,7 +512,7 @@
+ #endif
+ }
+
+-int gnomeHelpSelect (const struct dirent *dirEntry)
++int gnomeHelpSelect (struct dirent *dirEntry)
+ {
+ #ifdef NOT_PORTED
+ nsCString fileName = dirEntry->d_name;
diff --git a/www/galeon2/files/patch-mozilla_TOCProtocolHandler.h b/www/galeon2/files/patch-mozilla_TOCProtocolHandler.h
new file mode 100644
index 000000000000..e942b83c83bb
--- /dev/null
+++ b/www/galeon2/files/patch-mozilla_TOCProtocolHandler.h
@@ -0,0 +1,11 @@
+--- mozilla/TOCProtocolHandler.h.orig Wed Nov 20 15:25:05 2002
++++ mozilla/TOCProtocolHandler.h Wed Nov 20 15:25:10 2002
+@@ -55,7 +55,7 @@
+ NS_METHOD CreateInfoPage (void);
+ NS_METHOD CreateManPage (void);
+ NS_METHOD CreateHelpPage (const char *type,
+- int (*select)(const struct dirent *));
++ int (*select)(struct dirent *));
+ nsCOMPtr<nsIURI> mURI;
+ nsCOMPtr<nsIChannel> mChannel;
+ nsCOMPtr<nsIStorageStream> mStream;