X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=examples%2Fopenssl-cross-compilation.diff;fp=examples%2Fopenssl-cross-compilation.diff;h=cf33decea4e313a1509292f433b18f4668ed40e8;hb=a1ba7a6f907786d8e6c9a4a3b62732c395db5a1c;hp=0000000000000000000000000000000000000000;hpb=9b1fa68828f4b7f44c5bf3d2183be1a62bfa292c;p=wiki diff --git a/examples/openssl-cross-compilation.diff b/examples/openssl-cross-compilation.diff new file mode 100644 index 0000000..cf33dec --- /dev/null +++ b/examples/openssl-cross-compilation.diff @@ -0,0 +1,28 @@ +--- Configure.orig 2009-10-04 19:33:46.232068938 +0200 ++++ Configure 2009-10-04 19:23:29.502125839 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/perl ++#!/usr/bin/perl + eval 'exec perl -S $0 ${1+"$@"}' + if $running_under_some_shell; + ## +@@ -1059,7 +1059,7 @@ + + my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds; + +-$IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys()); ++#$IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys()); + + $no_shared = 0 if ($fipsdso && !$IsMK1MF); + +--- e_os2.h.orig 2009-10-04 19:33:58.297912010 +0200 ++++ e_os2.h 2009-10-04 19:23:29.502125839 +0200 +@@ -262,7 +262,7 @@ + */ + #ifdef OPENSSL_EXPORT_VAR_AS_FUNCTION + # define OPENSSL_IMPLEMENT_GLOBAL(type,name) \ +- extern type _hide_##name; \ ++ static type _hide_##name; \ + type *_shadow_##name(void) { return &_hide_##name; } \ + static type _hide_##name + # define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void)