openssl: fix build without largefile support
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Jan 2009 20:31:47 +0000 (20:31 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Jan 2009 20:31:47 +0000 (20:31 -0000)
package/openssl/openssl-0.9.8g-dont-force-large-file.patch [new file with mode: 0644]

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 (file)
index 0000000..5b04656
--- /dev/null
@@ -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>