Control: tags -1 fixed-upstream
Control: tags -1 patch

Greetings,

The "master" branch of the upstream repository has a change that
includes a fix for the failure to build from source with Gcc 10:

        
https://github.com/posva/catimg/commit/05b946cc5cb96ffc36aea41dfcdac9ddbce2cb33

The patch in attachment applies against the existing catimg
version 2.6.0 available in Debian Sid to fix that very specific
bug, but I suppose updating the software to version 2.7.0 would
be a more appropriate approach.

Kind Regards,
-- 
Étienne Mollier <etienne.moll...@mailoo.org>
Old rsa/3072: 5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
New rsa/4096: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/6, please excuse my verbosity.
Description: fix ftbfs with gcc 10
Author: Étienne Mollier <etienne.moll...@mailoo.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957066
Forwarded: not-needed
Applied-Upstream: https://github.com/posva/catimg/commit/05b946cc5cb96ffc36aea41dfcdac9ddbce2cb33
Last-Update: 2020-08-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- catimg-2.6.0.orig/src/sh_color.h
+++ catimg-2.6.0/src/sh_color.h
@@ -36,9 +36,9 @@
 } color_yuv_t;
 
 #define N_COLORS 247 ///< Number of colors in terminal
-uint32_t color_map[N_COLORS]; ///< palette of the terminal colors in RGB 0x00RRGGBB
+extern uint32_t color_map[N_COLORS]; ///< palette of the terminal colors in RGB 0x00RRGGBB
 // yuv equivalents
-color_yuv_t yuv_color_map[N_COLORS]; ///< palette of the terminal colors in YUV format
+__attribute__((__common__)) color_yuv_t yuv_color_map[N_COLORS]; ///< palette of the terminal colors in YUV format
 
 
 /**

Attachment: signature.asc
Description: PGP signature

Reply via email to