diff options
| author | Brian Evans <grknight@gentoo.org> | 2019-12-06 12:26:42 -0500 |
|---|---|---|
| committer | Brian Evans <grknight@gentoo.org> | 2019-12-06 12:27:10 -0500 |
| commit | 52e20370c0d974fb1452c29d755b738b6a8b0523 (patch) | |
| tree | 20c95ef9449828ef980e96e84d875732f015f15d /dev-lang/php/files/php-iodbc-header-location.patch | |
| parent | 630f6f5ed9e3d1b80d0947a3a751578a862d6449 (diff) | |
| download | gentoo-52e20370c0d974fb1452c29d755b738b6a8b0523.tar.gz gentoo-52e20370c0d974fb1452c29d755b738b6a8b0523.tar.bz2 gentoo-52e20370c0d974fb1452c29d755b738b6a8b0523.zip | |
dev-lang/php: Fix locating iODBC for use with PDO
Closes: https://bugs.gentoo.org/702106
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-lang/php/files/php-iodbc-header-location.patch')
| -rw-r--r-- | dev-lang/php/files/php-iodbc-header-location.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-lang/php/files/php-iodbc-header-location.patch b/dev-lang/php/files/php-iodbc-header-location.patch new file mode 100644 index 000000000000..e34f09b6ec81 --- /dev/null +++ b/dev-lang/php/files/php-iodbc-header-location.patch @@ -0,0 +1,14 @@ +diff -aurN a/ext/pdo_odbc/config.m4 b/ext/pdo_odbc/config.m4 +--- a/ext/pdo_odbc/config.m4 2019-11-26 15:13:39.000000000 -0500 ++++ b/ext/pdo_odbc/config.m4 2019-12-06 10:39:56.296658492 -0500 +@@ -85,6 +85,10 @@ + PDO_ODBC_LIBDIR="$pdo_odbc_def_libdir" + fi + ++ if test "$pdo_odbc_def_lib" = "iodbc" ; then ++ PDO_ODBC_INCDIR="$PDO_ODBC_INCDIR/iodbc" ++ fi ++ + AC_MSG_RESULT([$pdo_odbc_flavour + libs $PDO_ODBC_LIBDIR, + headers $PDO_ODBC_INCDIR]) |
