pkgsrc-Bugs archive

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

Re: pkg/47722: devel/xulrunner DragonFly i386 no matching function for call to 'NS_MIN(int64_t&, __gnu_cxx::__enable_if<true, double>::__type)'



The following reply was made to PR pkg/47722; it has been noted by GNATS.

From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Dave Tyson <dtyson%anduin.org.uk@localhost>
Subject: Re: pkg/47722: devel/xulrunner DragonFly i386 no matching function for 
call to 'NS_MIN(int64_t&, __gnu_cxx::__enable_if<true, double>::__type)'
Date: Sat, 20 Apr 2013 23:13:28 +0900

 I'm using the patch attached, for 6.1_RC2 (NetBSD/macppc)
 ---
 Makoto Fujiwara, 
 Chiba, Japan, Narita Airport and Disneyland prefecture.
 
 mini-6@makoto 23:11:35/130420(..devel/xulrunner)% cat  \
 patches/patch-xpcom_io_nsMultiplexInputStream.cpp 
 
 $NetBSD$
 
 PR/47722
 
 --- xpcom/io/nsMultiplexInputStream.cpp.orig   2013-04-10 12:03:01.000000000 
+0900
 +++ xpcom/io/nsMultiplexInputStream.cpp        2013-04-16 08:01:29.000000000 
+0900
 @@ -529,7 +529,7 @@ nsMultiplexInputStream::Seek(int32_t aWh
                      rv = stream->Tell(&avail);
                      NS_ENSURE_SUCCESS(rv, rv);
  
 -                    int64_t newPos = streamPos + NS_MIN(avail, 
std::abs(remaining));
 +                    int64_t newPos = streamPos + NS_MIN(avail, 
(int64_t)std::abs(remaining));
  
                      rv = stream->Seek(NS_SEEK_END, -newPos);
                      NS_ENSURE_SUCCESS(rv, rv);
 


Home | Main Index | Thread Index | Old Index