summaryrefslogtreecommitdiffstats
path: root/package/openssl/002-dont-force-large-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openssl/002-dont-force-large-file.patch')
-rw-r--r--package/openssl/002-dont-force-large-file.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/package/openssl/002-dont-force-large-file.patch b/package/openssl/002-dont-force-large-file.patch
index 5b04656ff5..13340d6db7 100644
--- a/package/openssl/002-dont-force-large-file.patch
+++ b/package/openssl/002-dont-force-large-file.patch
@@ -1,19 +1,19 @@
[patch]: bss_file.c: don't force largefile mode
----
- crypto/bio/bss_file.c | 3 ---
- 1 file changed, 3 deletions(-)
-Index: openssl-0.9.8g/crypto/bio/bss_file.c
-===================================================================
---- openssl-0.9.8g.orig/crypto/bio/bss_file.c
-+++ openssl-0.9.8g/crypto/bio/bss_file.c
+[Adapted to version 1.0.2]
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+diff -rup a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c
+--- a/crypto/bio/bss_file.c 2015-01-22 14:58:32.000000000 +0000
++++ b/crypto/bio/bss_file.c 2015-01-26 16:27:52.972519876 +0000
@@ -78,9 +78,6 @@
- * sequential access of large files without extra "magic" comprise *BSD,
- * Darwin, IRIX...
+ * of 32-bit platforms which allow for sequential access of large files
+ * without extra "magic" comprise *BSD, Darwin, IRIX...
*/
--#ifndef _FILE_OFFSET_BITS
--#define _FILE_OFFSET_BITS 64
--#endif
- #endif
+-# ifndef _FILE_OFFSET_BITS
+-# define _FILE_OFFSET_BITS 64
+-# endif
+ # endif
- #include <stdio.h>
+ # include <stdio.h>
OpenPOWER on IntegriCloud