Bug 193340

Summary: [math/mpfr] Fix for GCC 4.9
Product: Ports & Packages Reporter: Olivier - interfaSys sàrl <software-freebsd>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: arved
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for vasprintf.c none

Description Olivier - interfaSys sàrl 2014-09-05 11:34:31 UTC
Created attachment 146857 [details]
patch for vasprintf.c

math/mpfr won't compile out of the box when using gcc4.9

In file included from vasprintf.c:45:0:
/usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd9.2/4.9.2/include-fixed/wchar.h:90:9: error: unknown type name '__wchar_t'
 typedef __wchar_t wchar_t;


The included patch fixes it.
Comment 1 Tilman Keskinoz freebsd_committer 2014-09-05 14:40:07 UTC
over to maintainer
Comment 2 commit-hook freebsd_committer 2014-09-09 13:23:48 UTC
A commit references this bug:

Author: ale
Date: Tue Sep  9 13:22:56 UTC 2014
New revision: 367731
URL: http://svnweb.freebsd.org/changeset/ports/367731

Log:
  Fix build with gcc 4.9.

  PR:		193340
  Submitted by:	Olivier <software-freebsd@interfasys.ch>

Changes:
  head/math/mpfr/files/
  head/math/mpfr/files/patch-src_vasprintf.c