cryptlib.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. Index: random/unix.c
  2. --- random/unix.c.orig 2005-08-23 00:48:20 +0200
  3. +++ random/unix.c 2005-09-06 20:55:10 +0200
  4. @@ -24,6 +24,9 @@
  5. #include <stdio.h>
  6. #include <string.h>
  7. #include <time.h>
  8. +#ifdef __FreeBSD__
  9. +#include <pthread.h>
  10. +#endif
  11. #include "crypt.h"
  12. /* Unix and Unix-like systems share the same makefile, make sure that the
  13. Index: cert/ext_def.c
  14. --- cert/ext_def.c.orig 2005-08-14 22:34:44 +0200
  15. +++ cert/ext_def.c 2006-05-16 09:20:41 +0200
  16. @@ -116,9 +116,9 @@
  17. highest warning level enabled, this produces a compiler warning, so we
  18. turn the warning off for this module */
  19. -extern const ATTRIBUTE_INFO FAR_BSS generalNameInfo[];
  20. -extern const ATTRIBUTE_INFO FAR_BSS holdInstructionInfo[];
  21. -extern const ATTRIBUTE_INFO FAR_BSS contentTypeInfo[];
  22. +static const ATTRIBUTE_INFO FAR_BSS generalNameInfo[];
  23. +static const ATTRIBUTE_INFO FAR_BSS holdInstructionInfo[];
  24. +static const ATTRIBUTE_INFO FAR_BSS contentTypeInfo[];
  25. #if defined( _MSC_VER )
  26. #pragma warning( disable: 4211 )