mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
lftp: non working gcc2 patch
This commit is contained in:
22
net-ftp/lftp/patches/lftp-4.4.16.patchset
Normal file
22
net-ftp/lftp/patches/lftp-4.4.16.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 5ade774564ec60f247d60adbd39c2f94c6164fff Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 17 May 2014 13:38:15 +0000
|
||||
Subject: gcc2 fix
|
||||
|
||||
|
||||
diff --git a/lib/gl_openssl.h b/lib/gl_openssl.h
|
||||
index 2414421..014769d 100644
|
||||
--- a/lib/gl_openssl.h
|
||||
+++ b/lib/gl_openssl.h
|
||||
@@ -95,7 +95,7 @@ GL_CRYPTO_FN (_finish_ctx) (struct _gl_ctx *ctx, void *res)
|
||||
|
||||
GL_OPENSSL_INLINE void *
|
||||
GL_CRYPTO_FN (_buffer) (const char *buf, size_t len, void *res)
|
||||
-{ return OPENSSL_FN () ((const unsigned char *) buf, len, (unsigned char *) res); }
|
||||
+{ return OPENSSL_FN ( ) ((const unsigned char *) buf, len, (unsigned char *) res); }
|
||||
|
||||
GL_OPENSSL_INLINE void *
|
||||
GL_CRYPTO_FN (_read_ctx) (const struct _gl_ctx *ctx, void *res)
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user