[Users] [-Werror=format-security] patch

Charles A Edwards cae at eslrahc.com
Mon Mar 27 21:11:03 CEST 2017


On Wed, 28 Dec 2016 09:24:31 +0000
Paul wrote:

> On Tue, 27 Dec 2016 21:08:41 -0500
> Charles A Edwards <cae at eslrahc.com> wrote: 
> 
> > Trying to build the latest from git 3.14.1-86-gb2b913e fails in
> > compose.c  
> 
> It fails because you are using -Werror. In your pasted output:
> 
> > [-Werror=format-security]
> > some warnings being treated as errors  
> 
> Without the setting that you are using warnings would be treated as
> warnings, and the build would succeed.


By default Mageia, as well as other distributions, uses
'-Werror=format-security' for All package builds.

Am attaching a patch by Jani Välimaa <wally at mageia.org> which resolves
this issue, allowing '-Werror=format-security' to again be used.

The patch was done for the 3.15.0 release and as attached applies
cleanly using -p0 to current git.


    Charles

-- 
Show respect for age.  Drink good Scotch for a change.
----------------------
Mageia release 6 (Cauldron) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
4.9.17-server-1.mga6 x86_64
----------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-with-Werror-format-security.patch
Type: text/x-patch
Size: 1953 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20170327/622301a9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20170327/622301a9/attachment.sig>


More information about the Users mailing list