pkgsrc-Bugs archive

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

Re: pkg/54277: firefox 67.0.1 clang(base+pkgsrc): /usr/include/c++/cmath:393:12: error: use of undeclared identifier '__isinf'



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

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/54277: firefox 67.0.1 clang(base+pkgsrc):
 /usr/include/c++/cmath:393:12: error: use of undeclared identifier
 '__isinf'
Date: Thu, 6 Jun 2019 13:57:51 +0200

 I've had this patch in my localpatches for a long time.
 Not a correct fix but works for me.
 
 --- config/make-system-wrappers.py.orig 2019-01-24 18:48:39.000000000 +0000
 +++ config/make-system-wrappers.py
 @@ -6,6 +6,7 @@ import os
  from mozbuild.util import FileAvoidWrite
 
  header_template = '''#pragma GCC system_header
 +#define __isinf(x) __builtin_isinf(x)
  #pragma GCC visibility push(default)
  {includes}
  #pragma GCC visibility pop
 


Home | Main Index | Thread Index | Old Index