Opened 7 years ago

Closed 7 years ago

#41760 closed defect (fixed)

gle-graphics build fails with C++ namespace errors

Reported by: hal.dace@… Owned by: jdswinbank (John Swinbank)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc: ryandesign (Ryan Schmidt)
Port: gle-graphics

Description (last modified by ryandesign (Ryan Schmidt))

Building gle-graphics on Mavericks, ports version 2.2.1, port tree updated as of today (2013-12-11) fails with the following C++ errors:

:info:build In file included from gcontour.cpp:43:
:info:build In file included from ./../all.h:73:
:info:build In file included from ./../glepro.h:42:
:info:build In file included from ./../tokens/Tokenizer.h:51:
:info:build ./../tokens/StringKeyHash.h:79:18: error: expected namespace name
:info:build         using namespace __gnu_cxx;  // using gnu extensions such as "hash"

and several similar.

Full main.log attached.

Attachments (3)

main.log (91.8 KB) - added by hal.dace@… 7 years ago.
Portfile-gie-graphics.diff (887 bytes) - added by john@… 7 years ago.
patch-hash-map.diff (580 bytes) - added by john@… 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by hal.dace@…

Attachment: main.log added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to swinbank@…
Summary: gle-grapyics build fails with C++ namespace errorsgle-graphics build fails with C++ namespace errors

Changed 7 years ago by john@…

Attachment: Portfile-gie-graphics.diff added

Changed 7 years ago by john@…

Attachment: patch-hash-map.diff added

comment:2 Changed 7 years ago by john@…

I've just attached a patch + updated portfile which should fix this and also updates my (port maintainer) e-mail address.

Last edited 7 years ago by john@… (previous) (diff)

comment:3 Changed 7 years ago by john@…

Worth adding that this fix is tested and working on Mavericks. I don't have an older system to test on.

comment:4 Changed 7 years ago by ryandesign (Ryan Schmidt)

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

Updated your maintainer email address in gle-graphics and wcslib in r115015.

Testing on other OS versions is good. I tested on Leopard i386 and it built fine, before and after the patch. So I committed this in r115016.

I guessed that this does not change anything for earlier OS versions so I didn't increase the revision.

Note: See TracTickets for help on using tickets.