summaryrefslogtreecommitdiff
path: root/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch')
-rw-r--r--sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch b/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch
new file mode 100644
index 000000000000..a55c44fae556
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/705878
+https://github.com/telmich/gpm/pull/37
+
+--- a/src/headers/daemon.h
++++ b/src/headers/daemon.h
+@@ -180,7 +180,7 @@ extern struct mouse_features mouse_table[3],
+ extern Gpm_Type mice[];
+ extern Gpm_Type *repeated_type;
+
+-time_t last_selection_time;
++extern time_t last_selection_time;
+
+
+