[MacPorts] #28183: pngmeta: error: 'png_IDAT' undeclared

MacPorts noreply at macports.org
Fri Jan 28 05:53:55 PST 2011


#28183: pngmeta: error: 'png_IDAT' undeclared
----------------------------------+-----------------------------------------
  Reporter:  vinc17@…             |       Owner:  macports-tickets@…                   
      Type:  defect               |      Status:  closed                               
  Priority:  Normal               |   Milestone:                                       
 Component:  ports                |     Version:  1.9.2                                
Resolution:  fixed                |    Keywords:  png                                  
      Port:  pngmeta              |  
----------------------------------+-----------------------------------------

Comment(by vinc17@…):

 For the png_IDAT problem, libpng 1.4 no longer has it (see 1.4.0beta79 in
 /opt/local/share/doc/libpng-1.4.5/CHANGES and the source). And in libpng
 1.2.44, png_IDAT was defined only if PNG_USE_GLOBAL_ARRAYS was defined:
 {{{
 #ifdef PNG_USE_GLOBAL_ARRAYS
 PNG_EXPORT_VAR (png_byte FARDATA) png_IHDR[5];
 PNG_EXPORT_VAR (png_byte FARDATA) png_IDAT[5];
 [...]
 }}}
 What's strange is that, still according to
 /opt/local/share/doc/libpng-1.4.5/CHANGES, the other changes related to
 these arrays seem to have been done only in 1.0.5c and 1.0.5d.

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


More information about the macports-tickets mailing list