From 33353d188195fb891b63471a2590ad69a127156b Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 11 Sep 2002 21:11:02 +0000 Subject: Fix build with Mozilla-1.0.1. --- www/galeon/Makefile | 4 +++- www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp | 11 +++++++++++ www/galeon2/Makefile | 4 +++- www/galeon2/files/patch-src_mozilla_GaleonWrapper.cpp | 11 +++++++++++ 4 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp create mode 100644 www/galeon2/files/patch-src_mozilla_GaleonWrapper.cpp diff --git a/www/galeon/Makefile b/www/galeon/Makefile index 232791cb5ce0..1e2af244caa9 100644 --- a/www/galeon/Makefile +++ b/www/galeon/Makefile @@ -7,6 +7,7 @@ PORTNAME= galeon PORTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -33,7 +34,8 @@ USE_LIBTOOL= yes USE_REINPLACE= yes CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla" \ --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \ - --enable-nautilus-view + --enable-nautilus-view \ + --with-mozilla-snapshot="1.0.1" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -D_REENTRANT ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} 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 000000000000..d0aa0aaaaea7 --- /dev/null +++ b/www/galeon/files/patch-src_mozilla_GaleonWrapper.cpp @@ -0,0 +1,11 @@ +--- src/mozilla/GaleonWrapper.cpp.orig Wed Sep 11 16:59:41 2002 ++++ src/mozilla/GaleonWrapper.cpp Wed Sep 11 17:00:49 2002 +@@ -182,7 +182,7 @@ + } + else + { +-#if MOZILLA_SNAPSHOT > 1 ++#if MOZILLA_SNAPSHOT >= 1 + result = print->PrintPreview(options, nsnull, nsnull); + #else + result = print->PrintPreview(options); diff --git a/www/galeon2/Makefile b/www/galeon2/Makefile index 232791cb5ce0..1e2af244caa9 100644 --- a/www/galeon2/Makefile +++ b/www/galeon2/Makefile @@ -7,6 +7,7 @@ PORTNAME= galeon PORTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= www gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -33,7 +34,8 @@ USE_LIBTOOL= yes USE_REINPLACE= yes CONFIGURE_ARGS= --with-mozilla-includes="${X11BASE}/include/mozilla" \ --with-mozilla-libs="${X11BASE}/lib/${MOZILLA}" \ - --enable-nautilus-view + --enable-nautilus-view \ + --with-mozilla-snapshot="1.0.1" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include -D_REENTRANT ${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} diff --git a/www/galeon2/files/patch-src_mozilla_GaleonWrapper.cpp b/www/galeon2/files/patch-src_mozilla_GaleonWrapper.cpp new file mode 100644 index 000000000000..d0aa0aaaaea7 --- /dev/null +++ b/www/galeon2/files/patch-src_mozilla_GaleonWrapper.cpp @@ -0,0 +1,11 @@ +--- src/mozilla/GaleonWrapper.cpp.orig Wed Sep 11 16:59:41 2002 ++++ src/mozilla/GaleonWrapper.cpp Wed Sep 11 17:00:49 2002 +@@ -182,7 +182,7 @@ + } + else + { +-#if MOZILLA_SNAPSHOT > 1 ++#if MOZILLA_SNAPSHOT >= 1 + result = print->PrintPreview(options, nsnull, nsnull); + #else + result = print->PrintPreview(options); -- cgit