- fixed compile vs new kernheaders (#131783)

This commit is contained in:
havill 2004-09-23 18:46:22 +00:00
parent 63c5666c24
commit d046600d12
2 changed files with 22 additions and 4 deletions

16
gpm-1.20.1-input.patch Normal file
View File

@ -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 <linux/input.h> 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 <linux/joystick.h> header file. */
#undef HAVE_LINUX_JOYSTICK_H

View File

@ -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 <sopwith@redhat.com>
- rebuilt
* Thu Sep 23 2004 Adrian Havill <havill@redhat.com> 1.20.1-51
- fixed compile vs new kernheaders (#131783)
* Tue May 04 2004 Adrian Havill <havill@redhat.com> 1.20.1-49
- remove superfluous "i die" msg (#121845)