aboutsummaryrefslogtreecommitdiffstats
path: root/www/epiphany
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-07-08 03:55:31 +0800
committeradamw <adamw@FreeBSD.org>2004-07-08 03:55:31 +0800
commit86939f0c92708334e4aef5d02ff4b51e6026469d (patch)
tree3fe7df6ffde5aaf9e88b5a5e3e2c1911375e73c2 /www/epiphany
parent1bfeb1b9ce2f243aad16643d95d8bc9dcc6dd6f0 (diff)
downloadfreebsd-ports-gnome-86939f0c92708334e4aef5d02ff4b51e6026469d.tar.gz
freebsd-ports-gnome-86939f0c92708334e4aef5d02ff4b51e6026469d.tar.zst
freebsd-ports-gnome-86939f0c92708334e4aef5d02ff4b51e6026469d.zip
Kluge the source to build against mozilla-1.8a1.
This just conditionalizes out the offending code, so somebody who has a better idea of what's going on might want to take a closer look at this.
Diffstat (limited to 'www/epiphany')
-rw-r--r--www/epiphany/files/patch-embed_mozilla_EphyBrowser.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/epiphany/files/patch-embed_mozilla_EphyBrowser.cpp b/www/epiphany/files/patch-embed_mozilla_EphyBrowser.cpp
new file mode 100644
index 000000000000..2dfb07aa6b91
--- /dev/null
+++ b/www/epiphany/files/patch-embed_mozilla_EphyBrowser.cpp
@@ -0,0 +1,16 @@
+--- embed/mozilla/EphyBrowser.cpp.orig Wed Jul 7 15:41:04 2004
++++ embed/mozilla/EphyBrowser.cpp Wed Jul 7 15:47:03 2004
+@@ -249,11 +249,13 @@
+ nsCOMPtr<nsPIDOMWindow> piWin(do_QueryInterface(domWindow));
+ NS_ENSURE_TRUE (piWin, NS_ERROR_FAILURE);
+
++#if MOZILLA_SNAPSHOT < 18
+ nsCOMPtr<nsIChromeEventHandler> chromeHandler;
+ piWin->GetChromeEventHandler(getter_AddRefs(chromeHandler));
+
+ mEventReceiver = do_QueryInterface(chromeHandler);
+ NS_ENSURE_TRUE (mEventReceiver, NS_ERROR_FAILURE);
++#endif
+
+ return NS_OK;
+ }