summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-21 20:31:47 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-21 20:31:47 +0000
commitb6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c (patch)
tree50290280fad1f3ee09d9f0629c73df67465adc4b
parent2e02904b048e1f1bf5fa817bd6ea5c1f98c0ea0a (diff)
downloadbuildroot-novena-b6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c.tar.gz
buildroot-novena-b6dbf2eb869a9a5b95c2c92b062de8f2d9b9e86c.zip
openssl: fix build without largefile support
-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>