diff options
author | adamw <adamw@FreeBSD.org> | 2004-07-08 04:00:33 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-07-08 04:00:33 +0800 |
commit | 8a7636f810e633fb8d613dbd20cd0b4bdbe3e961 (patch) | |
tree | 85311fae584554719314786c72a8602d60386668 | |
parent | 86939f0c92708334e4aef5d02ff4b51e6026469d (diff) | |
download | freebsd-ports-gnome-8a7636f810e633fb8d613dbd20cd0b4bdbe3e961.tar.gz freebsd-ports-gnome-8a7636f810e633fb8d613dbd20cd0b4bdbe3e961.tar.zst freebsd-ports-gnome-8a7636f810e633fb8d613dbd20cd0b4bdbe3e961.zip |
Kluge to build against mozilla-1.8a1. There's probably a
better way to do this...
-rw-r--r-- | www/epiphany-extensions/files/patch-extensions_popup-blocker_mozilla_mozilla-helpers.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/epiphany-extensions/files/patch-extensions_popup-blocker_mozilla_mozilla-helpers.cpp b/www/epiphany-extensions/files/patch-extensions_popup-blocker_mozilla_mozilla-helpers.cpp new file mode 100644 index 000000000000..1ac27b214e9d --- /dev/null +++ b/www/epiphany-extensions/files/patch-extensions_popup-blocker_mozilla_mozilla-helpers.cpp @@ -0,0 +1,19 @@ +--- extensions/popup-blocker/mozilla/mozilla-helpers.cpp.orig Wed Jul 7 15:55:52 2004 ++++ extensions/popup-blocker/mozilla/mozilla-helpers.cpp Wed Jul 7 15:57:58 2004 +@@ -65,12 +65,16 @@ + nsCOMPtr<nsPIDOMWindow> piWin(do_QueryInterface (domWindow, &rv)); + NS_ENSURE_SUCCESS (rv, NULL); + ++#if MOZILLA_SNAPSHOT < 18 + nsCOMPtr<nsIChromeEventHandler> chromeHandler; + rv = piWin->GetChromeEventHandler (getter_AddRefs (chromeHandler)); + NS_ENSURE_SUCCESS (rv, NULL); ++#endif + + nsCOMPtr<nsIDOMEventReceiver> eventReceiver; ++#if MOZILLA_SNAPSHOT < 18 + eventReceiver = do_QueryInterface (chromeHandler, &rv); ++#endif + NS_ENSURE_SUCCESS (rv, NULL); + + nsCOMPtr<nsIDOMEventTarget> target; |