diff options
author | Greg Larkin <glarkin@FreeBSD.org> | 2010-04-12 20:30:49 +0000 |
---|---|---|
committer | Greg Larkin <glarkin@FreeBSD.org> | 2010-04-12 20:30:49 +0000 |
commit | b8beeda7b6133f0e1a7519a1c6ad225c79cae20e (patch) | |
tree | 470d701250e45aa6ecb15441f36dcfee82f983b8 /databases/php-sqlite3 | |
parent | 0743fcc8051949e1ca08854235385d624e8f731c (diff) | |
download | ports-b8beeda7b6133f0e1a7519a1c6ad225c79cae20e.tar.gz ports-b8beeda7b6133f0e1a7519a1c6ad225c79cae20e.zip |
Notes
Diffstat (limited to 'databases/php-sqlite3')
-rw-r--r-- | databases/php-sqlite3/Makefile | 7 | ||||
-rw-r--r-- | databases/php-sqlite3/distinfo | 6 | ||||
-rw-r--r-- | databases/php-sqlite3/files/patch-php_sqlite3.c | 20 |
3 files changed, 25 insertions, 8 deletions
diff --git a/databases/php-sqlite3/Makefile b/databases/php-sqlite3/Makefile index ce830ea5dcf4..fc4cf56e3758 100644 --- a/databases/php-sqlite3/Makefile +++ b/databases/php-sqlite3/Makefile @@ -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 diff --git a/databases/php-sqlite3/distinfo b/databases/php-sqlite3/distinfo index 0299b43c5176..f17e75bd1b3c 100644 --- a/databases/php-sqlite3/distinfo +++ b/databases/php-sqlite3/distinfo @@ -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 diff --git a/databases/php-sqlite3/files/patch-php_sqlite3.c b/databases/php-sqlite3/files/patch-php_sqlite3.c new file mode 100644 index 000000000000..27fe4376ca54 --- /dev/null +++ b/databases/php-sqlite3/files/patch-php_sqlite3.c @@ -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; |