mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
- Unbreak after recent PHP 5.3.2 update
- Upgrade to 0.5 - Adopt the port
This commit is contained in:
parent
0743fcc805
commit
b8beeda7b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252608
@ -6,20 +6,17 @@
|
||||
#
|
||||
|
||||
PORTNAME= sqlite3
|
||||
PORTVERSION= 0.4
|
||||
PORTVERSION= 0.5
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= SF/php-${PORTNAME}/source%20code/release%20${PORTVERSION}
|
||||
PKGNAMEPREFIX= php-
|
||||
EXTRACT_SUFX= .tgz
|
||||
#DISTFILES= sqlite3-0.4.tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= glarkin@FreeBSD.org
|
||||
COMMENT= A port for the PHP sqlite3 extension
|
||||
|
||||
BUILD_DEPENDS= sqlite3>=3.0:${PORTSDIR}/databases/sqlite3
|
||||
|
||||
BROKEN= does not build with php 5.3
|
||||
|
||||
CONFIGURE_ARGS= --with-sqlite3=${LOCALBASE}
|
||||
USE_PHP= yes
|
||||
USE_PHPIZE= yes
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (sqlite3-0.4.tgz) = fc15ace3f5fd0aac0186745d6cff8a70
|
||||
SHA256 (sqlite3-0.4.tgz) = e5a14bc18d29aff39e8b831f30aa28384ca60f0df3edae9ce3173dc69c27ab8d
|
||||
SIZE (sqlite3-0.4.tgz) = 14005
|
||||
MD5 (sqlite3-0.5.tgz) = bf3db9ee02088f77cedda99f6916dd07
|
||||
SHA256 (sqlite3-0.5.tgz) = 3b733ac9212f0484777857df33a9a22d1fcd2dcbc447f5ac38b57f26ea065707
|
||||
SIZE (sqlite3-0.5.tgz) = 14106
|
||||
|
20
databases/php-sqlite3/files/patch-php_sqlite3.c
Normal file
20
databases/php-sqlite3/files/patch-php_sqlite3.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- ./php_sqlite3.c.orig 2010-04-12 14:26:36.000000000 -0400
|
||||
+++ ./php_sqlite3.c 2010-04-12 14:27:02.000000000 -0400
|
||||
@@ -471,7 +471,7 @@
|
||||
* duplicate it (SQLITE_STATIC flag).
|
||||
*/
|
||||
|
||||
- z_val->refcount++;
|
||||
+ Z_ADDREF_P(z_val);
|
||||
|
||||
if (sqlite3_bind_text(stmt->stmt, idx, Z_STRVAL_P(z_val), Z_STRLEN_P(z_val), SQLITE_STATIC) != SQLITE_OK)
|
||||
RETURN_FALSE;
|
||||
@@ -504,7 +504,7 @@
|
||||
* duplicate it (SQLITE_STATIC flag).
|
||||
*/
|
||||
|
||||
- z_val->refcount++;
|
||||
+ Z_ADDREF_P(z_val);
|
||||
|
||||
if (sqlite3_bind_blob(stmt->stmt, idx, Z_STRVAL_P(z_val), Z_STRLEN_P(z_val), SQLITE_STATIC) != SQLITE_OK)
|
||||
RETURN_FALSE;
|
Loading…
Reference in New Issue
Block a user