Bug 153701 - x11-toolkits/gigi fails to build
Summary: x11-toolkits/gigi fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-05 12:00 UTC by Sergei Arefiev
Modified: 2011-06-07 14:40 UTC (History)
0 users

See Also:


Attachments
file.diff (629 bytes, patch)
2011-01-05 12:00 UTC, Sergei Arefiev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Arefiev 2011-01-05 12:00:24 UTC
Fails to build with gcc45 and above, there is an error output:

O2 -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I. -Ilibltdl src/adobe/basic_sheet.cpp
g++46 -o src/adobe/eve.os -c -O2 -pipe -I. -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/local/include -I/usr/local/include/freetype2 -I. -Ilibltdl src/adobe/eve.cpp
In file included from src/adobe/eve.cpp:21:0:
./GG/adobe/cmath.hpp:47:2: error: #error "Unknown GCC compiler configuration for cmath (last known version is 4.0.1)."
scons: *** [src/adobe/eve.os] Error 1
scons: building terminated because of errors.
*** Error code 2

Fix: See attachment.

Patch attached with submission follows:
How-To-Repeat: 1. Upgrade GCC to gcc45 or gcc46

2. cd /usr/ports/x11-toolkits/gigi && make clean install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-01-05 12:00:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-07 14:37:29 UTC
oliver      2011-06-07 13:37:19 UTC

  FreeBSD ports repository

  Added files:
    x11-toolkits/gigi/files patch-CG-adobe-cmath.hpp 
  Log:
  fix compilation if gcc 4.5 or 4.6 are installed
  
  PR:             ports/153701
  Submitted by:   Sergei Arefiev <nbspjr@gmail.com>
  
  Revision  Changes    Path
  1.1       +22 -0     ports/x11-toolkits/gigi/files/patch-CG-adobe-cmath.hpp (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Oliver Lehmann freebsd_committer freebsd_triage 2011-06-07 14:37:43 UTC
State Changed
From-To: open->closed

Committed, Thanks!