File: 095_fix-compilation-with-gcc-10.patch

package info (click to toggle)
gpm 1.20.7-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,960 kB
  • sloc: ansic: 8,702; yacc: 1,054; sh: 1,034; makefile: 387; cpp: 241; lisp: 222; awk: 82; sed: 6
file content (20 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: FTBFS with gcc-10 due to -fno-commons
Author: Sergei Trofimovich <slyfox@gentoo.org>
Reviewed-By: Helmut Grohne <helmut@subdivi.de>
Origin: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7e2ac82fc5a1847c132057fb7de1a996d66c76
Forwarded: https://github.com/telmich/gpm/pull/37
Bug: https://github.com/telmich/gpm/pull/37
Bug-Gentoo: https://bugs.gentoo.org/705878
Bug-Debian: https://bugs.debian.org/953266

--- a/src/headers/daemon.h
+++ b/src/headers/daemon.h
@@ -176,7 +176,7 @@
 extern Gpm_Type         mice[];
 extern Gpm_Type         *repeated_type;
 
-time_t                  last_selection_time;
+extern time_t           last_selection_time;