summaryrefslogtreecommitdiff
path: root/package/openssl/openssl-dont-force-large-file.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openssl/openssl-dont-force-large-file.patch')
-rw-r--r--package/openssl/openssl-dont-force-large-file.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/openssl/openssl-dont-force-large-file.patch b/package/openssl/openssl-dont-force-large-file.patch
new file mode 100644
index 000000000..5b04656ff
--- /dev/null
+++ b/package/openssl/openssl-dont-force-large-file.patch
@@ -0,0 +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
+@@ -78,9 +78,6 @@
+ * sequential access of large files without extra "magic" comprise *BSD,
+ * Darwin, IRIX...
+ */
+-#ifndef _FILE_OFFSET_BITS
+-#define _FILE_OFFSET_BITS 64
+-#endif
+ #endif
+
+ #include <stdio.h>