Accepting request 513698 from Base:System
- decls.patch: fix missing declarations OBS-URL: https://build.opensuse.org/request/show/513698 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpm?expand=0&rev=48
This commit is contained in:
commit
d8972e9c36
30
decls.patch
Normal file
30
decls.patch
Normal file
@ -0,0 +1,30 @@
|
||||
__sigemptyset has been removed from glibc public
|
||||
API headers in upcoming (2.26) release onwards
|
||||
|
||||
Upstream-PR: https://github.com/telmich/gpm/pull/20
|
||||
|
||||
Index: gpm-1.20.7/src/daemon/open_console.c
|
||||
===================================================================
|
||||
--- gpm-1.20.7.orig/src/daemon/open_console.c
|
||||
+++ gpm-1.20.7/src/daemon/open_console.c
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <fcntl.h> /* open and co. */
|
||||
#include <sys/stat.h> /* stat() */
|
||||
#include <sys/ioctl.h> /* ioctl */
|
||||
+#include <sys/sysmacros.h> /* major */
|
||||
|
||||
/* Linux specific (to be outsourced in gpm2 */
|
||||
#include <linux/serial.h> /* for serial console check */
|
||||
Index: gpm-1.20.7/src/prog/gpm-root.y
|
||||
===================================================================
|
||||
--- gpm-1.20.7.orig/src/prog/gpm-root.y
|
||||
+++ gpm-1.20.7/src/prog/gpm-root.y
|
||||
@@ -1196,7 +1196,7 @@ int main(int argc, char **argv)
|
||||
/* reap your zombies */
|
||||
childaction.sa_handler=reap_children;
|
||||
#if defined(__GLIBC__)
|
||||
- __sigemptyset(&childaction.sa_mask);
|
||||
+ sigemptyset(&childaction.sa_mask);
|
||||
#else /* __GLIBC__ */
|
||||
childaction.sa_mask=0;
|
||||
#endif /* __GLIBC__ */
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 13:10:44 UTC 2017 - schwab@suse.de
|
||||
|
||||
- decls.patch: fix missing declarations
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 16:55:57 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
|
3
gpm.spec
3
gpm.spec
@ -55,6 +55,8 @@ Patch28: gpm-dependencies.patch
|
||||
Patch29: gpm-do_create_symlink.patch
|
||||
#PATCH-FIX-UPSTREAM Copy the current licence text from gpl-2.0+ to gpm.h
|
||||
Patch30: gpm-fix_fsf_addess.patch
|
||||
#PATCH-FIX-UPSTREAM Fix missing declarations
|
||||
Patch31: decls.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: libtool
|
||||
BuildRequires: lzma
|
||||
@ -118,6 +120,7 @@ Development files for the gpm (general purpose mouse) package.
|
||||
%patch28
|
||||
%patch29
|
||||
%patch30
|
||||
%patch31 -p1
|
||||
cp %{S:2} %{S:3} %{S:4} .
|
||||
cp %{S:7} COPYING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user