Opened 13 years ago

Closed 12 years ago

#31712 closed defect (fixed)

cairo, cairo-devel: build on Lion for previous SDKs fails

Reported by: spolitov@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc:
Port: cairo, cairo-devel

Description

Cairo port introduces patch when building on Mac OS X Lion. The patch named lion_fonts.diff. The problem appears when cairo is build on Lion but for previous version of SDK (for instance Snow Leopard). This diff introduces the check: MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 But MAC_OS_X_VERSION_10_7 is undefined for these SDKs.

I've attached suggested fix for this issue.

Attachments (1)

lion_fonts.patch (1.6 KB) - added by spolitov@… 13 years ago.
Proposed fix

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by spolitov@…

Attachment: lion_fonts.patch added

Proposed fix

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

Keywords: haspatch added
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo-devel added
Summary: Invalid cairo build on Lion for previous SDKscairo, cairo-devel: build on Lion for previous SDKs fails

Thanks. Yes, trying to build software for a previous OS X version using MacPorts is probably not a well-tested scenario and you're likely to run into plenty of similar problems in other ports.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.