aboutsummaryrefslogtreecommitdiff
path: root/www/galeon
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-21 16:36:47 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-21 16:36:47 +0000
commit71366918c79ba13a6b3c403f3f882a5ee2e93c10 (patch)
treeef7f778205b2d93c4fef20274f912cdff84358a4 /www/galeon
parentb1777e20d244c956b7f88b789cc5e65095d44ecb (diff)
downloadports-71366918c79ba13a6b3c403f3f882a5ee2e93c10.tar.gz
ports-71366918c79ba13a6b3c403f3f882a5ee2e93c10.zip
Restore a signed vs. unsigned patch that was accidentally removed in the
last commit. This should fix the build with Mozilla 1.3.
Notes
Notes: svn path=/head/; revision=79420
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);
+