X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=openssl%2Fmingw32-openssl-0.9.8g-global.patch;fp=openssl%2Fmingw32-openssl-0.9.8g-global.patch;h=814fb462d8b937e9a5f8d41fa3982ce8c0772a5d;hb=3a8181459ea2c1a6b62ce60be2f43c052f040799;hp=0000000000000000000000000000000000000000;hpb=90bb28e6fc23fae2d055da670f7840883be3d275;p=fedora-mingw.git diff --git a/openssl/mingw32-openssl-0.9.8g-global.patch b/openssl/mingw32-openssl-0.9.8g-global.patch new file mode 100644 index 0000000..814fb46 --- /dev/null +++ b/openssl/mingw32-openssl-0.9.8g-global.patch @@ -0,0 +1,16 @@ +Fix global variable macros. + + - RWMJ 2008-09-30 + +diff -ur openssl-0.9.8g.orig/e_os2.h openssl-0.9.8g.mingw/e_os2.h +--- openssl-0.9.8g.orig/e_os2.h 2005-12-18 18:57:07.000000000 +0000 ++++ openssl-0.9.8g.mingw/e_os2.h 2008-09-30 14:27:53.000000000 +0100 +@@ -264,7 +264,7 @@ + # define OPENSSL_IMPLEMENT_GLOBAL(type,name) \ + extern type _hide_##name; \ + type *_shadow_##name(void) { return &_hide_##name; } \ +- static type _hide_##name ++ type _hide_##name + # define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void) + # define OPENSSL_GLOBAL_REF(name) (*(_shadow_##name())) + #else