Bug 193340 - [math/mpfr] Fix for GCC 4.9
Summary: [math/mpfr] Fix for GCC 4.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 11:34 UTC by Olivier - interfaSys sàrl
Modified: 2014-09-09 13:23 UTC (History)
1 user (show)

See Also:


Attachments
patch for vasprintf.c (760 bytes, patch)
2014-09-05 11:34 UTC, Olivier - interfaSys sàrl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 2014-09-05 14:40:07 UTC
over to maintainer
Comment 2 commit-hook freebsd_committer freebsd_triage 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