summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-05-16 22:02:15 +0000
committermarcus <marcus@FreeBSD.org>2003-05-16 22:02:15 +0000
commite6af296e789153a0359d7f231f1df1fe96064680 (patch)
tree667e7fd710359e4f2ef74e0466f5fb87343f3b32 /www
parentfc0a45df0032289eb9fcb55ed421f2b9332ceb74 (diff)
downloadFreeBSD-ports-e6af296e789153a0359d7f231f1df1fe96064680.zip
FreeBSD-ports-e6af296e789153a0359d7f231f1df1fe96064680.tar.gz
Update for Mozilla 1.4b.
Diffstat (limited to 'www')
-rw-r--r--www/epiphany/Makefile2
-rw-r--r--www/galeon/Makefile2
-rw-r--r--www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp26
-rw-r--r--www/galeon2/Makefile2
-rw-r--r--www/galeon2/files/patch-mozilla_GaleonWrapper.cpp28
5 files changed, 57 insertions, 3 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index f3a7302..bf2458b 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -31,7 +31,7 @@ HEADERS_SUFX=
.if ${WITH_MOZILLA}=="mozilla-devel-gtk2"
MOZILLA= ${WITH_MOZILLA}
HEADERS_SUFX= -devel
-MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.4a"
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk"
.else
MOZILLA= mozilla-gtk2
HEADERS_SUFX=
diff --git a/www/galeon/Makefile b/www/galeon/Makefile
index 998cb98..85d7284 100644
--- a/www/galeon/Makefile
+++ b/www/galeon/Makefile
@@ -33,7 +33,7 @@ MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.0"
.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-embedded-devel"
MOZILLA= ${WITH_MOZILLA}
HEADERS_SUFX= -devel
-MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.4a"
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk"
.else
.if ${WITH_MOZILLA}=="mozilla-embedded"
MOZILLA= mozilla-embedded
diff --git a/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
new file mode 100644
index 0000000..e086452
--- /dev/null
+++ b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp
@@ -0,0 +1,26 @@
+--- src/mozilla/GaleonWrapper.cpp.orig Fri Apr 11 17:57:19 2003
++++ src/mozilla/GaleonWrapper.cpp Fri May 16 17:52:46 2003
+@@ -70,7 +70,11 @@
+ #include "nsIDocumentObserver.h"
+ #include "nsCWebBrowser.h"
+ #include "nsReadableUtils.h"
++#if MOZILLA_SNAPSHOT > 7
++#include "nsIDOMNSDocument.h"
++#else
+ #include "nsIDOMNSHTMLDocument.h"
++#endif
+ #include "nsIDOMHTMLDocument.h"
+ #include "nsIDOMHTMLCollection.h"
+ #include "nsIDOMHTMLElement.h"
+@@ -1290,7 +1294,11 @@
+ result = GetDOMDocument (getter_AddRefs(aDOMDocument));
+ if (NS_FAILED(result) || !aDOMDocument) return NS_ERROR_FAILURE;
+
++#if MOZILLA_SNAPSHOT > 7
++ nsCOMPtr<nsIDOMNSDocument> doc = do_QueryInterface(aDOMDocument);
++#else
+ nsCOMPtr<nsIDOMNSHTMLDocument> doc = do_QueryInterface(aDOMDocument);
++#endif
+ if(!doc) return NS_ERROR_FAILURE;
+
+ nsAutoString value;
diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile
index 6cd3a888..ca1b992 100644
--- a/www/galeon2/Makefile
+++ b/www/galeon2/Makefile
@@ -31,7 +31,7 @@ HEADERS_SUFX=
.if ${WITH_MOZILLA}=="mozilla-devel-gtk2"
MOZILLA= ${WITH_MOZILLA}
HEADERS_SUFX= -devel
-MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.4a"
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="trunk"
.else
MOZILLA= mozilla-gtk2
HEADERS_SUFX=
diff --git a/www/galeon2/files/patch-mozilla_GaleonWrapper.cpp b/www/galeon2/files/patch-mozilla_GaleonWrapper.cpp
new file mode 100644
index 0000000..dca228a
--- /dev/null
+++ b/www/galeon2/files/patch-mozilla_GaleonWrapper.cpp
@@ -0,0 +1,28 @@
+--- mozilla/GaleonWrapper.cpp.orig Fri May 16 17:21:37 2003
++++ mozilla/GaleonWrapper.cpp Fri May 16 17:23:41 2003
+@@ -70,7 +70,11 @@
+ #include "nsCWebBrowser.h"
+ #include "nsReadableUtils.h"
+ #include "nsUnicharUtils.h"
++#if MOZILLA_SNAPSHOT > 7
++#include "nsIDOMNSDocument.h"
++#else
+ #include "nsIDOMNSHTMLDocument.h"
++#endif
+ #include "nsIDOMHTMLDocument.h"
+ #include "nsIDOMHTMLCollection.h"
+ #include "nsIDOMHTMLElement.h"
+@@ -1106,8 +1110,13 @@
+ result = GetDOMDocument (getter_AddRefs(DOMDocument));
+ if (NS_FAILED(result) || !DOMDocument) return NS_ERROR_FAILURE;
+
++#if MOZILLA_SNAPSHOT > 7
++ nsCOMPtr<nsIDOMNSDocument> doc = do_QueryInterface(DOMDocument);
++ if (!doc) return NS_ERROR_FAILURE;
++#else
+ nsCOMPtr<nsIDOMNSHTMLDocument> doc = do_QueryInterface(DOMDocument);
+ if(!doc) return NS_ERROR_FAILURE;
++#endif
+
+ nsAutoString value;
+ doc->GetLastModified(value);
OpenPOWER on IntegriCloud