[Buildroot] [PATCHv2] package/cryptopp: Backport gcc compatibility patch

Julian Scheel julian at jusst.de
Fri Apr 29 05:52:10 UTC 2016


Hi Thomas,

On 28.04.2016 13:51, Thomas Petazzoni wrote:
> On Mon, 25 Apr 2016 10:09:29 +0200, Julian Scheel wrote:
>> 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 at jusst.de>
>
> The patch on the cryptopp source didn't apply once applied from your
> e-mail, since the DOS line endings had been turned into Unix line
> endings. But the upstream source is really using DOS line endings.

How nasty...

> So in the end, since the patch is easily available from Github, I've
> simply used the <pkg>_PATCH variable to let Buildroot download and
> apply the patch, rather than importing it in package/cryptopp/. And
> then I've applied. See:
>
>    https://git.buildroot.net/buildroot/commit/?id=b4ccab90608efca6a7c753a4980c546a61f715ad

That's neat, I wasn't aware of that <pkg>_PATH option.

Thanks for merging,
Julian




More information about the buildroot mailing list