OBS User unknown 2009-06-12 14:28:12 +00:00 committed by Git OBS Bridge
parent 7468c18e48
commit 55b3f48cc3
3 changed files with 24 additions and 3 deletions

12
gpm-1.20.1-glibc210.patch Normal file
View File

@ -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 <stdio.h>
+#define __USE_GNU
#include <stdlib.h>
#include <string.h> /* strerror(); ?!? */
#include <errno.h>

View File

@ -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 Wed Dec 10 12:34:56 CET 2008 - olh@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package gpm (Version 1.20.1) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -32,7 +32,7 @@ Obsoletes: gpm-64bit
%endif %endif
# #
Version: 1.20.1 Version: 1.20.1
Release: 452 Release: 453
Summary: Console Mouse Support Summary: Console Mouse Support
Source0: http://arcana.linux.it/pub/gpm/gpm-%{version}.tar.bz2 Source0: http://arcana.linux.it/pub/gpm/gpm-%{version}.tar.bz2
Source1: rcgpm Source1: rcgpm
@ -56,6 +56,7 @@ Patch14: gpm-%{version}-warnings.patch
Patch15: gpm-%{version}-verbosity.patch Patch15: gpm-%{version}-verbosity.patch
Patch16: gpm-%{version}-OPEN_MAX.patch Patch16: gpm-%{version}-OPEN_MAX.patch
Patch17: %{name}-%{version}-log.patch Patch17: %{name}-%{version}-log.patch
Patch18: %{name}-%{version}-glibc210.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq PreReq: %install_info_prereq
@ -92,6 +93,7 @@ Authors:
%patch15 %patch15
%patch16 -p1 %patch16 -p1
%patch17 %patch17
%patch18 -p1
# #
cp %{S:1} %{S:2} %{S:3} . cp %{S:1} %{S:2} %{S:3} .
@ -179,6 +181,8 @@ rm -rf $RPM_BUILD_ROOT
/var/adm/fillup-templates/* /var/adm/fillup-templates/*
%changelog %changelog
* Thu Jun 11 2009 coolo@novell.com
- fix build with glibc 2.10
* Wed Dec 10 2008 olh@suse.de * Wed Dec 10 2008 olh@suse.de
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade - use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293) (bnc#437293)
@ -232,7 +236,7 @@ rm -rf $RPM_BUILD_ROOT
problems with configuration [#106700] problems with configuration [#106700]
* Sat Apr 09 2005 aj@suse.de * Sat Apr 09 2005 aj@suse.de
- Fix build also on i386 with GCC 4. - 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. - Fix build with GCC 4.
* Thu Mar 24 2005 uli@suse.de * Thu Mar 24 2005 uli@suse.de
- fixed to build on ARM - fixed to build on ARM