git:// links no longer work, refer to the https:// one.
[wiki] / examples / openssl-cross-compilation.diff
1 --- Configure.orig      2009-10-04 19:33:46.232068938 +0200
2 +++ Configure   2009-10-04 19:23:29.502125839 +0200
3 @@ -1,4 +1,4 @@
4 -#!/usr/local/bin/perl
5 +#!/usr/bin/perl
6  eval 'exec perl -S $0 ${1+"$@"}'
7      if $running_under_some_shell;
8  ##
9 @@ -1059,7 +1059,7 @@
10  
11  my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds;
12  
13 -$IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys());
14 +#$IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys());
15  
16  $no_shared = 0 if ($fipsdso && !$IsMK1MF);
17  
18 --- e_os2.h.orig        2009-10-04 19:33:58.297912010 +0200
19 +++ e_os2.h     2009-10-04 19:23:29.502125839 +0200
20 @@ -262,7 +262,7 @@
21  */
22  #ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION
23  # define OPENSSL_IMPLEMENT_GLOBAL(type,name)                        \
24 -       extern type _hide_##name;                                    \
25 +       static type _hide_##name;                                    \
26         type *_shadow_##name(void) { return &_hide_##name; }         \
27         static type _hide_##name
28  # define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)