Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160623 Details for
Bug 223891
dev-db/freetds version 0.82
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix pdo_dblib error
pdo_dblib-freetds-compat.patch (text/plain), 1.90 KB, created by
Matthias Sch.
on 2008-07-17 08:16:48 UTC
(
hide
)
Description:
fix pdo_dblib error
Filename:
MIME Type:
Creator:
Matthias Sch.
Created:
2008-07-17 08:16:48 UTC
Size:
1.90 KB
patch
obsolete
>Allow pdo_dblib ext to build with >=freetds-0.82 >Original patch by jklowden at freetds dot org >Modified for pdo_dblib by matthias at dsx ado at >http://bugs.php.net/bug.php?id=44991 > >diff -r 57e37b68a255 ext/mssql/config.m4 >--- a/ext/pdo_dblib/config.m4 2008-07-17 10:03:58.000000000 +0200 >+++ b/ext/pdo_dblib/config.m4 2008-07-17 10:06:51.000000000 +0200 >@@ -13,11 +13,11 @@ > if test "$PHP_PDO_DBLIB" = "yes"; then > > for i in /usr/local /usr; do >- if test -f $i/include/tds.h; then >+ if test -f $i/include/sybdb.h; then > PDO_FREETDS_INSTALLATION_DIR=$i > PDO_FREETDS_INCLUDE_DIR=$i/include > break >- elif test -f $i/include/freetds/tds.h; then >+ elif test -f $i/include/freetds/sybdb.h; then > PDO_FREETDS_INSTALLATION_DIR=$i > PDO_FREETDS_INCLUDE_DIR=$i/include/freetds > break; >@@ -30,10 +30,10 @@ > > elif test "$PHP_PDO_DBLIB" != "no"; then > >- if test -f $PHP_PDO_DBLIB/include/tds.h; then >+ if test -f $PHP_PDO_DBLIB/include/sybdb.h; then > PDO_FREETDS_INSTALLATION_DIR=$PHP_PDO_DBLIB > PDO_FREETDS_INCLUDE_DIR=$PHP_PDO_DBLIB/include >- elif test -f $PHP_PDO_DBLIB/include/freetds/tds.h; then >+ elif test -f $PHP_PDO_DBLIB/include/freetds/sybdb.h; then > PDO_FREETDS_INSTALLATION_DIR=$PHP_PDO_DBLIB > PDO_FREETDS_INCLUDE_DIR=$PHP_PDO_DBLIB/include/freetds > else >@@ -45,8 +45,8 @@ > PHP_LIBDIR=lib > fi > >- if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.so"; then >- AC_MSG_ERROR(Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.[a|so]) >+ if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.so"; then >+ AC_MSG_ERROR(Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libsybdb.[a|so]) > fi > > PHP_ADD_INCLUDE($PDO_FREETDS_INCLUDE_DIR)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 223891
: 160623