packages/libs/libcrypto++/patches/001-strict_gcc43_include.patch
florian 9774a07a90 [package] add libcrypto++, required for the new amule version
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-27 21:05:00 +00:00

17 lines
533 B
Diff

## 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)