summaryrefslogtreecommitdiffstats
path: root/www/galeon
diff options
context:
space:
mode:
Diffstat (limited to 'www/galeon')
-rw-r--r--www/galeon/files/patch-src_mozilla_mozilla.cpp14
-rw-r--r--www/galeon/files/patch-src_mozilla_mozilla.h14
2 files changed, 28 insertions, 0 deletions
diff --git a/www/galeon/files/patch-src_mozilla_mozilla.cpp b/www/galeon/files/patch-src_mozilla_mozilla.cpp
new file mode 100644
index 0000000..b256b3f
--- /dev/null
+++ b/www/galeon/files/patch-src_mozilla_mozilla.cpp
@@ -0,0 +1,14 @@
+--- src/mozilla/mozilla.cpp.orig Mon Apr 21 12:28:35 2003
++++ src/mozilla/mozilla.cpp Mon Apr 21 12:31:09 2003
+@@ -1102,7 +1102,11 @@
+ */
+
+ extern "C" GList *
++#if MOZILLA_SNAPSHOT > 6
+ mozilla_get_permissions (guint type)
++#else
++mozilla_get_permissions (gint type)
++#endif
+ {
+ GList *permissions = NULL;
+ nsresult result;
diff --git a/www/galeon/files/patch-src_mozilla_mozilla.h b/www/galeon/files/patch-src_mozilla_mozilla.h
new file mode 100644
index 0000000..12b252b
--- /dev/null
+++ b/www/galeon/files/patch-src_mozilla_mozilla.h
@@ -0,0 +1,14 @@
+--- src/mozilla/mozilla.h.orig Mon Apr 21 12:32:00 2003
++++ src/mozilla/mozilla.h Mon Apr 21 12:32:55 2003
+@@ -261,7 +261,11 @@
+ GList *mozilla_list_cookies (void);
+ void mozilla_set_permission (GaleonEmbed *embed, gboolean allow,
+ guint type);
++#if MOZILLA_SNAPSHOT > 6
+ GList *mozilla_get_permissions (guint type);
++#else
++GList *mozilla_get_permissions (gint type);
++#endif
+ gboolean mozilla_remove_cookies (GList *gone, gboolean block);
+ gboolean mozilla_remove_permissions (GList *gone, guint type);
+
OpenPOWER on IntegriCloud