summaryrefslogtreecommitdiffstats
path: root/www/epiphany
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-06-30 05:01:33 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-06-30 05:01:33 +0800
commit584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9 (patch)
tree9e4c2e95497e01cd07a415e2ba4b217e4d68481c /www/epiphany
parentf2d0eb05189f978d8b8b60928fc28a89285cd047 (diff)
downloadmarcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.tar
marcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.tar.gz
marcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.tar.bz2
marcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.tar.lz
marcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.tar.xz
marcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.tar.zst
marcuscom-ports-584e4a386e7a62ba0c4ecb71df68e1d893ccd0e9.zip
Fix build with Mozilla 1.7.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2420 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany')
-rw-r--r--www/epiphany/Makefile4
-rw-r--r--www/epiphany/files/patch-embed_mozilla_GtkNSSKeyPairDialogs.cpp29
2 files changed, 31 insertions, 2 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index a9aaef9e0..4dd2d1c55 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -18,7 +18,7 @@ COMMENT= An extremely lightweight and simple web browser for GNOME 2
BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/components/libwidget_gtk2.so:${PORTSDIR}/www/${MOZILLA}
-MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.6"
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.7"
MOZILLA= mozilla
HEADERS_SUFX=
@@ -30,7 +30,7 @@ HEADERS_SUFX=
.if ${WITH_MOZILLA}=="mozilla-devel" || ${WITH_MOZILLA}=="mozilla-devel-gtk2"
MOZILLA= mozilla-devel
HEADERS_SUFX= -devel
-MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.7rc2"
+MOZ_CONFIGURE_ARGS= --with-mozilla-snapshot="1.8a"
.else
MOZILLA= mozilla
HEADERS_SUFX=
diff --git a/www/epiphany/files/patch-embed_mozilla_GtkNSSKeyPairDialogs.cpp b/www/epiphany/files/patch-embed_mozilla_GtkNSSKeyPairDialogs.cpp
new file mode 100644
index 000000000..e97822fea
--- /dev/null
+++ b/www/epiphany/files/patch-embed_mozilla_GtkNSSKeyPairDialogs.cpp
@@ -0,0 +1,29 @@
+--- embed/mozilla/GtkNSSKeyPairDialogs.cpp.orig Tue Jun 29 16:51:48 2004
++++ embed/mozilla/GtkNSSKeyPairDialogs.cpp Tue Jun 29 16:52:26 2004
+@@ -91,7 +91,7 @@
+ NS_DECL_ISUPPORTS
+ NS_DECL_NSIDOMWINDOWINTERNAL
+ NS_DECL_NSIDOMWINDOW
+-#if MOZILLA_SNAPSHOT >= 19
++#if MOZILLA_SNAPSHOT >= 16
+ NS_DECL_NSIDOMWINDOW2
+ #endif
+
+@@ -101,7 +101,7 @@
+ gboolean close_called;
+ };
+
+-#if MOZILLA_SNAPSHOT >= 19
++#if MOZILLA_SNAPSHOT >= 16
+ NS_IMPL_ISUPPORTS3(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow, nsIDOMWindow2)
+ #else
+ NS_IMPL_ISUPPORTS2(KeyPairHelperWindow, nsIDOMWindowInternal, nsIDOMWindow)
+@@ -249,7 +249,7 @@
+ MOZ_NOT_IMPLEMENTED
+ }
+
+-#if MOZILLA_SNAPSHOT >= 19
++#if MOZILLA_SNAPSHOT >= 16
+ NS_IMETHODIMP KeyPairHelperWindow::GetWindowRoot(nsIDOMEventTarget * *aEvent)
+ {
+ MOZ_NOT_IMPLEMENTED