SHA256
3
0
forked from pool/gpm
OBS User unknown 2007-01-04 11:11:20 +00:00 committed by Git OBS Bridge
parent 947d165a43
commit 2983d978cf
3 changed files with 26 additions and 4 deletions

11
gpm-1.20.1-warnings.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/twiddler.c
+++ src/twiddler.c
@@ -331,7 +331,7 @@
int len = strlen(mod);
if (len == 0) return twiddler_map->table;
- for (ptr = twiddler_map; ptr->table; ptr = ptr++) {
+ for (ptr = twiddler_map; ptr->table; ptr++) {
if (!strncasecmp(mod,ptr->keyword,len))
return ptr->table;
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 4 12:00:46 CET 2007 - anosek@suse.cz
- fixed twiddler.c:334: warning: operation on 'ptr' may be
undefined (warnings.patch)
-------------------------------------------------------------------
Thu Feb 16 14:23:52 CET 2006 - mmarek@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package gpm (Version 1.20.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -12,13 +12,13 @@
Name: gpm
URL: http://linux.schottelius.org/gpm/
License: GPL
License: GNU General Public License (GPL)
Group: System/Console
Provides: select
PreReq: /bin/sed %insserv_prereq %fillup_prereq
Autoreqprov: on
Version: 1.20.1
Release: 312
Release: 341
Summary: Console Mouse Support
Source0: http://arcana.linux.it/pub/gpm/gpm-%{version}.tar.bz2
Source1: rcgpm
@ -38,6 +38,7 @@ Patch10: gpm-%{version}-ceil.patch
Patch11: gpm-%{version}-Gpm_Open.patch
Patch12: gpm-%{version}-daemon_mode.patch
Patch13: gpm-%{version}-gunze-overflow.patch
Patch14: gpm-%{version}-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
@ -70,6 +71,7 @@ Authors:
%patch11
%patch12
%patch13
%patch14
#
cp %{S:1} %{S:2} %{S:3} .
@ -160,6 +162,9 @@ rm -rf $RPM_BUILD_ROOT
/var/adm/fillup-templates/*
%changelog -n gpm
* Thu Jan 04 2007 - anosek@suse.cz
- fixed twiddler.c:334: warning: operation on 'ptr' may be
undefined (warnings.patch)
* Thu Feb 16 2006 - mmarek@suse.cz
- merge rcgpm-error-messages.diff into rcgpm
- hint users to run 'yast mouse' to configure gpm
@ -363,7 +368,7 @@ rm -rf $RPM_BUILD_ROOT
* Thu Apr 12 2001 - pmladek@suse.cz
- fixed init script by new skeleton
- fixed to compile
- removed include $(DEPS) from makefile
- removed include $(DEPS) from makefile
* Mon Jan 15 2001 - nadvornik@suse.cz
- added Required-Start: $remote_fs $syslog [bug #5580]
* Tue Jan 02 2001 - olh@suse.de