Branch oldpackages for 14.07
[14.07/packages.git] / libs / libcrypto++ / patches / 001-strict_gcc43_include.patch
1 ## strict-gcc43-include.diff by Jens Peter Secher <jps@debian.org>
2 ##
3 ## Explicitly include cstring to allow compilation with GCC 4.3.
4
5 Index: libcrypto++/misc.h
6 ===================================================================
7 --- libcrypto++.orig/misc.h     2009-04-07 02:48:55.000000000 +0200
8 +++ libcrypto++/misc.h  2009-04-07 02:50:56.000000000 +0200
9 @@ -40,6 +40,7 @@
10  #if defined(__GNUC__) && defined(__linux__)
11  #define CRYPTOPP_BYTESWAP_AVAILABLE
12  #include <byteswap.h>
13 +#include <cstring>
14  #endif
15  
16  NAMESPACE_BEGIN(CryptoPP)