Browse Source

openssl: fix build without largefile support

Peter Korsgaard 16 years ago
parent
commit
b6dbf2eb86
1 changed files with 19 additions and 0 deletions
  1. 19 0
      package/openssl/openssl-0.9.8g-dont-force-large-file.patch

+ 19 - 0
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>