Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
extensions
>
php5-ssh2
> php5-ssh2-compile-fix.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File php5-ssh2-compile-fix.patch of Package php5-ssh2 (Revision 8)
Currently displaying revision
8
,
show latest
--- ssh2.c.orig 2005-11-02 00:40:23.000000000 +0100 +++ ssh2.c 2008-04-24 14:07:22.000000000 +0200 @@ -477,8 +477,10 @@ ZEND_FETCH_RESOURCE(session, LIBSSH2_SESSION*, &zsession, -1, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); -#if LIBSSH2_APINO < 200412301450 +#ifdef LIBSSH2_APINO +# if LIBSSH2_APINO < 200412301450 libssh2_session_methods(session, &kex, &hostkey, &crypt_cs, &crypt_sc, &mac_cs, &mac_sc, &comp_cs, &comp_sc, &lang_cs, &lang_sc); +# endif #else kex = libssh2_session_methods(session, LIBSSH2_METHOD_KEX); hostkey = libssh2_session_methods(session, LIBSSH2_METHOD_HOSTKEY);