pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/php-sqlite switch databases/php-sqlite to co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6139e102e074
branches:  trunk
changeset: 395696:6139e102e074
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Fri Jul 10 19:52:08 2009 +0000

description:
switch databases/php-sqlite to compile using bundled module, rather than
pecl; according to description on PECL site, the pecl extension is obsolete
and no longer maintanted, and it doesn't compile with PHP 5.3

diffstat:

 databases/php-sqlite/Makefile         |  10 ++++------
 databases/php-sqlite/patches/patch-aa |  24 ------------------------
 2 files changed, 4 insertions(+), 30 deletions(-)

diffs (49 lines):

diff -r 1e43822d4e6a -r 6139e102e074 databases/php-sqlite/Makefile
--- a/databases/php-sqlite/Makefile     Fri Jul 10 19:49:34 2009 +0000
+++ b/databases/php-sqlite/Makefile     Fri Jul 10 19:52:08 2009 +0000
@@ -1,13 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:11 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2009/07/10 19:52:08 jdolecek Exp $
 
-MODNAME=               SQLite
-PKGMODNAME=            sqlite
-PKGNAME=               ${PHP_PKG_PREFIX}-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
-PECL_VERSION=          1.0.3
+MODNAME=               sqlite
 CATEGORIES+=           databases
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               PHP extension for SQLite 2.x databases
 
+PHP_VERSIONS_ACCEPTED= 5
+
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 CONFLICTS=             php-sqlite-[0-9]*
diff -r 1e43822d4e6a -r 6139e102e074 databases/php-sqlite/patches/patch-aa
--- a/databases/php-sqlite/patches/patch-aa     Fri Jul 10 19:49:34 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2005/09/18 15:22:11 jdolecek Exp $
-
---- sqlite.c.orig      2005-09-18 16:59:55.000000000 +0200
-+++ sqlite.c   2005-09-18 17:01:08.000000000 +0200
-@@ -53,8 +53,6 @@
- extern int sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out);
- extern int sqlite_decode_binary(const unsigned char *in, unsigned char *out);
- 
--static unsigned char arg3_force_ref[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE };
--
- static int le_sqlite_db, le_sqlite_result, le_sqlite_pdb;
- 
- static inline void php_sqlite_strtoupper(char *s)
-@@ -122,8 +120,8 @@
- enum { PHPSQLITE_ASSOC = 1, PHPSQLITE_NUM = 2, PHPSQLITE_BOTH = PHPSQLITE_ASSOC|PHPSQLITE_NUM };
- 
- function_entry sqlite_functions[] = {
--      PHP_FE(sqlite_open, arg3_force_ref)
--      PHP_FE(sqlite_popen, arg3_force_ref)
-+      PHP_FE(sqlite_open, third_arg_force_ref)
-+      PHP_FE(sqlite_popen, third_arg_force_ref)
-       PHP_FE(sqlite_close, NULL)
-       PHP_FE(sqlite_query, NULL)
-       PHP_FE(sqlite_exec, NULL)



Home | Main Index | Thread Index | Old Index