diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-11-20 20:35:42 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-11-20 20:35:42 +0000 |
commit | ad12c22e5e156cc1ca1029f90b62208555b8da5e (patch) | |
tree | a440299715ace700db88fe865684a6e7e4b12b54 /www/galeon2 | |
parent | Update to 0.80.2. (diff) |
Fix build on -CURRENT.
Notes
Notes:
svn path=/head/; revision=70612
Diffstat (limited to 'www/galeon2')
-rw-r--r-- | www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp | 40 | ||||
-rw-r--r-- | www/galeon2/files/patch-mozilla_TOCProtocolHandler.h | 11 |
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; |