pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46145: cairo doesn't build on Mac OSX 10.7 (Lion)
>Number: 46145
>Category: pkg
>Synopsis: cairo doesn't build on Mac OSX 10.7 (Lion)
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 05 21:10:10 +0000 2012
>Originator: jonathan buschmann
>Release:
>Organization:
>Environment:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.3
BuildVersion: 11D50
$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.45) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
>Description:
cairo doesn't build I get the error :
....
cairo-quartz-font.c:801:26: error: implicit declaration of function
'FMGetATSFontRefFromFont' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
ATSFontRef atsFont = FMGetATSFontRefFromFont (font_id);
^
cairo-quartz-font.c:802:24: warning: 'CGFontCreateWithPlatformFont' is
deprecated [-Wdeprecated-declarations]
CGFontRef cgFont = CGFontCreateWithPlatformFont (&atsFont);
^
13 warnings and 1 error generated.
*** Error code 1
>How-To-Repeat:
Build cairo on OSX 10.7
>Fix:
See for a working patch here :
https://trac.macports.org/browser/trunk/dports/graphics/cairo/files/lion_fonts.diff
I tested it by adding a file patch-ad, followed by bmake makepatchsum ; bmake
clean install
Home |
Main Index |
Thread Index |
Old Index