packages/libs/libcrypto++/patches/001-strict_gcc43_include.patch

17 lines
533 B
Diff
Raw Normal View History

## strict-gcc43-include.diff by Jens Peter Secher <jps@debian.org>
##
## Explicitly include cstring to allow compilation with GCC 4.3.
Index: libcrypto++/misc.h
===================================================================
--- libcrypto++.orig/misc.h 2009-04-07 02:48:55.000000000 +0200
+++ libcrypto++/misc.h 2009-04-07 02:50:56.000000000 +0200
@@ -40,6 +40,7 @@
#if defined(__GNUC__) && defined(__linux__)
#define CRYPTOPP_BYTESWAP_AVAILABLE
#include <byteswap.h>
+#include <cstring>
#endif
NAMESPACE_BEGIN(CryptoPP)