diff options
| author | Julian Scheel <julian@jusst.de> | 2016-04-25 10:09:29 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-04-28 13:50:03 +0200 |
| commit | b4ccab90608efca6a7c753a4980c546a61f715ad (patch) | |
| tree | 325ba32b8ca3da5549aff9df239019f9c266aaed | |
| parent | a451a9480563d01dcfa51c2ed4020414f3c6426f (diff) | |
| download | buildroot-b4ccab90608efca6a7c753a4980c546a61f715ad.tar.gz buildroot-b4ccab90608efca6a7c753a4980c546a61f715ad.zip | |
package/cryptopp: Backport gcc compatibility patch
Import patch from cryptopp upstream which fixes the gcc version checks
for using attribute deprecated with messages. Fixes build with host
gcc versions < 4.5.
Signed-off-by: Julian Scheel <julian@jusst.de>
[Thomas:
- directly use the patch from upstream through <pkg>_PATCH rather
than storing it in package/cryptopp/, as it helps avoiding
line-endings problems: upstream has the source code with DOS line
endings.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| -rw-r--r-- | package/cryptopp/cryptopp.hash | 1 | ||||
| -rw-r--r-- | package/cryptopp/cryptopp.mk | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/package/cryptopp/cryptopp.hash b/package/cryptopp/cryptopp.hash index 3af7183c5d..bf59c0451d 100644 --- a/package/cryptopp/cryptopp.hash +++ b/package/cryptopp/cryptopp.hash @@ -1,2 +1,3 @@ # Locally computed sha256 9390670a14170dd0f48a6b6b06f74269ef4b056d4718a1a329f6f6069dc957c9 cryptopp563.zip +sha256 74b88c2caf7cf843bdc74d3331adaf83e516167cc8eebe66a79612189549cfa4 f707b9ef1688d4429ca6239cf2dc236440974681.patch diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk index 887557dbce..df07cf607f 100644 --- a/package/cryptopp/cryptopp.mk +++ b/package/cryptopp/cryptopp.mk @@ -7,6 +7,8 @@ CRYPTOPP_VERSION = 5.6.3 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip CRYPTOPP_SITE = http://cryptopp.com/ +# Upstream patch needed to fix the build with gcc < 4.5 +CRYPTOPP_PATCH = https://github.com/weidai11/cryptopp/commit/f707b9ef1688d4429ca6239cf2dc236440974681.patch CRYPTOPP_LICENSE = Boost-v1.0 CRYPTOPP_LICENSE_FILES = License.txt CRYPTOPP_INSTALL_STAGING = YES |

