[MacPorts] #41595: php: SIZEOF_LONG needs to vary based on bitness

MacPorts noreply at macports.org
Thu Nov 28 21:50:09 PST 2013


#41595: php: SIZEOF_LONG needs to vary based on bitness
---------------------------+--------------------------
  Reporter:  ryandesign@…  |      Owner:  ryandesign@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  php, php5     |
---------------------------+--------------------------

Comment (by ryandesign@…):

 For example, compiling php53-gd universal for x86_64 i386 produces this
 warning:
 {{{
 In file included from
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php53-gd/work/php-5.3.27/ext/gd/libgd/gdft.c:65:
 In file included from /opt/local/include/freetype2/freetype.h:33:
 /opt/local/include/freetype2/config/ftconfig.h:88:9: warning:
 'SIZEOF_LONG' macro redefined
 #define SIZEOF_LONG 4
         ^
 /opt/local/include/php53/php/main/php_config.h:2278:9: note: previous
 definition is here
 #define SIZEOF_LONG 8
         ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41595#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list