diff --git a/gpm-1.20.1-input.patch b/gpm-1.20.1-input.patch new file mode 100644 index 0000000..152e603 --- /dev/null +++ b/gpm-1.20.1-input.patch @@ -0,0 +1,16 @@ +diff -ur gpm-1.20.1.orig/src/headers/config.h.in gpm-1.20.1/src/headers/config.h.in +--- gpm-1.20.1.orig/src/headers/config.h.in 2004-09-04 10:24:11.000000000 -0400 ++++ gpm-1.20.1/src/headers/config.h.in 2004-09-04 10:26:02.000000000 -0400 +@@ -46,6 +46,12 @@ + /* Define if you have the header file. */ + #undef HAVE_LINUX_INPUT_H + ++/* Definedif you have the input_id structure */ ++#undef HAVE_INPUT_ID ++ ++/* Definedif you have the input_absinfo structure */ ++#undef HAVE_INPUT_ABSINFO ++ + /* Define if you have the header file. */ + #undef HAVE_LINUX_JOYSTICK_H + diff --git a/gpm.spec b/gpm.spec index 381c876..b0b227c 100644 --- a/gpm.spec +++ b/gpm.spec @@ -1,7 +1,7 @@ Summary: A mouse server for the Linux console. Name: gpm Version: 1.20.1 -Release: 50 +Release: 51 License: GPL Group: System Environment/Daemons Source: http://ftp.linux.it/pub/People/rubini/gpm/%{name}-%{version}.tar.gz @@ -14,13 +14,14 @@ Patch4: gpm-1.20.1-nodebug.patch Patch5: gpm-1.20.1-gpmopen.patch Patch6: gpm-1.20.1-idie.patch Patch16: gpm-1.20.1-subscript.patch +Patch17: gpm-1.20.1-input.patch Prereq: /sbin/chkconfig /sbin/ldconfig /sbin/install-info Requires: bash >= 2.0 # this defines the library version that this package builds. %define LIBVER 1.19.0 BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildPrereq: sed gawk texinfo +BuildPrereq: sed gawk texinfo bison ncurses-devel %description Gpm provides mouse support to text-based Linux applications like the @@ -52,6 +53,7 @@ mouse button. %patch5 -p1 -b .gpmopen %patch6 -p1 -b .idie %patch16 -p1 -b .subscript +%patch17 -p1 -b .input %build autoconf @@ -170,8 +172,8 @@ fi %{_libdir}/libgpm.so %changelog -* Tue Jun 15 2004 Elliot Lee -- rebuilt +* Thu Sep 23 2004 Adrian Havill 1.20.1-51 +- fixed compile vs new kernheaders (#131783) * Tue May 04 2004 Adrian Havill 1.20.1-49 - remove superfluous "i die" msg (#121845)