Bug 114471 - databases/php5-mysqli does not compile with current mysql-5.1.20
Summary: databases/php5-mysqli does not compile with current mysql-5.1.20
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 12:00 UTC by Jack
Modified: 2007-07-12 12:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2007-07-10 12:00:12 UTC
===>  Building for php5-mysqli-5.2.3
/bin/sh /usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/libtool
--mode=compile cc  -I.
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli -DPHP_ATOM_INC
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/include
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/main
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli
-I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-I/usr/local/include/mysql
-DHAVE_CONFIG_H  -O2 -fno-strict-aliasing -pipe -march=opteron   -c
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c
-o mysqli_api.lo
 cc -I. -I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli
-DPHP_ATOM_INC
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/include
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/main
-I/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli
-I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-I/usr/local/include/mysql
-DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -march=opteron -c
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c
 -fPIC -DPIC -o
.libs/mysqli_api.o
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c:
In function
`zif_mysqli_stmt_bind_param':
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c:144:
error: `gptr' undeclared
(first use in this function)
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c:144:
error: (Each undeclared
identifier is reported only once
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c:144:
error: for each function
it appears in.)
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c:
In function
`zif_mysqli_stmt_execute':
/usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli/mysqli_api.c:603:
error: `gptr' undeclared
(first use in this function)
*** Error code 1

Stop in /usr/ports/databases/php5-mysqli/work/php-5.2.3/ext/mysqli.
*** Error code 1

Stop in /usr/ports/databases/php5-mysqli.

Fix: 

It works with older versions of the mysql51-server / client port.
How-To-Repeat: Upgrade the mysql51-server / client port to 5.1.20 and compile the
php5-mysqli port. It does not
compile.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-07-12 05:23:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-07-12 09:58:55 UTC
ale         2007-07-12 08:58:49 UTC

  FreeBSD ports repository

  Added files:
    databases/php5-mysqli/files patch-mysqli_api.c 
  Log:
  Fix build with mysql 5.1.20.
  
  PR:             ports/114471
  Submitted by:   Jack L. <xxjack12xx@gmail.com>
  
  Revision  Changes    Path
  1.1       +32 -0     ports/databases/php5-mysqli/files/patch-mysqli_api.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2007-07-12 09:59:44 UTC
State Changed
From-To: open->closed

Fixed, thanks!