pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how do I compile firefox with gcc3?



I needed this.  If you confirm, I'll commit.

Masao

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox/distinfo,v
retrieving revision 1.51
diff -u -r1.51 distinfo
--- distinfo    28 Jul 2006 14:22:29 -0000      1.51
+++ distinfo    28 Jul 2006 15:54:57 -0000
@@ -41,7 +41,7 @@
 SHA1 (patch-ck) = 18e6c412399c8b5b89941d818cf2589711f35472
 SHA1 (patch-cl) = a08ba37aa7ac7806123aa21b6ff8055c6ded6449
 SHA1 (patch-cm) = 7da6e9da803407b25bf4b707562777e8429a37a4
-SHA1 (patch-cn) = 56e346b892c475d8b8e5c7521a34700338186437
+SHA1 (patch-cn) = 77a0bbd42f8383b3167494e919e6338218c660e0
 SHA1 (patch-db) = f10187cf9de4466e49a967b79875eb01c5afd69f
 SHA1 (patch-dc) = ba7b06f04460d4966e115a9ffdeafc1ebf555972
 SHA1 (patch-dd) = de9d705fdc3cb9879a19d58dfd170d104ca379f7
Index: patches/patch-cn
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox/patches/patch-cn,v
retrieving revision 1.1
diff -u -r1.1 patch-cn
--- patches/patch-cn    10 Dec 2005 13:47:22 -0000      1.1
+++ patches/patch-cn    28 Jul 2006 15:54:57 -0000
@@ -1,9 +1,8 @@
-$NetBSD: patch-cn,v 1.1 2005/12/10 13:47:22 taya Exp $
+$NetBSD$
 
-diff -ruN 
../Orig/mozilla/extensions/transformiix/source/xpath/XFormsFunctionCall.cpp 
./extensions/transformiix/source/xpath/XFormsFunctionCall.cpp
---- 
../Orig/mozilla/extensions/transformiix/source/xpath/XFormsFunctionCall.cpp     
   2005-08-05 06:15:37.000000000 +0900
-+++ ./extensions/transformiix/source/xpath/XFormsFunctionCall.cpp      
2005-12-04 21:35:33.000000000 +0900
-@@ -104,7 +104,7 @@
+--- extensions/transformiix/source/xpath/XFormsFunctionCall.cpp.orig   
2006-06-14 05:58:31.000000000 +0900
++++ extensions/transformiix/source/xpath/XFormsFunctionCall.cpp
+@@ -104,7 +104,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
          res = (res/i);
        }
        else {
@@ -12,7 +11,7 @@
        }
        return aContext->recycler()->getNumberResult(res, aResult);
      }
-@@ -159,7 +159,7 @@
+@@ -159,7 +159,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
        NS_ENSURE_SUCCESS(rv, rv);
  
        PRInt32 result = 0;
@@ -21,7 +20,16 @@
        nsresult rv = xformsService->GetDaysFromDateTime(date, &result);
        if (NS_SUCCEEDED(rv)) {
          res = result;
-@@ -345,7 +345,7 @@
+@@ -222,7 +222,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
+       NS_ENSURE_SUCCESS(rv, rv);
+ 
+       PRInt32 index = 0;
+-      double res = Double::NaN;
++      double res = Double::NaN();
+       rv = xformsService->GetRepeatIndex(repeatEle, &index);
+       NS_ENSURE_SUCCESS(rv, rv);
+ 
+@@ -354,7 +354,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
                                        getter_AddRefs(nodes));
        NS_ENSURE_SUCCESS(rv, rv);
     
@@ -30,7 +38,7 @@
        PRInt32 i;
        for (i = 0; i < nodes->size(); ++i) {
          double test;
-@@ -353,7 +353,7 @@
+@@ -362,7 +362,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
          txXPathNodeUtils::appendNodeValue(nodes->get(i), resultStr);
          test = Double::toDouble(resultStr);
          if (Double::isNaN(test)) {
@@ -39,7 +47,7 @@
            break;
          }
          if (test > res || i == 0) {
-@@ -373,7 +373,7 @@
+@@ -382,7 +382,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
                                        getter_AddRefs(nodes));
        NS_ENSURE_SUCCESS(rv, rv);
     
@@ -48,7 +56,7 @@
        PRInt32 i;
        for (i = 0; i < nodes->size(); ++i) {
          double test;
-@@ -381,7 +381,7 @@
+@@ -390,7 +390,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
          txXPathNodeUtils::appendNodeValue(nodes->get(i), resultStr);
          test = Double::toDouble(resultStr);
          if (Double::isNaN(test)) {
@@ -57,7 +65,7 @@
            break;
          }
          if ((test < res) || (i==0)) {
-@@ -404,7 +404,7 @@
+@@ -413,7 +413,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
        NS_ENSURE_SUCCESS(rv, rv);
  
        PRInt32 result = 0;
@@ -66,7 +74,7 @@
        nsresult rv = xformsService->GetMonths(duration, &result);
        if (NS_SUCCEEDED(rv)) {
          res = result;
-@@ -480,7 +480,7 @@
+@@ -489,7 +489,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
            // up the chain
            return rv;
          }
@@ -75,7 +83,7 @@
        }
  
        return aContext->recycler()->getNumberResult(res, aResult);
-@@ -505,7 +505,7 @@
+@@ -514,7 +514,7 @@ XFormsFunctionCall::evaluate(txIEvalCont
            // up the chain
            return rv;
          }



Home | Main Index | Thread Index | Old Index