diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-02-03 22:55:06 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-02-03 23:07:28 +0000 |
commit | 8f7e2ac82fc5a1847c132057fb7de1a996d66c76 (patch) | |
tree | 61204f083bf8be4cc9274b89b60e97e7e132da4e /sys-libs/gpm | |
parent | sys-cluster/ceph/ceph-14.2.7: Version bump (diff) | |
download | gentoo-8f7e2ac82fc5a1847c132057fb7de1a996d66c76.tar.gz gentoo-8f7e2ac82fc5a1847c132057fb7de1a996d66c76.tar.bz2 gentoo-8f7e2ac82fc5a1847c132057fb7de1a996d66c76.zip |
sys-libs/gpm: tweak for gcc-10, bug #705878
Closes: https://bugs.gentoo.org/705878
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs/gpm')
-rw-r--r-- | sys-libs/gpm/files/gpm-1.20.7-gcc-10.patch | 14 | ||||
-rw-r--r-- | sys-libs/gpm/gpm-1.20.7-r2.ebuild | 5 |
2 files changed, 18 insertions, 1 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; + + + diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild b/sys-libs/gpm/gpm-1.20.7-r2.ebuild index c550f3ee1168..df485bea459d 100644 --- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild +++ b/sys-libs/gpm/gpm-1.20.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # emacs support disabled due to #99533 #335900 @@ -35,6 +35,9 @@ src_prepare() { # bug #629774 epatch "${FILESDIR}"/${P}-glibc-2.26.patch + # bug #705878 + epatch "${FILESDIR}"/${P}-gcc-10.patch + epatch_user # fix ABI values |