Opened 13 years ago

Closed 13 years ago

#33528 closed defect (fixed)

irrtoolset - Portfile patch to fix compilation problem

Reported by: fclaire@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: maintainer haspatch Cc:
Port: irrtoolset

Description

irrtoolset fails to compile with clang++. I attach a Portfile patch which forces the use of gcc/g++.

Attachments (1)

Portfile-irrtoolset.diff (1.2 KB) - added by fclaire@… 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: maintainer haspatch added

This is not a proper fix. Please read wiki:PortfileRecipes#compiler for possible recipes. But the best would be to fix irrtoolset to work with clang, if that's possible.

Changed 13 years ago by fclaire@…

Attachment: Portfile-irrtoolset.diff added

comment:2 Changed 13 years ago by fclaire@…

I've updated the patch file, could you please have a look if it's ok now ?

About fixing irrtoolset: the software hasn't been improved since mid 2010 and on the development policies page (http://irrtoolset.isc.org/wiki/DevelopmentPolicies) is written IRRToolSet does not compile on GCC4. The code needs to be updated to support GCC4-style C++.. I don't believe the project is actively supported anymore by developers and I don't have the time and the skills to try to make it compile with clang. Therefore I propose to keep the port compiling with gcc until someone volunteers to fix it.

comment:3 Changed 13 years ago by drkp (Dan Ports)

Owner: changed from macports-tickets@… to dports@…
Status: newassigned

comment:4 Changed 13 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Thanks, committed in r91186. We don't need to bump the revision because the port previously failed to build with clang.

Note: See TracTickets for help on using tickets.