diff --git a/gpm-1.20.1-glibc210.patch b/gpm-1.20.1-glibc210.patch new file mode 100644 index 0000000..211482d --- /dev/null +++ b/gpm-1.20.1-glibc210.patch @@ -0,0 +1,12 @@ +Index: gpm-1.20.1/src/gpm.c +=================================================================== +--- gpm-1.20.1.orig/src/gpm.c ++++ gpm-1.20.1/src/gpm.c +@@ -22,6 +22,7 @@ + ********/ + + #include ++#define __USE_GNU + #include + #include /* strerror(); ?!? */ + #include diff --git a/gpm.changes b/gpm.changes index 0b69fd4..0b38a13 100644 --- a/gpm.changes +++ b/gpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 11 22:22:40 CEST 2009 - coolo@novell.com + +- fix build with glibc 2.10 + ------------------------------------------------------------------- Wed Dec 10 12:34:56 CET 2008 - olh@suse.de diff --git a/gpm.spec b/gpm.spec index 0c8bde2..dc210b5 100644 --- a/gpm.spec +++ b/gpm.spec @@ -1,7 +1,7 @@ # # spec file for package gpm (Version 1.20.1) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,7 +32,7 @@ Obsoletes: gpm-64bit %endif # Version: 1.20.1 -Release: 452 +Release: 453 Summary: Console Mouse Support Source0: http://arcana.linux.it/pub/gpm/gpm-%{version}.tar.bz2 Source1: rcgpm @@ -56,6 +56,7 @@ Patch14: gpm-%{version}-warnings.patch Patch15: gpm-%{version}-verbosity.patch Patch16: gpm-%{version}-OPEN_MAX.patch Patch17: %{name}-%{version}-log.patch +Patch18: %{name}-%{version}-glibc210.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %install_info_prereq @@ -92,6 +93,7 @@ Authors: %patch15 %patch16 -p1 %patch17 +%patch18 -p1 # cp %{S:1} %{S:2} %{S:3} . @@ -179,6 +181,8 @@ rm -rf $RPM_BUILD_ROOT /var/adm/fillup-templates/* %changelog +* Thu Jun 11 2009 coolo@novell.com +- fix build with glibc 2.10 * Wed Dec 10 2008 olh@suse.de - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade (bnc#437293) @@ -232,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT problems with configuration [#106700] * Sat Apr 09 2005 aj@suse.de - Fix build also on i386 with GCC 4. -* Sat Mar 26 2005 aj@suse.de +* Sun Mar 27 2005 aj@suse.de - Fix build with GCC 4. * Thu Mar 24 2005 uli@suse.de - fixed to build on ARM