pkgsrc-Bugs archive

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

Re: pkg/47354: pkgsrc/www/webkit-gtk : invalid conversion from 'signed char*' to 'int8_t* {aka char*}'



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

From: Richard PALO <richard.palo%baou.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47354: pkgsrc/www/webkit-gtk : invalid conversion from 'signed
 char*' to 'int8_t* {aka char*}'
Date: Wed, 02 Jan 2013 13:49:41 +0100

 I believe I've found more directly the culprit thanks to the info in 
 this bug report (https://trac.webkit.org/changeset/82254)
 
 This patch is effective for the whole solaris platform but is 
 inappropriate when using GCC (at least 4.7.x) on solaris.
 
 It's seemingly intended to be directed at SolarisStudio (aka SunStudio).
 
 I'm now rebuilding with the only following corrective patch to 
 MathExtras.h, already past the first few previous patches...
 
 richard@smicro:~/src/pkgsrc/www/webkit-gtk/patches$ cat 
 patch-Source_WTF_wtf_MathExtras.h
 $NetBSD$
 
 --- Source/WTF/wtf/MathExtras.h.orig   2012-11-23 20:12:16.000000000 +0000
 +++ Source/WTF/wtf/MathExtras.h
 @@ -288,7 +288,7 @@ inline bool isWithinIntRange(float x)
       return x > static_cast<float>(std::numeric_limits<int>::min()) && 
 x < static_cast<float>(std::numeric_limits<int>::max());
   }
 
 -#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(SOLARIS)
 +#if !COMPILER(MSVC) && !COMPILER(RVCT) && !(OS(SOLARIS) && 
 defined(__SUNPRO_CC))
   using std::isfinite;
   #if !COMPILER_QUIRK(GCC11_GLOBAL_ISINF_ISNAN)
   using std::isinf;
 
 


Home | Main Index | Thread Index | Old Index