[MacPorts] #41595: php: SIZEOF_LONG needs to vary based on bitness
#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 Keywords: | Port: php, php5 --------------------------+-------------------------- In ${prefix}/include/${php}/php/main/php_config.h, `#define SIZEOF_LONG` needs to vary based on `__LP64__`; we need an `ed` script here like we use in other ports. -- Ticket URL: <https://trac.macports.org/ticket/41595> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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@…): Or php56-postgresql: {{{ In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php56-postgresql/work/php-5.6.0alpha1/ext/pdo_pgsql/pdo_pgsql.c:39: /opt/local/include/postgresql93/pg_config.h:768:9: warning: 'SIZEOF_LONG' macro redefined #define SIZEOF_LONG 4 ^ /opt/local/include/php56/php/main/../main/php_config.h:2312:9: note: previous definition is here #define SIZEOF_LONG 8 ^ In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_php/php56-postgresql/work/php-5.6.0alpha1/ext/pdo_pgsql/pdo_pgsql.c:39: /opt/local/include/postgresql93/pg_config.h:778:9: warning: 'SIZEOF_SIZE_T' macro redefined #define SIZEOF_SIZE_T 4 ^ /opt/local/include/php56/php/main/../main/php_config.h:2333:9: note: previous definition is here #define SIZEOF_SIZE_T 8 ^ 2 warnings generated. }}} -- Ticket URL: <https://trac.macports.org/ticket/41595#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts