Control: tags -1 + patch

Dear maintainer,

The following patch fixes the FTBFS. I've tested it and I can run the
program and load a rom successfully.

Without feedback, I'll NMU the package and request an unblock in a
couple of days.

Best,

-- 
Baptiste Beauplat - lyknode
From: Baptiste Beauplat <lykn...@debian.org>
Date: Wed, 5 May 2021 23:18:27 +0200
Subject: Fix FTBFS with gcc 10 (Closes: #987640)

Declare HacksDisable as external unsigned char in initc.c.
Declaration and assignation is done in cfg.c. This file is generated at
build time by parsegen from cfg.psr. The generated variable is an
unsigned char.
---
 src/initc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/initc.c b/src/initc.c
index 3096240..56b02bc 100644
--- a/src/initc.c
+++ b/src/initc.c
@@ -1496,7 +1496,7 @@ Would be nice to trash this section in the future
 extern unsigned char ENVDisable, cycpb268, cycpb358, cycpbl2, cycpblt2, cycpbl;
 extern unsigned char cycpblt, opexec268, opexec358, opexec268b, opexec358b;
 extern unsigned char opexec268cph, opexec358cph, opexec268cphb, opexec358cphb;
-bool HacksDisable;
+extern unsigned char HacksDisable;
 
 void headerhack()
 {

Attachment: signature.asc
Description: PGP signature

Reply via email to