|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-12-03 12:36 UTC] jdolecek at NetBSD dot org
Description: ------------ NetBSD package system pkgsrc maintains several patches, which we'd like to feed upstream. This is one of them. ext/pdo_mysql/config.m4 contains incorrect includes (bare -I, and unnecessary -I$pdo_cv_inc_path) and hence is not buildable separately as extension. Patchespatch-ext_pdo__mysql_config.m4 (last revision 2017-12-03 12:36 UTC by jdolecek at NetBSD dot org)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
NetBSD pkgsrc libtool inserts some more include paths, maybe that's why this doesn't happen there. I've tested patch where just the base -I was removed, that worked too. So the new patch: --- ext/pdo_mysql/config.m4.orig 2015-06-23 17:33:33.000000000 +0000 +++ ext/pdo_mysql/config.m4 @@ -156,7 +156,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then fi dnl fix after renaming to pdo_mysql - PHP_NEW_EXTENSION(pdo_mysql, pdo_mysql.c mysql_driver.c mysql_statement.c, $ext_shared,,-I$pdo_cv_inc_path -I -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) + PHP_NEW_EXTENSION(pdo_mysql, pdo_mysql.c mysql_driver.c mysql_statement.c, $ext_shared,,-I$pdo_cv_inc_path -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) ifdef([PHP_ADD_EXTENSION_DEP], [ PHP_ADD_EXTENSION_DEP(pdo_mysql, pdo) Sorry, can't now change back to open, have the password stored on different computer.