Opened 8 years ago

Closed 8 years ago

#49617 closed defect (duplicate)

py-matplotlib-1.5.0 does not build under OS X 10.5.8

Reported by: josephsacco Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-matplotlib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Updates to src/_macosx.m from version 1.4.3 -> 1.5.0 contain the root of the problem. The new version of _macosx.m fails to compile:

src/_macosx.m: In function GraphicsContext_draw_text:
src/_macosx.m:2704: error: kCTForegroundColorFromContextAttributeName undeclared (first use in this function)

There were lots of changes to _macosx.m. There were too many for me to immediately identify the culprit so I replaced the new version of _macosx.m with its predecessor and rolled on. That worked...

I realize that maintaining a code base to be compatible with ancient versions of OS X [and PPCs] is somewhat akin to riding a dead horse. The wisdom of the Plains Indians suggests that when you discover you are riding a dead horse, the best strategy is to dismount. Still, "we" do love a technical challenge...

-Joseph

Change History (1)

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

Description: modified (diff)
Port: py-matplotlib added
Resolution: duplicate
Status: newclosed

Duplicate of #49607.

Note: See TracTickets for help on using tickets.