summaryrefslogtreecommitdiffstats
path: root/package/openssl
diff options
context:
space:
mode:
authorPeter Korsgaard2009-01-21 21:31:47 +0100
committerPeter Korsgaard2009-01-21 21:31:47 +0100
commitb6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c (patch)
tree50290280fad1f3ee09d9f0629c73df67465adc4b /package/openssl
parentdirectfb: fix compilation error on ppc (linux/config.h is long gone) (diff)
downloadbuildroot-b6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c.tar.gz
buildroot-b6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c.tar.xz
buildroot-b6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c.zip
openssl: fix build without largefile support
Diffstat (limited to 'package/openssl')
-rw-r--r--package/openssl/openssl-0.9.8g-dont-force-large-file.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/openssl/openssl-0.9.8g-dont-force-large-file.patch b/package/openssl/openssl-0.9.8g-dont-force-large-file.patch
new file mode 100644
index 000000000..5b04656ff
--- /dev/null
+++ b/package/openssl/openssl-0.9.8g-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>