Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#31994 closed update (fixed)

pwman: lion - compiler fix

Reported by: mni@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: maintainer haspatch Cc: ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: pwman

Description

pwman cant compile on a clean-install Lion.

Compilers clang and llvm-gcc refuses to build it, due to frequent use of 'casual return' :)

I have looked for compiler options to allow this, but was unable to find any. So I see no other way than to depend on the apple-gcc42 macport.

Attached is the Portfile-patch with this dependency - and it works fine.

Attachments (1)

Portfile.patch (629 bytes) - added by mni@… 13 years ago.
New Portfile.patch :)

Download all attachments as: .zip

Change History (5)

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

Keywords: maintainer haspatch added

We want to use the 3rd block shown in wiki:PortfileRecipes#compiler. We don't want to unconditionally use apple-gcc42 since that's unnecessary on Xcode versions earlier than 4.2.

Changed 13 years ago by mni@…

Attachment: Portfile.patch added

New Portfile.patch :)

comment:2 Changed 13 years ago by mni@…

New Portfile-patch now attached - with the correct compiler-selection statement.

Thanks for letting me know :)

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Committed in r87073. Could you file a bug report about this with the developers of pwman?

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.