aboutsummaryrefslogtreecommitdiff
path: root/www/galeon2/files/patch-src_mozilla_TOCProtocolHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/galeon2/files/patch-src_mozilla_TOCProtocolHandler.cpp')
-rw-r--r--www/galeon2/files/patch-src_mozilla_TOCProtocolHandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/galeon2/files/patch-src_mozilla_TOCProtocolHandler.cpp b/www/galeon2/files/patch-src_mozilla_TOCProtocolHandler.cpp
new file mode 100644
index 000000000000..8a63aaa3b565
--- /dev/null
+++ b/www/galeon2/files/patch-src_mozilla_TOCProtocolHandler.cpp
@@ -0,0 +1,11 @@
+--- src/mozilla/TOCProtocolHandler.cpp.orig Sun Jun 16 14:02:36 2002
++++ src/mozilla/TOCProtocolHandler.cpp Sun Jun 16 14:11:48 2002
+@@ -400,7 +400,7 @@
+ nsresult rv;
+
+ struct dirent **namelist;
+- int n = scandir (SHARE_DIR"/../gnome/help", &namelist, select,
++ int n = scandir (SHARE_DIR"/../gnome/help", &namelist, ((int(*)(struct dirent *))select),
+ alphasort);
+ if (n<0) return NS_ERROR_FAILURE;
+