Opened 9 years ago
Last modified 9 years ago
#49617 closed defect
py-matplotlib-1.5.0 does not build under OS X 10.5.8 — at Initial Version
Reported by: | josephsacco | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | py-matplotlib |
Description
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