[MacPorts] #30737: octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope

MacPorts noreply at macports.org
Mon Jul 30 09:30:37 PDT 2012


#30737: octave-devel: error: 'CGDisplayBitsPerPixel' was not declared in this scope
---------------------------+------------------------------------------------
  Reporter:  liamg@…       |       Owner:  michaelld@…           
      Type:  defect        |      Status:  reopened              
  Priority:  Normal        |   Milestone:                        
 Component:  ports         |     Version:  2.0.1                 
Resolution:                |    Keywords:  lion                  
      Port:  octave-devel  |  
---------------------------+------------------------------------------------

Comment(by bpabbott@…):

 Octave's sources have recently been
 [http://hg.savannah.gnu.org/hgweb/octave/rev/0eb1b1eb2c76 patched] with
 the intent of fixing this.

 Regarding "the same error", are you seeing;

 {{{
 :info:build display.cc:73:46: error: 'CGDisplayBitsPerPixel' was not
 declared in this scope
 }}}

 If so the fix should be simple.  The portfile for octave-devel has the
 lines below.  A similar block can be added for 10.8 (darwin 12).

 {{{
 95    platform darwin 11 {
 96          # 10.7 requires an extra patch; this patch will break the
 build on
 97          # 10.6 and prior, so apply it only under 10.7.
 98          patchfiles-append patch-src-display.cc.diff
 99      }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/30737#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list