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: Sun, 21 Apr 2013 09:37:51 +0900
Like Onno said, the attached alternative patch works
for my environment (NetBSD/macppc 6.1_RC2) either.
--- xpcom/string/public/nsAlgorithm.h.orig 2013-04-10 12:03:02.000000000
+0900
+++ xpcom/string/public/nsAlgorithm.h 2013-04-21 00:46:28.000000000 +0900
@@ -42,7 +42,8 @@ NS_MAX( const T& a, const T& b )
return a > b ? a : b;
}
-#if defined(_MSC_VER) && (_MSC_VER < 1600)
+#if (defined(_MSC_VER) && (_MSC_VER < 1600)) || \
+ (defined(_GLIBCXX_USE_LONG_LONG) && (!_GLIBCXX_USE_C99 ||
_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC))
namespace std {
inline
long long
---
mef%NetBSD.org@localhost
Makoto Fujiwara
Home |
Main Index |
Thread Index |
Old Index