[MacPorts] #49617: py-matplotlib-1.5.0 does not build under OS X 10.5.8

MacPorts noreply at macports.org
Fri Nov 6 18:32:38 PST 2015


#49617: py-matplotlib-1.5.0 does not build under OS X 10.5.8
----------------------------+--------------------------------
  Reporter:  drjesacco@…    |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:  duplicate      |   Keywords:
      Port:  py-matplotlib  |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => duplicate
 * port:   => py-matplotlib


Old 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

New 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

--

Comment:

 Duplicate of #49607.

-- 
Ticket URL: <https://trac.macports.org/ticket/49617#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list