SHA256
1
0
forked from pool/gpm

- 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
This commit is contained in:
Adam Majer 2020-01-15 09:56:17 +00:00 committed by Git OBS Bridge
parent 97fc6c6657
commit 59915b6f10
3 changed files with 20 additions and 0 deletions

13
gpm-fno-common.patch Normal file
View File

@ -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;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 15 09:54:37 UTC 2020 - Adam Majer <adam.majer@suse.de>
- gpm-fno-common.patch: fix compilation in Tumbleweed (bsc#1160873)
-------------------------------------------------------------------
Thu Jan 9 07:43:00 UTC 2020 - Jean Delvare <jdelvare@suse.com>

View File

@ -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