diff options
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/adodb-ext/ChangeLog | 11 | ||||
-rw-r--r-- | dev-php5/adodb-ext/Manifest | 4 | ||||
-rw-r--r-- | dev-php5/adodb-ext/adodb-ext-504-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-php5/adodb-ext/files/php53.patch | 26 |
4 files changed, 81 insertions, 3 deletions
diff --git a/dev-php5/adodb-ext/ChangeLog b/dev-php5/adodb-ext/ChangeLog index 260b77db16a3..74b8ced82e75 100644 --- a/dev-php5/adodb-ext/ChangeLog +++ b/dev-php5/adodb-ext/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-php5/adodb-ext -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/adodb-ext/ChangeLog,v 1.4 2007/03/08 18:51:15 chtekk Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/adodb-ext/ChangeLog,v 1.5 2010/09/11 12:45:53 mabi Exp $ + +*adodb-ext-504-r1 (11 Sep 2010) + + 11 Sep 2010; Matti Bickel <mabi@gentoo.org> +files/php53.patch, + +adodb-ext-504-r1.ebuild: + add patch to make adodb-ext compatible with php-5.3 (patch taken from + http://github.com/wojo/adodb-ext) *adodb-ext-504 (08 Mar 2007) diff --git a/dev-php5/adodb-ext/Manifest b/dev-php5/adodb-ext/Manifest index 19d797068018..07495c634095 100644 --- a/dev-php5/adodb-ext/Manifest +++ b/dev-php5/adodb-ext/Manifest @@ -1,4 +1,6 @@ +AUX php53.patch 654 RMD160 41433a78218a73c1d690b172b025ede7d8440c9c SHA1 e67a4b1991ef400ee4766fb5a291e00490bcf107 SHA256 c534fe16f2b41882d221461c3e25809f5fff07ee6a9f34010a3357e1cefe5003 DIST adodb-ext-504.zip 46159 RMD160 95b2c4402bb00b269bd4c7e15a7f177d52109cb1 SHA1 38d7c502542cc3dedcae9496ec309ef7e559f8ca SHA256 e067a73cccc5151843e364f9a0da7807ba9c8e411aaea773f53a811cae586b9f +EBUILD adodb-ext-504-r1.ebuild 934 RMD160 9f9d78d13cad5f6431ddd2f3a2af602ba818e51b SHA1 eea2291c7a5bd7bc5d689e753d5b8ccd16d59dd0 SHA256 ec26b55b0c917b135e58e0d61c8bb1d58a172e928a356cc4a476e5b4017a514d EBUILD adodb-ext-504.ebuild 837 RMD160 c690997406f7e77b7c54e3e39d55c3b2f228f193 SHA1 ad9a604e36777315cb06b94828bd97e7289c83a3 SHA256 3a2df50e15327fb8f4a1b969680b23e140c4e54b9f2d547ebdbb8a8a98841f1c -MISC ChangeLog 725 RMD160 8d03446a924d6f5c80a43bb8407e4f518e75db1d SHA1 edbb47ac2f7a6deefffd7c4d6721978e63b8a234 SHA256 de577ac209ccc6bc85c81fcb0b36d63c79aaf7ce0b0065fa5f51d649ce24fce6 +MISC ChangeLog 959 RMD160 19b252a24490b0914151f80d5d0736a3d08ff076 SHA1 e982e7b27b8b2a39dcf4e7331423015868ced4af SHA256 f58cf69e0aab1e945e4b08396eac1163217f8c0e6edc59c7b7ff3fc36c31d1d3 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 diff --git a/dev-php5/adodb-ext/adodb-ext-504-r1.ebuild b/dev-php5/adodb-ext/adodb-ext-504-r1.ebuild new file mode 100644 index 000000000000..567943284c5f --- /dev/null +++ b/dev-php5/adodb-ext/adodb-ext-504-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/adodb-ext/adodb-ext-504-r1.ebuild,v 1.1 2010/09/11 12:45:53 mabi Exp $ + +EAPI="2" + +PHP_EXT_NAME="adodb" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +inherit eutils php-ext-source-r1 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP extension providing up to 100% speedup by replacing parts of ADOdb with C code." +HOMEPAGE="http://adodb.sourceforge.net/" +SRC_URI="http://phplens.com/lens/dl/${P}.zip" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=">=dev-php/adodb-4.70" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}/adodb-${PV}" + +need_php_by_category + +src_prepare() { + edos2unix "${S}/adodb.c" + epatch "${FILESDIR}/php53.patch" +} + +src_install() { + php-ext-source-r1_src_install + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins test-adodb.php + + dodoc-php CREDITS README.txt +} diff --git a/dev-php5/adodb-ext/files/php53.patch b/dev-php5/adodb-ext/files/php53.patch new file mode 100644 index 000000000000..9b51e3001807 --- /dev/null +++ b/dev-php5/adodb-ext/files/php53.patch @@ -0,0 +1,26 @@ +diff --git a/adodb.c b/adodb.c +index 3afc443..6e3bf95 100644 +--- a/adodb.c ++++ b/adodb.c +@@ -159,11 +159,7 @@ static zval adodb_zvals[5]; + + static void adodb_init_zval(zval *v, char *s) + { +- v->type = IS_STRING; +- v->value.str.val = s; +- v->value.str.len = strlen(s); +- v->is_ref = 0; +- v->refcount = 1; ++ ZVAL_STRING(v, s, 0); + } + + /* {{{ PHP_MINIT_FUNCTION +@@ -277,7 +273,7 @@ zval **fields; + fci.function_table = EG(function_table); + fci.function_name = &adodb_zvals[zval_ocifetch]; + fci.symbol_table = NULL; +- fci.object_pp = NULL; ++ /* fci.object_pp = NULL; */ + fci.retval_ptr_ptr = &retval; + fci.param_count = 2; + fci.params = ¶ms[1]; |