diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2009-07-10 19:52:08 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2009-07-10 19:52:08 +0000 |
commit | c5230024e2f06b535b94290c11b11417d14ad8eb (patch) | |
tree | ff82d7eb93b52b9778f58320e0bc7c157429d14c /databases/php-sqlite | |
parent | 27d7ea27b8c35343f4d915407bc37e5d10ef96e1 (diff) | |
download | pkgsrc-c5230024e2f06b535b94290c11b11417d14ad8eb.tar.gz |
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 (limited to 'databases/php-sqlite')
-rw-r--r-- | databases/php-sqlite/Makefile | 10 | ||||
-rw-r--r-- | databases/php-sqlite/patches/patch-aa | 24 |
2 files changed, 4 insertions, 30 deletions
diff --git a/databases/php-sqlite/Makefile b/databases/php-sqlite/Makefile index 0b48ea95e32..2f170747319 100644 --- a/databases/php-sqlite/Makefile +++ b/databases/php-sqlite/Makefile @@ -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 COMMENT= PHP extension for SQLite 2.x databases +PHP_VERSIONS_ACCEPTED= 5 + PKG_DESTDIR_SUPPORT= user-destdir CONFLICTS= php-sqlite-[0-9]* diff --git a/databases/php-sqlite/patches/patch-aa b/databases/php-sqlite/patches/patch-aa deleted file mode 100644 index 7abe961761a..00000000000 --- a/databases/php-sqlite/patches/patch-aa +++ /dev/null @@ -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) |