diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2004-07-07 19:55:31 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2004-07-07 19:55:31 +0000 |
commit | f82a372836b5e2908b2a39fa0e723fce79f9e43c (patch) | |
tree | 79b3d1334f5e76ed2108f35e63c9c4cf321e3d05 /www/epiphany | |
parent | 75b8866e2237aa80910404ff99d57cba24dbdc37 (diff) | |
download | ports-f82a372836b5e2908b2a39fa0e723fce79f9e43c.tar.gz ports-f82a372836b5e2908b2a39fa0e723fce79f9e43c.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.
Notes
Notes:
svn path=/head/; revision=113160
Diffstat (limited to 'www/epiphany')
-rw-r--r-- | www/epiphany/files/patch-embed_mozilla_EphyBrowser.cpp | 16 |
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; + } |