[MacPorts] #22083: htp-1.16 Configure error - build failure

MacPorts noreply at macports.org
Thu Oct 15 02:53:54 PDT 2009


#22083: htp-1.16 Configure error - build failure
------------------------------------+---------------------------------------
 Reporter:  basile.clout@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.1                                
 Keywords:  htp                     |        Port:  htp                                  
------------------------------------+---------------------------------------
 On Snow Leopard and gcc 4.2 (the default), compilation fails with
 {{{
 snprintf.c: In function 'vasprintf':
 snprintf.c:856: error: incompatible types in assignment
 snprintf.c:864: error: incompatible types in assignment
 make[1]: *** [snprintf.o] Error 1
 }}}

 The error does not appear with gcc-4.0

 Attached is a patch that adds -DHAVE_VA_COPY to the Makefile.conf DEFINES.

 Cheers

 Basile

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


More information about the macports-tickets mailing list