Hi!
I'm attaching a patch that fixes this problem by adding a necessary
"extern" and re-generating flex and bison generated files.
Thanks for reporting this!
Roland.
diff -ruN temp/gtick-0.5.4/debian/changelog gtick-0.5.4/debian/changelog
--- gtick-0.5.4/debian/changelog 2014-07-27 19:45:03.000000000 +0200
+++ gtick-0.5.4/debian/changelog 2020-05-17 12:39:58.174598751 +0200
@@ -1,3 +1,10 @@
+gtick (0.5.4-2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with gcc-10 (Closes: #957318)
+
+ -- Roland Reichwein <r...@antcom.de> Sun, 17 May 2020 12:38:49 +0200
+
gtick (0.5.4-1) unstable; urgency=medium
* New upstream release
diff -ruN temp/gtick-0.5.4/debian/clean gtick-0.5.4/debian/clean
--- gtick-0.5.4/debian/clean 1970-01-01 01:00:00.000000000 +0100
+++ gtick-0.5.4/debian/clean 2020-05-17 12:38:41.071956679 +0200
@@ -0,0 +1,3 @@
+src/optionlexer.c
+src/optionparser.h
+src/optionparser.c
diff -ruN temp/gtick-0.5.4/debian/control gtick-0.5.4/debian/control
--- gtick-0.5.4/debian/control 2014-06-22 16:45:48.000000000 +0200
+++ gtick-0.5.4/debian/control 2020-05-17 12:36:32.322225602 +0200
@@ -2,7 +2,7 @@
Section: sound
Priority: extra
Maintainer: Roland Stigge <sti...@antcom.de>
-Build-Depends: debhelper (>= 9), libgtk2.0-dev, libsndfile1-dev, libpulse-dev
+Build-Depends: debhelper (>= 9), libgtk2.0-dev, libsndfile1-dev, libpulse-dev, flex, bison
Standards-Version: 3.9.5
Homepage: http://www.antcom.de/gtick/
diff -ruN temp/gtick-0.5.4/debian/patches/fix-multiple-definition.patch gtick-0.5.4/debian/patches/fix-multiple-definition.patch
--- gtick-0.5.4/debian/patches/fix-multiple-definition.patch 1970-01-01 01:00:00.000000000 +0100
+++ gtick-0.5.4/debian/patches/fix-multiple-definition.patch 2020-05-17 12:44:30.389809211 +0200
@@ -0,0 +1,19 @@
+Description: Fix multiple definition of option_lloc
+ This patch fixes the multiple definition of iotion_lloc by adding
+ a missing "extern" and regenerating flex and bison generated files.
+ Under debian/, build dependencies to flex and bison have been added
+ and debian/clean now removes the old generated files.
+Author: Roland Reichwein <r...@antcom.de>
+Bug-Debian: https://bugs.debian.org/957318
+
+--- gtick-0.5.4.orig/src/optionlexer.l
++++ gtick-0.5.4/src/optionlexer.l
+@@ -40,7 +40,7 @@
+ #include "optionlexer.h"
+
+ char* option_filename;
+-YYLTYPE option_lloc;
++extern YYLTYPE option_lloc;
+
+ void option_locate();
+ %}
diff -ruN temp/gtick-0.5.4/debian/patches/series gtick-0.5.4/debian/patches/series
--- gtick-0.5.4/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ gtick-0.5.4/debian/patches/series 2020-05-17 12:41:04.537430472 +0200
@@ -0,0 +1 @@
+fix-multiple-definition.patch