From 59915b6f105e9d4de7046febee2cee5e3fa113d01c9dcda8ed50ca3b0537ee01 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 15 Jan 2020 09:56:17 +0000 Subject: [PATCH] - gpm-fno-common.patch: fix compilation in Tumbleweed (bsc#1160873) OBS-URL: https://build.opensuse.org/package/show/Base:System/gpm?expand=0&rev=56 --- gpm-fno-common.patch | 13 +++++++++++++ gpm.changes | 5 +++++ gpm.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 gpm-fno-common.patch diff --git a/gpm-fno-common.patch b/gpm-fno-common.patch new file mode 100644 index 0000000..7a1df5f --- /dev/null +++ b/gpm-fno-common.patch @@ -0,0 +1,13 @@ +Index: gpm-1.20.7/src/headers/daemon.h +=================================================================== +--- gpm-1.20.7.orig/src/headers/daemon.h ++++ gpm-1.20.7/src/headers/daemon.h +@@ -180,7 +180,7 @@ extern struct mouse_features mouse_tabl + extern Gpm_Type mice[]; + extern Gpm_Type *repeated_type; + +-time_t last_selection_time; ++extern time_t last_selection_time; + + + diff --git a/gpm.changes b/gpm.changes index 2832ed7..0088913 100644 --- a/gpm.changes +++ b/gpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 15 09:54:37 UTC 2020 - Adam Majer + +- gpm-fno-common.patch: fix compilation in Tumbleweed (bsc#1160873) + ------------------------------------------------------------------- Thu Jan 9 07:43:00 UTC 2020 - Jean Delvare diff --git a/gpm.spec b/gpm.spec index c3494be..b71c94f 100644 --- a/gpm.spec +++ b/gpm.spec @@ -62,6 +62,7 @@ Patch29: gpm-do_create_symlink.patch Patch30: gpm-fix_fsf_addess.patch #PATCH-FIX-UPSTREAM Fix missing declarations Patch31: decls.patch +Patch32: gpm-fno-common.patch BuildRequires: bison BuildRequires: libtool BuildRequires: lzma @@ -127,6 +128,7 @@ Development files for the gpm (general purpose mouse) package. %patch29 %patch30 %patch31 -p1 +%patch32 -p1 cp %{S:2} %{S:3} %{S:4} . cp %{S:7} COPYING