[package] add libcrypto++, required for the new amule version
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17771 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
16
libs/libcrypto++/patches/001-strict_gcc43_include.patch
Normal file
16
libs/libcrypto++/patches/001-strict_gcc43_include.patch
Normal file
@ -0,0 +1,16 @@
|
||||
## 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)
|
Reference in New Issue
Block a user