aboutsummaryrefslogtreecommitdiffstats
path: root/www/galeon
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-22 00:36:47 +0800
committermarcus <marcus@FreeBSD.org>2003-04-22 00:36:47 +0800
commit64d90ee8a5726a6b05daa28f69bd69cc88a67f8c (patch)
treea0992209644660060bc63077e170c92c1c2b8dc5 /www/galeon
parent82d269765d4e1c80fecbe0051f9f46b6ae89c6eb (diff)
downloadfreebsd-ports-gnome-64d90ee8a5726a6b05daa28f69bd69cc88a67f8c.tar.gz
freebsd-ports-gnome-64d90ee8a5726a6b05daa28f69bd69cc88a67f8c.tar.zst
freebsd-ports-gnome-64d90ee8a5726a6b05daa28f69bd69cc88a67f8c.zip
Restore a signed vs. unsigned patch that was accidentally removed in the
last commit. This should fix the build with Mozilla 1.3.
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 000000000000..b256b3ffe53b
--- /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 000000000000..12b252bdbd2c
--- /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);
+