[MacPorts] #50405: MacVim on Lion failing with: error: use of undeclared identifier 'kCTFontOrient ationDefault'

MacPorts noreply at macports.org
Fri Jan 22 10:17:33 PST 2016


#50405: MacVim on Lion failing with: error: use of undeclared identifier
'kCTFontOrient ationDefault'
--------------------+----------------------
 Reporter:  ram@…   |      Owner:  raimue@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:  MacVim
--------------------+----------------------
 I'm trying to build MacVim on an old Lion VM and I'm running into the
 following build error:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_editors_MacVim/MacVim/work/macvim-90/src/MacVim/MMCoreTextView.m:1135:38:
 error: use of undeclared identifier 'kCTFontOrientationDefault'; did you
 mean 'kCTFontOptionsDefault'?
 :info:build     CTFontGetAdvancesForGlyphs(font,
 kCTFontOrientationDefault, refG
 lyphs,
 :info:build                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build                                      kCTFontOptionsDefault
 :info:build
 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CTFont.h:203:5:
 note: 'kCTFontOptionsDefault' declared here
 :info:build     kCTFontOptionsDefault               = 0,
 :info:build     ^
 :info:build 1 error generated.
 :info:build
 :info:build
 :info:build ** BUILD FAILED **
 :info:build
 :info:build
 :info:build The following build commands failed:
 :info:build     CompileC build/MacVim.build/Release/MacVim.build/Objects-
 normal/i386/MMCoreTextView.o MMCoreTextView.m normal i386 objective-c
 com.apple.compilers.llvm.clang.1_0.compiler
 }}}

 Full build log is attached.

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


More information about the macports-tickets mailing list