From 6dc3fd56b495db81ac9ead278054fe37900d5cc3 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 15 Nov 2000 04:53:35 +0000 Subject: Temporary hack to shut up gcc 2.95.2 vs. a missing cast (0 is not a valid function/method pointer without the right cast). This makes mozilla compile on sparc64 (but it's not working yet). --- www/mozilla/files/patch-sum | 3 ++- www/mozilla/patches/patch-al | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 www/mozilla/patches/patch-al (limited to 'www/mozilla') diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum index 9f839ff1c6b..4125af528ef 100644 --- a/www/mozilla/files/patch-sum +++ b/www/mozilla/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.32 2000/11/09 08:21:15 mycroft Exp $ +$NetBSD: patch-sum,v 1.33 2000/11/15 04:53:35 martin Exp $ MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d @@ -11,4 +11,5 @@ MD5 (patch-ah) = 8f6975c0fb5454958416f2b87d789c99 MD5 (patch-ai) = ebd71ac01fc02d0fa639af6348d1926e MD5 (patch-aj) = dae5f7b6f80a833fd63721c5c751fe0b MD5 (patch-ak) = 287b726e245828a0ef5801a621573e09 +MD5 (patch-al) = c84bb29314da78f57bbb72c9b9834dc6 MD5 (patch-am) = ae0011f145fee15042a104d9a67a7b44 diff --git a/www/mozilla/patches/patch-al b/www/mozilla/patches/patch-al new file mode 100644 index 00000000000..c507527084a --- /dev/null +++ b/www/mozilla/patches/patch-al @@ -0,0 +1,17 @@ +$NetBSD: patch-al,v 1.6 2000/11/15 04:53:35 martin Exp $ + +--- rdf/base/src/nsRDFContentSink.cpp.orig Sun Oct 29 23:19:05 2000 ++++ rdf/base/src/nsRDFContentSink.cpp Tue Nov 14 20:41:57 2000 +@@ -1198,11 +1198,11 @@ + + ContainerInfo gContainerInfo[] = { + { &RDFContentSinkImpl::kRDF_Alt, &nsIRDFContainerUtils::IsAlt, &nsIRDFContainerUtils::MakeAlt }, + { &RDFContentSinkImpl::kRDF_Bag, &nsIRDFContainerUtils::IsBag, &nsIRDFContainerUtils::MakeBag }, + { &RDFContentSinkImpl::kRDF_Seq, &nsIRDFContainerUtils::IsSeq, &nsIRDFContainerUtils::MakeSeq }, +- { 0, 0, 0 }, ++ { 0 }, // 0, 0 }, + }; + + nsresult + RDFContentSinkImpl::InitContainer(nsIRDFResource* aContainerType, nsIRDFResource* aContainer) + { -- cgit v1.2.3