Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 214215 Details for
Bug 298449
dev-php5/pecl-ssh2-0.11 fails to build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pecl-ssh2-0.11.0-php-5.3-compat.patch
pecl-ssh2-0.11.0-php-5.3-compat.patch (text/plain), 914 bytes, created by
Peter Volkov (RETIRED)
on 2009-12-26 16:16:50 UTC
(
hide
)
Description:
pecl-ssh2-0.11.0-php-5.3-compat.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2009-12-26 16:16:50 UTC
Size:
914 bytes
patch
obsolete
>Fixes compile failures due to API changes of php-5.3 >Author: Peter Volkov <pva@gentoo.org> >Inspired by http://github.com/php/pecl-gearman/commit/e8e4579406d6b324caf0e0d4c0fcfffa0b68e8be > >--- ssh2.c 2009-12-26 16:09:06 +0000 >+++ ssh2.c 2009-12-26 16:10:24 +0000 >@@ -66,6 +66,13 @@ > #define PHP_SSH2_TSRMLS_FETCH() > #endif > >+#if (PHP_MAJOR_VERSION == 5) && (PHP_MINOR_VERSION < 3) >+# define GEARMAN_IS_CALLABLE(callable, check_flags, callable_name) zend_is_callable(callable, check_flags, callable_name) >+#else >+# define GEARMAN_IS_CALLABLE(callable, check_flags, callable_name) zend_is_callable(callable, check_flags, callable_name TSRMLS_CC) >+#endif >+ >+ > /* {{{ php_ssh2_alloc_cb > * Wrap emalloc() > */ >@@ -257,7 +264,7 @@ > return 0; > } > >- if (!handler || !*handler || !zend_is_callable(*handler, 0, NULL)) { >+ if (!handler || !*handler || !GEARMAN_IS_CALLABLE(*handler, 0, NULL)) { > return -1; > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 298449
: 214215