[Box Backup-commit] COMMIT r2456 - box/chris/win32/support

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Fri Mar 20 00:06:27 GMT 2009


Author: chris
Date: 2009-03-20 00:06:26 +0000 (Fri, 20 Mar 2009)
New Revision: 2456

Modified:
   box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch
Log:
Add fix for invalid static declarations for gcc 4.x compilation, thanks 
to Achim.


Modified: box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch
===================================================================
--- box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch	2009-03-19 23:28:54 UTC (rev 2455)
+++ box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch	2009-03-20 00:06:26 UTC (rev 2456)
@@ -322,3 +322,15 @@
 +rm cert.tmp
 +
 +echo passed all tests
+diff -ru openssl-0.9.8b/include/openssl/e_os2.h openssl-0.9.8b-mingw/include/openssl/e_os2.h
+--- openssl-0.9.8b/include/openssl/e_os2.h	2009-03-20 00:02:19.000000000 +0000
++++ openssl-0.9.8b-mingw/include/openssl/e_os2.h	2009-03-20 00:02:34.000000000 +0000
+@@ -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




More information about the Boxbackup-commit mailing list