[MacPorts] #28090: mtpaint 3.20 fails to build after libpng 1.4.5 update

MacPorts noreply at macports.org
Sat Jan 22 05:59:26 PST 2011


#28090: mtpaint 3.20 fails to build after libpng 1.4.5 update
-------------------------------+--------------------------------------------
 Reporter:  ak.ml@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.9.2                                
 Keywords:  libpng             |        Port:  mtpaint                              
-------------------------------+--------------------------------------------
 {{{
 :info:build ld warning: option -s is obsolete and being ignored
 :info:build Undefined symbols:
 :info:build   "_png_set_gray_1_2_4_to_8", referenced from:
 :info:build       _load_png in png.o
 :info:build       _load_png in png.o
 :info:build ld: symbol(s) not found
 :info:build collect2: ld returned 1 exit status
 :info:build make[1]: *** [mtpaint] Error 1
 :info:build make: *** [src] Error 2
 }}}

 According to the libpng ChangeLog
 [http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt]:
 {{{
 2. m. The function png_set_gray_1_2_4_to_8() was removed. It has been
       deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
       png_set_expand_gray_1_2_4_to_8() because the former function also
       expanded palette images.
 }}}
 I've updated src/png.c where png_set_gray_1_2_4_to_8 is used and it
 compiles fine.

 Ihave a MacIntel with Leopard 10.5.8

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


More information about the macports-tickets mailing list