diff options
author | marcus <marcus@FreeBSD.org> | 2003-02-17 00:15:55 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-02-17 00:15:55 +0000 |
commit | 038c92aa06707286e120c59ea2cd65d0ff5e572b (patch) | |
tree | 4d4f8d6884483e8868125931d9ac1792bbd28206 /www/galeon2/files | |
parent | 231a4ce5b1b6e72a12f30cb727d3eaf066f49429 (diff) | |
download | FreeBSD-ports-038c92aa06707286e120c59ea2cd65d0ff5e572b.zip FreeBSD-ports-038c92aa06707286e120c59ea2cd65d0ff5e572b.tar.gz |
Update to 1.3.2. Note, galeon2 now requires mozilla-devel-gtk2. You
can no longer build with mozilla-gtk2.
Diffstat (limited to 'www/galeon2/files')
8 files changed, 10 insertions, 202 deletions
diff --git a/www/galeon2/files/patch-bookmarks_bookmarks-import-druid-konqueror.c b/www/galeon2/files/patch-bookmarks_bookmarks-import-druid-konqueror.c new file mode 100644 index 0000000..6a54adc --- /dev/null +++ b/www/galeon2/files/patch-bookmarks_bookmarks-import-druid-konqueror.c @@ -0,0 +1,10 @@ +--- bookmarks/bookmarks-import-druid-konqueror.c.orig Sun Feb 16 18:36:14 2003 ++++ bookmarks/bookmarks-import-druid-konqueror.c Sun Feb 16 18:36:40 2003 +@@ -20,6 +20,7 @@ + #include "config.h" + #endif + ++#include <sys/types.h> + #include <libgnome/gnome-i18n.h> + #include "bookmarks-import-druid-konqueror.h" + #include "gul-gobject-misc.h" diff --git a/www/galeon2/files/patch-configure b/www/galeon2/files/patch-configure index 1624ed4..f8bc9fe0 100644 --- a/www/galeon2/files/patch-configure +++ b/www/galeon2/files/patch-configure @@ -8,16 +8,3 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' -@@ -18588,7 +18589,11 @@ - # Check whether --enable-werror or --disable-werror was given. - if test "${enable_werror+set}" = set; then - enableval="$enable_werror" -- disable_werror=no -+ if test "x$enable_werror" != "xno"; then -+ disable_werror=no -+ else -+ disable_werror=yes -+ fi - else - disable_werror=yes - fi; diff --git a/www/galeon2/files/patch-mozilla_BaseHelpProtocolHandler.cpp b/www/galeon2/files/patch-mozilla_BaseHelpProtocolHandler.cpp deleted file mode 100644 index d95b514..0000000 --- a/www/galeon2/files/patch-mozilla_BaseHelpProtocolHandler.cpp +++ /dev/null @@ -1,41 +0,0 @@ ---- mozilla/BaseHelpProtocolHandler.cpp.orig Thu Feb 13 16:08:39 2003 -+++ mozilla/BaseHelpProtocolHandler.cpp Thu Feb 13 16:13:24 2003 -@@ -16,6 +16,10 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include "outputbuffer.h" - - #ifdef NOT_PORTED -@@ -194,17 +198,23 @@ - - /* finish the rendering */ - nsCOMPtr<nsIInputStream> iStream; -- PRUint32 size; -- -- rv = sStream->GetLength(&size); -- if (NS_FAILED(rv)) return rv; - - rv = sStream->NewInputStream(0, getter_AddRefs(iStream)); - if (NS_FAILED(rv)) return rv; - -+#if MOZILLA_SNAPSHOT > 3 -+ rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), mURI, -+ iStream, NS_LITERAL_CSTRING("text/html"), -+ NS_LITERAL_CSTRING("utf-8")); -+#else -+ PRUint32 size; -+ rv = sStream->GetLength(&size); -+ if (NS_FAILED(rv)) return rv; -+ - rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), mURI, - iStream, NS_LITERAL_CSTRING("text/html"), - NS_LITERAL_CSTRING("utf-8"), size); -+#endif - if (NS_FAILED(rv)) return rv; - - return rv; diff --git a/www/galeon2/files/patch-mozilla_BaseProtocolContentHandler.cpp b/www/galeon2/files/patch-mozilla_BaseProtocolContentHandler.cpp deleted file mode 100644 index 10189eb..0000000 --- a/www/galeon2/files/patch-mozilla_BaseProtocolContentHandler.cpp +++ /dev/null @@ -1,27 +0,0 @@ ---- mozilla/BaseProtocolContentHandler.cpp.orig Thu Feb 13 16:21:02 2003 -+++ mozilla/BaseProtocolContentHandler.cpp Thu Feb 13 16:22:10 2003 -@@ -16,6 +16,10 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include "nsCOMPtr.h" - #include "nsIURI.h" - #include "nsIChannel.h" -@@ -63,8 +67,13 @@ - if (NS_FAILED(rv)) return rv; - - nsCOMPtr<nsIChannel> channel; -+#if MOZILLA_SNAPSHOT > 3 -+ rv = NS_NewInputStreamChannel(getter_AddRefs(channel), aURI, -+ iStream, mMimeType, NS_LITERAL_CSTRING("")); -+#else - rv = NS_NewInputStreamChannel(getter_AddRefs(channel), aURI, - iStream, mMimeType, NS_LITERAL_CSTRING(""), 0); -+#endif - if (NS_FAILED(rv)) return rv; - - NS_IF_ADDREF (*_retval = channel); diff --git a/www/galeon2/files/patch-mozilla_GlobalHistory.cpp b/www/galeon2/files/patch-mozilla_GlobalHistory.cpp deleted file mode 100644 index eebb779..0000000 --- a/www/galeon2/files/patch-mozilla_GlobalHistory.cpp +++ /dev/null @@ -1,27 +0,0 @@ ---- mozilla/GlobalHistory.cpp.orig Thu Feb 13 16:30:19 2003 -+++ mozilla/GlobalHistory.cpp Thu Feb 13 16:32:29 2003 -@@ -16,6 +16,10 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include "galeon-config.h" - #include "mozilla-embed-shell.h" - -@@ -149,6 +153,13 @@ - { - return NS_ERROR_NOT_IMPLEMENTED; - } -+ -+#if MOZILLA_SNAPSHOT > 3 -+NS_IMETHODIMP MozGlobalHistory::OutputReferrerURL(const char *aURL, const char *aReferrer) -+{ -+ return NS_ERROR_NOT_IMPLEMENTED; -+} -+#endif - - NS_DEF_FACTORY (MozGlobalHistory, MozGlobalHistory); - diff --git a/www/galeon2/files/patch-mozilla_MyportalProtocolHandler.cpp b/www/galeon2/files/patch-mozilla_MyportalProtocolHandler.cpp deleted file mode 100644 index e232fd5e..0000000 --- a/www/galeon2/files/patch-mozilla_MyportalProtocolHandler.cpp +++ /dev/null @@ -1,41 +0,0 @@ ---- mozilla/MyportalProtocolHandler.cpp.orig Thu Feb 13 16:23:25 2003 -+++ mozilla/MyportalProtocolHandler.cpp Thu Feb 13 16:26:47 2003 -@@ -16,6 +16,10 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include "bookmarks.h" - #include "bookmarks-iterator.h" - #include "eel-gconf-extensions.h" -@@ -249,17 +253,23 @@ - g_free (myportalURI); - #else - nsCOMPtr<nsIInputStream> iStream; -- PRUint32 size; -- -- rv = sStream->GetLength(&size); -+ rv = sStream->NewInputStream(0, getter_AddRefs(iStream)); -+ - if (NS_FAILED(rv)) return rv; - -- rv = sStream->NewInputStream(0, getter_AddRefs(iStream)); -+#if MOZILLA_SNAPSHOT > 3 -+ rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), mURI, -+ iStream, NS_LITERAL_CSTRING("text/html"), -+ NS_LITERAL_CSTRING("utf-8")); -+#else -+ PRUint32 size; -+ rv = sStream->GetLength(&size); - if (NS_FAILED(rv)) return rv; - - rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), mURI, - iStream, NS_LITERAL_CSTRING("text/html"), - NS_LITERAL_CSTRING("utf-8"), size); -+#endif - if (NS_FAILED(rv)) return rv; - #endif - g_free (stylesheet_filename); diff --git a/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp b/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp index 1ab4474..cdb7d98 100644 --- a/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp +++ b/www/galeon2/files/patch-mozilla_TOCProtocolHandler.cpp @@ -11,34 +11,6 @@ /* Implementation file */ NS_IMPL_ISUPPORTS1 (GTOCProtocolHandler, nsIProtocolHandler) -@@ -126,17 +126,24 @@ - if (NS_FAILED(rv)) return rv; - - /* finish the rendering */ -- PRUint32 size; -- rv = mStream->GetLength(&size); -- if (NS_FAILED(rv)) return rv; - - nsCOMPtr<nsIInputStream> iStream; - rv = mStream->NewInputStream(0, getter_AddRefs(iStream)); - if (NS_FAILED(rv)) return rv; - -+#if MOZILLA_SNAPSHOT > 3 -+ rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), mURI, -+ iStream, NS_LITERAL_CSTRING("text/html"), -+ NS_LITERAL_CSTRING("utf-8")); -+#else -+ PRUint32 size; -+ rv = mStream->GetLength(&size); -+ if (NS_FAILED(rv)) return rv; -+ - rv = NS_NewInputStreamChannel(getter_AddRefs(mChannel), mURI, - iStream, NS_LITERAL_CSTRING("text/html"), - NS_LITERAL_CSTRING("utf-8"), size); -+#endif - if (NS_FAILED(rv)) return rv; - - return rv; @@ -401,7 +408,7 @@ } diff --git a/www/galeon2/files/patch-mozilla_mozilla-embed-persist.cpp b/www/galeon2/files/patch-mozilla_mozilla-embed-persist.cpp deleted file mode 100644 index cf3e67e..0000000 --- a/www/galeon2/files/patch-mozilla_mozilla-embed-persist.cpp +++ /dev/null @@ -1,25 +0,0 @@ ---- mozilla/mozilla-embed-persist.cpp.orig Thu Feb 13 16:18:30 2003 -+++ mozilla/mozilla-embed-persist.cpp Thu Feb 13 16:20:25 2003 -@@ -16,6 +16,10 @@ - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif -+ - #include "mozilla-embed-persist.h" - #include "mozilla-embed.h" - #include "ProgressListener.h" -@@ -235,7 +239,11 @@ - persist, - !(flags & EMBED_PERSIST_SHOW_PROGRESS)); - -+#if MOZILLA_SNAPSHOT > 3 -+ rv = bpersist->SaveURI (linkURI, nsnull, nsnull, nsnull, nsnull, file); -+#else - rv = bpersist->SaveURI (linkURI, nsnull, file); -+#endif - if (NS_FAILED(rv)) return G_FAILED; - } - |