diff options
author | 2005-09-06 07:46:04 +0000 | |
---|---|---|
committer | 2005-09-06 07:46:04 +0000 | |
commit | 2b0e191976e2e5a9997617583711d874deceb71f (patch) | |
tree | 47aea8ce99a376e30bccbfa877d239498999073a /dev-php5 | |
parent | Removed corrupted patch file (diff) | |
download | historical-2b0e191976e2e5a9997617583711d874deceb71f.tar.gz historical-2b0e191976e2e5a9997617583711d874deceb71f.tar.bz2 historical-2b0e191976e2e5a9997617583711d874deceb71f.zip |
Replaced corrupted patch file
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/pecl-mailparse/ChangeLog | 6 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/Manifest | 2 | ||||
-rw-r--r-- | dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff | 58 | ||||
-rw-r--r-- | dev-php5/pecl-pdflib/ChangeLog | 5 | ||||
-rw-r--r-- | dev-php5/pecl-pdflib/Manifest | 2 | ||||
-rw-r--r-- | dev-php5/pecl-pdflib/files/ifgd-patch.diff | 209 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-sqlite/ChangeLog | 5 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-sqlite/Manifest | 2 | ||||
-rw-r--r-- | dev-php5/pecl-pdo-sqlite/files/config.m4.diff | 32 | ||||
-rw-r--r-- | dev-php5/pecl-pdo/ChangeLog | 5 | ||||
-rw-r--r-- | dev-php5/pecl-pdo/Manifest | 2 | ||||
-rw-r--r-- | dev-php5/pecl-pdo/files/pdo_stmt.c.diff | 34 |
12 files changed, 354 insertions, 8 deletions
diff --git a/dev-php5/pecl-mailparse/ChangeLog b/dev-php5/pecl-mailparse/ChangeLog index 99086a1940a6..6f9445c8306b 100644 --- a/dev-php5/pecl-mailparse/ChangeLog +++ b/dev-php5/pecl-mailparse/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-php5/pecl-mailparse # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mailparse/ChangeLog,v 1.1 2005/09/04 16:29:32 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-mailparse/ChangeLog,v 1.2 2005/09/06 07:39:23 stuart Exp $ + + 06 Sep 2005; Stuart Herbert <stuart@gentoo.org> + +files/cvs-mailparse.c-fix.diff: + Replaced corrupted patch file 18 Aug 2005; <stuart@gentoo.org> ChangeLog: Initial version; replaces older dev-php/* packages diff --git a/dev-php5/pecl-mailparse/Manifest b/dev-php5/pecl-mailparse/Manifest index 3a8ddff7a6c5..5be1c4a95c8b 100644 --- a/dev-php5/pecl-mailparse/Manifest +++ b/dev-php5/pecl-mailparse/Manifest @@ -2,4 +2,4 @@ MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 MD5 3bf5d3e4485a2099afae81b611a5367b ChangeLog 319 MD5 0e5f583b32b424794e25a51d5b436b63 pecl-mailparse-2.1.1.ebuild 706 MD5 0e0417ccc35d51d676d71b0cf958ec46 files/digest-pecl-mailparse-2.1.1 63 -MD5 2839d3c18e872372c16a08cbf817c311 files/cvs-mailparse.c-fix.diff 1942 +MD5 35dd19f4a7b42bb6210dc30fc9897d63 files/cvs-mailparse.c-fix.diff 1914 diff --git a/dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff b/dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff new file mode 100644 index 000000000000..349853a29902 --- /dev/null +++ b/dev-php5/pecl-mailparse/files/cvs-mailparse.c-fix.diff @@ -0,0 +1,58 @@ +--- mailparse.c 2005-02-28 07:21:45.000000000 +0100 ++++ mailparse.c 2005-08-28 13:38:08.000000000 +0200 +@@ -15,7 +15,7 @@ + | Author: Wez Furlong <wez@thebrainroom.com> | + +----------------------------------------------------------------------+ + */ +-/* $Id: mailparse.c,v 1.48 2005/02/28 05:51:40 wez Exp $ */ ++/* $Id: mailparse.c,v 1.49 2005/05/12 13:02:41 wez Exp $ */ + + #ifdef HAVE_CONFIG_H + #include "config.h" +@@ -70,7 +70,7 @@ + {NULL, NULL, NULL} + }; + +-static zend_class_entry mimemsg_class_entry; ++static zend_class_entry *mimemsg_class_entry; + + function_entry mailparse_functions[] = { + PHP_FE(mailparse_msg_parse_file, NULL) +@@ -138,6 +138,8 @@ + + PHP_MINIT_FUNCTION(mailparse) + { ++ zend_class_entry mmce; ++ + #ifdef ZTS + zend_mailparse_globals *mailparse_globals; + +@@ -145,8 +147,8 @@ + mailparse_globals = ts_resource(mailparse_globals_id); + #endif + +- INIT_CLASS_ENTRY(mimemsg_class_entry, "mimemessage", mimemessage_methods); +- zend_register_internal_class(&mimemsg_class_entry TSRMLS_CC); ++ INIT_CLASS_ENTRY(mmce, "mimemessage", mimemessage_methods); ++ mimemsg_class_entry = zend_register_internal_class(&mmce TSRMLS_CC); + + + le_mime_part = zend_register_list_destructors_ex(mimepart_dtor, NULL, mailparse_msg_name, module_number); +@@ -211,7 +213,7 @@ + MAKE_STD_ZVAL(zpart); + php_mimepart_to_zval(zpart, part); + +- object_init_ex(object, &mimemsg_class_entry); ++ object_init_ex(object, mimemsg_class_entry); + PZVAL_IS_REF(object) = 1; + ZVAL_REFCOUNT(object) = 1; + +@@ -654,7 +656,7 @@ + php_info_print_table_start(); + php_info_print_table_header(2, "mailparse support", "enabled"); + php_info_print_table_row(2, "Extension Version", mailparse_module_entry.version); +- php_info_print_table_row(2, "Revision", "$Revision: 1.48 $"); ++ php_info_print_table_row(2, "Revision", "$Revision: 1.49 $"); + php_info_print_table_end(); + + DISPLAY_INI_ENTRIES(); diff --git a/dev-php5/pecl-pdflib/ChangeLog b/dev-php5/pecl-pdflib/ChangeLog index a99df8f01476..0929e62169f2 100644 --- a/dev-php5/pecl-pdflib/ChangeLog +++ b/dev-php5/pecl-pdflib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-php5/pecl-pdflib # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdflib/ChangeLog,v 1.1 2005/09/04 16:31:34 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdflib/ChangeLog,v 1.2 2005/09/06 07:41:37 stuart Exp $ + + 06 Sep 2005; Stuart Herbert <stuart@gentoo.org> +files/ifgd-patch.diff: + Replaced corrupted patch file 18 Aug 2005; <stuart@gentoo.org> ChangeLog: Initial version; replaces older dev-php/* packages diff --git a/dev-php5/pecl-pdflib/Manifest b/dev-php5/pecl-pdflib/Manifest index cdf704b461fb..7faa1c944b2f 100644 --- a/dev-php5/pecl-pdflib/Manifest +++ b/dev-php5/pecl-pdflib/Manifest @@ -2,4 +2,4 @@ MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 MD5 139b2018482e17bb2300bd728b49cabc ChangeLog 313 MD5 d0359a6bba3de589b12ddbf77ee1cdcf pecl-pdflib-2.0.4-r1.ebuild 638 MD5 1ffaf58e4d052d47b48b8490ca92efaf files/digest-pecl-pdflib-2.0.4-r1 60 -MD5 9d45d39010dcbd7504fcba35273cadde files/ifgd-patch.diff 5891 +MD5 f1d1195704d3132b7878446eba109903 files/ifgd-patch.diff 5798 diff --git a/dev-php5/pecl-pdflib/files/ifgd-patch.diff b/dev-php5/pecl-pdflib/files/ifgd-patch.diff new file mode 100644 index 000000000000..824bbd2298d0 --- /dev/null +++ b/dev-php5/pecl-pdflib/files/ifgd-patch.diff @@ -0,0 +1,209 @@ +--- pdf.c 2005-08-02 17:43:36.000000000 +0200 ++++ pdf.c 2005-08-02 17:45:33.000000000 +0200 +@@ -17,12 +17,12 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: pdf.c,v 1.143 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: pdf.c,v 1.144 2005/03/08 12:02:19 rjs Exp $ */ + + /* {{{ Comments about the module */ + + /* derived from: +- $Id: pdf.c,v 1.143 2004/11/30 11:42:13 rjs Exp $ ++ $Id: pdf.c,v 1.144 2005/03/08 12:02:19 rjs Exp $ + synced with pdflib.h 1.237 */ + + /* PDFlib 2.02 ... 4.0.x is subject to the ALADDIN FREE PUBLIC LICENSE. +@@ -63,8 +63,12 @@ + + /* Bootstrap of PDFlib Feature setup */ + #define PDF_FEATURE_INTERNAL ++#define PDFLIB_PECL_VERSIONSTRING "2.0.4-r1" + +-#define PDFLIB_PECL_VERSIONSTRING "2.0.3" ++/* set this define if you want to include GD support ++ * this adds the (unofficial) function pdf_open_memory_image() ++#define PDFLIB_WITH_GD_SUPPORT ++*/ + + /* }}} */ + +@@ -87,6 +91,7 @@ + # include "Zend/zend_exceptions.h" + #endif /* PHP_MAJOR_VERSION >= 5 */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + # include "ext/gd/php_gd.h" + # if HAVE_GD_BUNDLED +@@ -96,6 +101,7 @@ + # endif /* HAVE_GD_BUNDLED */ + static int le_gd; + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #ifdef HAVE_UNISTD_H + # include <unistd.h> +@@ -299,10 +305,12 @@ + + /* End of the official PDFLIB API */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* not supported by PDFlib GmbH */ + PHP_FE(pdf_open_memory_image, NULL) + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + {NULL, NULL, NULL} + }; +@@ -491,10 +499,12 @@ + + /* End of the official PDFLIB API */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* not supported by PDFlib GmbH */ + /* PHP_ME_MAPPING(open_memory_image, pdf_open_memory_image, NULL) */ + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + {NULL, NULL, NULL} + }; +@@ -768,7 +778,7 @@ + php_info_print_table_row(2, "PDF Support", "enabled" ); + php_info_print_table_row(2, "PDFlib GmbH Version", PDFLIB_VERSIONSTRING ); + php_info_print_table_row(2, "PECL Version", PDFLIB_PECL_VERSIONSTRING); +- php_info_print_table_row(2, "Revision", "$Revision: 1.143 $" ); ++ php_info_print_table_row(2, "Revision", "$Revision: 1.144 $" ); + php_info_print_table_end(); + + } +@@ -7197,6 +7207,7 @@ + + + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* {{{ proto int pdf_open_memory_image(resource p, int image) + Takes an GD image and returns an image for placement in a PDF document */ +@@ -7276,6 +7287,7 @@ + } + /* }}} */ + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #else /* PDFLIB_MAJORVERSION < 5 */ + /* use the old wrapper for PDFlib 4 and earlier */ +--- pdf4.c 2005-08-02 17:43:43.000000000 +0200 ++++ pdf4.c 2005-08-02 17:47:52.000000000 +0200 +@@ -17,7 +17,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: pdf4.c,v 1.2 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: pdf4.c,v 1.4 2005/07/08 06:22:03 steinm Exp $ */ + + /* pdflib 2.02 ... 3.0x is subject to the ALADDIN FREE PUBLIC LICENSE. + Copyright (C) 1997-1999 Thomas Merz. 2000-2001 PDFlib GmbH */ +@@ -40,6 +40,7 @@ + #include "ext/standard/file.h" + #include "php_streams.h" + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + #include "ext/gd/php_gd.h" + #if HAVE_GD_BUNDLED +@@ -49,6 +50,7 @@ + #endif + static int le_gd; + #endif ++#endif / * PDFLIB_WITH_GD_SUPPORT * / + + #ifdef HAVE_UNISTD_H + # include <unistd.h> +@@ -187,9 +189,11 @@ + + /* some more stuff for compatibility */ + PHP_FE(pdf_add_annotation, NULL) ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + PHP_FE(pdf_open_memory_image, NULL) + #endif ++#endif + /* depreciatet after V4.0 of PDFlib */ + PHP_FE(pdf_setgray_fill, NULL) + PHP_FE(pdf_setgray_stroke, NULL) +@@ -334,7 +338,7 @@ + #else + php_info_print_table_row(2, "PDFlib GmbH Version", tmp ); + #endif +- php_info_print_table_row(2, "Revision", "$Revision: 1.2 $" ); ++ php_info_print_table_row(2, "Revision", "$Revision: 1.4 $" ); + php_info_print_table_end(); + + } +@@ -1949,6 +1953,7 @@ + } + /* }}} */ + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* {{{ proto int pdf_open_memory_image(int pdf, int image) + Takes an GD image and returns an image for placement in a PDF document */ +@@ -2015,6 +2020,7 @@ + } + /* }}} */ + #endif /* HAVE_LIBGD13 */ ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + /* {{{ proto void pdf_close_image(int pdf, int pdfimage) + Closes the PDF image */ +--- php_pdf.h 2005-08-02 17:44:20.000000000 +0200 ++++ php_pdf.h 2005-08-02 17:49:15.000000000 +0200 +@@ -16,7 +16,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: php_pdf.h,v 1.30 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: php_pdf.h,v 1.31 2005/03/08 12:02:19 rjs Exp $ */ + /* Derived from: + Id: php_pdf.h,v 1.22 2001/11/30 04:46:35 sniper Exp */ + +@@ -201,10 +201,12 @@ + #endif /* PDFlib >= 6.0.0 */ + + ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + /* not supported by PDFlib GmbH */ + PHP_FUNCTION(pdf_open_memory_image); + #endif ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #ifdef ZTS + #define PDFG(v) TSRMG(pdf_globals_id, php_pdf_globals *, v) +--- php_pdf4.h 2005-08-02 17:44:26.000000000 +0200 ++++ php_pdf4.h 2005-08-02 17:50:39.000000000 +0200 +@@ -16,7 +16,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: php_pdf4.h,v 1.2 2004/11/30 11:42:13 rjs Exp $ */ ++/* $Id: php_pdf4.h,v 1.3 2005/03/08 12:02:20 rjs Exp $ */ + + #ifndef PHP_PDF_H + #define PHP_PDF_H +@@ -140,9 +140,11 @@ + + /* some more stuff for compatibility */ + PHP_FUNCTION(pdf_add_annotation); ++#if PDFLIB_WITH_GD_SUPPORT + #if HAVE_LIBGD13 + PHP_FUNCTION(pdf_open_memory_image); + #endif ++#endif /* PDFLIB_WITH_GD_SUPPORT */ + + #if (PDFLIB_MAJORVERSION >= 4) + /* support for new functions in PDFlib V4.0 */ diff --git a/dev-php5/pecl-pdo-sqlite/ChangeLog b/dev-php5/pecl-pdo-sqlite/ChangeLog index 687cdec71426..8d539671ffe9 100644 --- a/dev-php5/pecl-pdo-sqlite/ChangeLog +++ b/dev-php5/pecl-pdo-sqlite/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-php5/pecl-pdo-sqlite # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/ChangeLog,v 1.1 2005/09/04 16:48:08 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-sqlite/ChangeLog,v 1.2 2005/09/06 07:43:38 stuart Exp $ + + 06 Sep 2005; Stuart Herbert <stuart@gentoo.org> +files/config.m4.diff: + Replaced corrupted patch file 18 Aug 2005; <stuart@gentoo.org> ChangeLog: Initial version; replaces older dev-php/* packages diff --git a/dev-php5/pecl-pdo-sqlite/Manifest b/dev-php5/pecl-pdo-sqlite/Manifest index 6a509e58cf96..e49b2a4d0877 100644 --- a/dev-php5/pecl-pdo-sqlite/Manifest +++ b/dev-php5/pecl-pdo-sqlite/Manifest @@ -2,4 +2,4 @@ MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 MD5 d1e13c9999cf08dd0dfe61ce239b8dbb ChangeLog 321 MD5 d1aaa6146b580bb4ecb8f212e65c4c91 pecl-pdo-sqlite-0.9.ebuild 1045 MD5 fdc2ae67c97ca2d64d214d9ddd2bef76 files/digest-pecl-pdo-sqlite-0.9 63 -MD5 23f37db175fdc7004df089700396bbd0 files/config.m4.diff 2060 +MD5 5e1445119b6f983cf8408a23839c3301 files/config.m4.diff 2048 diff --git a/dev-php5/pecl-pdo-sqlite/files/config.m4.diff b/dev-php5/pecl-pdo-sqlite/files/config.m4.diff new file mode 100644 index 000000000000..99faec5f1062 --- /dev/null +++ b/dev-php5/pecl-pdo-sqlite/files/config.m4.diff @@ -0,0 +1,32 @@ +--- config.m4 2005-08-06 21:00:16.000000000 +0200 ++++ config.m4 2005-08-06 21:04:03.000000000 +0200 +@@ -1,4 +1,4 @@ +-dnl $Id: config.m4,v 1.23 2005/07/27 04:07:11 wez Exp $ ++dnl $Id: config.m4,v 1.26 2005/07/29 20:41:52 iliaa Exp $ + dnl config.m4 for extension pdo_sqlite + dnl vim:et:sw=2:ts=2: + +@@ -90,20 +90,9 @@ + AC_DEFINE(SQLITE_PTR_SZ, SIZEOF_CHAR_P, [Size of a pointer]) + PDO_SQLITE_VERSION=`cat $ext_srcdir/sqlite/VERSION` + PDO_SQLITE_VERSION_NUMBER=`echo $PDO_SQLITE_VERSION | $AWK -F. '{printf("%d%03d%03d", $1, $2, $3)}'` +- sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $abs_srcdir/sqlite/src/sqlite.h.in > $abs_srcdir/sqlite/src/sqlite3.h +- if ! test -f $abs_srcdir/sqlite/src/parse.h ; then +- dnl maintainer can comment this line out when upgrading the bundled library +- dnl and reinstate it when done +- AC_MSG_ERROR([this package is broken]) +- $CC -o $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/tool/lemon.c +- $abs_srcdir/sqlite/tool/lemon $abs_srcdir/sqlite/src/parse.y +- cat $abs_srcdir/sqlite/src/parse.h $abs_srcdir/sqlite/src/vdbe.c | $AWK -f $abs_srcdir/sqlite/mkopcodeh.awk > $abs_srcdir/sqlite/src/opcodes.h +- sort -n +2 $abs_srcdir/sqlite/src/opcodes.h | $AWK -f $abs_srcdir/sqlite/mkopcodec.awk > $abs_srcdir/sqlite/src/opcodes.c +- $CC -o $abs_srcdir/sqlite/tool/mkkeywordhash $abs_srcdir/sqlite/tool/mkkeywordhash.c +- $abs_srcdir/sqlite/tool/mkkeywordhash > $abs_srcdir/sqlite/src/keywordhash.h +- else +- touch $abs_srcdir/sqlite/src/parse.c $abs_srcdir/sqlite/src/parse.h +- fi ++ sed -e s/--VERS--/$PDO_SQLITE_VERSION/ -e s/--VERSION-NUMBER--/$PDO_SQLITE_VERSION_NUMBER/ $ext_srcdir/sqlite/src/sqlite.h.in > $ext_builddir/sqlite3.h ++ ++ touch $ext_srcdir/sqlite/src/parse.c $ext_srcdir/sqlite/src/parse.h + + if test "$ext_shared" = "no" -o "$ext_srcdir" != "$abs_srcdir"; then + echo '#include <php_config.h>' > $ext_srcdir/sqlite/src/config.h diff --git a/dev-php5/pecl-pdo/ChangeLog b/dev-php5/pecl-pdo/ChangeLog index 74ff08ad2def..a83fbd6857c5 100644 --- a/dev-php5/pecl-pdo/ChangeLog +++ b/dev-php5/pecl-pdo/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-php5/pecl-pdo # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/ChangeLog,v 1.1 2005/09/04 16:32:39 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo/ChangeLog,v 1.2 2005/09/06 07:46:04 stuart Exp $ + + 06 Sep 2005; Stuart Herbert <stuart@gentoo.org> +files/pdo_stmt.c.diff: + Replaced corrupt patch file 18 Aug 2005; <stuart@gentoo.org> ChangeLog: Initial version; replaces older dev-php/* packages diff --git a/dev-php5/pecl-pdo/Manifest b/dev-php5/pecl-pdo/Manifest index 83b334cd4fb4..f5ef83dbc4f3 100644 --- a/dev-php5/pecl-pdo/Manifest +++ b/dev-php5/pecl-pdo/Manifest @@ -2,4 +2,4 @@ MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 MD5 f3e38be1298be5cfdc02db4b45bd942b ChangeLog 307 MD5 c2c6cbd9d74d129e47990bd2856eb1bd pecl-pdo-0.9.ebuild 1571 MD5 6279556cf34bf92200701c7a65f81ed9 files/digest-pecl-pdo-0.9 55 -MD5 f174bf741295f458409014dcc8057242 files/pdo_stmt.c.diff 923 +MD5 c52b46703f8061eb524872fa24edc342 files/pdo_stmt.c.diff 915 diff --git a/dev-php5/pecl-pdo/files/pdo_stmt.c.diff b/dev-php5/pecl-pdo/files/pdo_stmt.c.diff new file mode 100644 index 000000000000..06f433c01e51 --- /dev/null +++ b/dev-php5/pecl-pdo/files/pdo_stmt.c.diff @@ -0,0 +1,34 @@ +--- pdo_stmt.c 2005-07-27 04:06:11.000000000 +0200 ++++ pdo_stmt.c 2005-08-06 20:50:17.000000000 +0200 +@@ -18,7 +18,7 @@ + +----------------------------------------------------------------------+ + */ + +-/* $Id: pdo_stmt.c,v 1.116 2005/07/22 14:31:20 helly Exp $ */ ++/* $Id: pdo_stmt.c,v 1.118 2005/08/03 18:26:16 iliaa Exp $ */ + + /* The PDO Statement Handle Class */ + +@@ -1985,12 +1985,20 @@ + struct pdo_column_data *cols = stmt->columns; + + for (i = 0; i < stmt->column_count; i++) { +- efree(cols[i].name); ++ if (cols[i].name) { ++ efree(cols[i].name); ++ cols[i].name = NULL; ++ } + } + efree(stmt->columns); ++ stmt->columns = NULL; ++ } ++ ++ if (stmt->fetch.into && stmt->default_fetch_type == PDO_FETCH_INTO) { ++ FREE_ZVAL(stmt->fetch.into); ++ stmt->fetch.into = NULL; + } + +- + do_fetch_opt_finish(stmt, 1 TSRMLS_CC); + + zend_objects_store_del_ref(&stmt->database_object_handle TSRMLS_CC); |