[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997190: patch for building qrq on GCC-11



Hello Tony,

On Sun, Oct 24, 2021 at 06:34:44PM -0700, tony mancill wrote:
> I recently applied a patch to the Debian packaging of qrq to enable
> compilation with GCC-11, which enables -Werror=format-security.
> 
> You can see the details of the build failure in 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997190.
> 
> I believe the patch is generally useful/applicable to other users, and
> since I didn't see an way to generate a pull-request against
> https://git.fkurz.net/dj1yfk/qrq, I am attaching the patch.  It is also
> available here:
> 
> https://salsa.debian.org/debian-hamradio-team/qrq/-/blob/62e1199c9418a2be2525f1d6d0cf56f0d59da5cc/debian/patches/warnings-as-errors.patch
> 
> Note that the patch addresses a few other format warnings, although not
> all of them.  Let me know if you'd like me to pare the patch down to
> only the format-security warnings.

thanks for your patch! I applied it (manually, since there were some
intermediate commits) in my repository:
https://git.fkurz.net/dj1yfk/qrq/commit/834e339ab387d5cab80ca259b4826719a240ccf2

tnx & 73
Fabian, DJ1YFK

-- 
Fabian Kurz, DJ1YFK      Munich, Germany
fabian@fkurz.net         +49(174)6926713
https://fkurz.net/       Go Vegan! ☮ 


Reply to: