diff options
author | Herbert Dürr <hdu@apache.org> | 2012-03-02 09:46:26 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2012-03-02 09:46:26 +0000 |
commit | be16319f1adc7d3692ebfb1fc98737dedbb50c6e (patch) | |
tree | 40755628990bdc845595efc36f25b5706e68e2e9 /curl | |
parent | c4fe552cbc78b2b6b14fbcb95afc6c8947d91c1a (diff) |
prevent curl build problem with newer libssh2.h
Diffstat (limited to 'curl')
-rw-r--r-- | curl/curl-7.19.7.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/curl/curl-7.19.7.patch b/curl/curl-7.19.7.patch index 0e39cb700a35..2d35c6fba33a 100644 --- a/curl/curl-7.19.7.patch +++ b/curl/curl-7.19.7.patch @@ -81,3 +81,23 @@ ;; irix | nonstopux) +--- misc/curl-7.19.7/lib/ssh.c 2009-10-30 23:28:56 +0100 ++++ misc/build/curl-7.19.7/lib/ssh.c 2009-10-31 11:33:05 +0100 +@@ -119,7 +119,7 @@ + static const char *sftp_libssh2_strerror(unsigned long err); + static LIBSSH2_ALLOC_FUNC(libssh2_malloc); + static LIBSSH2_REALLOC_FUNC(libssh2_realloc); +-static LIBSSH2_FREE_FUNC(libssh2_free); ++static LIBSSH2_FREE_FUNC(my_libssh2_free); + + static CURLcode get_pathname(const char **cpp, char **path); + +@@ -286,7 +286,7 @@ + return realloc(ptr, count); + } + +-static LIBSSH2_FREE_FUNC(libssh2_free) ++static LIBSSH2_FREE_FUNC(my_libssh2_free) + { + (void)abstract; /* arg not used */ + free(ptr); |