This commit is contained in:
parent
5c564bba46
commit
c7a7007900
13
gpm-1.20.1-OPEN_MAX.patch
Normal file
13
gpm-1.20.1-OPEN_MAX.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: gpm-1.20.1/src/prog/gpm-root.y
|
||||||
|
===================================================================
|
||||||
|
--- gpm-1.20.1.orig/src/prog/gpm-root.y 2002-12-24 23:57:16.000000000 +0100
|
||||||
|
+++ gpm-1.20.1/src/prog/gpm-root.y 2007-12-12 11:15:15.000000000 +0100
|
||||||
|
@@ -525,7 +525,7 @@ int f_bgcmd(int mode, DrawItem *self, in
|
||||||
|
open("/dev/null",O_RDONLY); /* stdin */
|
||||||
|
open(consolename,O_WRONLY); /* stdout */
|
||||||
|
dup(1); /* stderr */
|
||||||
|
- for (i=3;i<OPEN_MAX; i++) close(i);
|
||||||
|
+ for (i=3;i<FOPEN_MAX; i++) close(i);
|
||||||
|
execl("/bin/sh","sh","-c",self->arg,(char *)NULL);
|
||||||
|
exit(1); /* shouldn't happen */
|
||||||
|
default: return 0;
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 12 11:17:26 CET 2007 - rguenther@suse.de
|
||||||
|
|
||||||
|
- use FOPEN_MAX instead of OPEN_MAX to fix build.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 7 09:23:55 CEST 2007 - anosek@suse.cz
|
Tue Aug 7 09:23:55 CEST 2007 - anosek@suse.cz
|
||||||
|
|
||||||
|
10
gpm.spec
10
gpm.spec
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
Name: gpm
|
Name: gpm
|
||||||
BuildRequires: bison ncurses-devel
|
BuildRequires: bison ncurses-devel
|
||||||
URL: http://linux.schottelius.org/gpm/
|
Url: http://linux.schottelius.org/gpm/
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/Console
|
Group: System/Console
|
||||||
Provides: select
|
Provides: select
|
||||||
PreReq: /bin/sed %insserv_prereq %fillup_prereq
|
PreReq: /bin/sed %insserv_prereq %fillup_prereq
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Version: 1.20.1
|
Version: 1.20.1
|
||||||
Release: 379
|
Release: 392
|
||||||
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
|
||||||
@ -41,6 +41,7 @@ Patch12: gpm-%{version}-daemon_mode.patch
|
|||||||
Patch13: gpm-%{version}-gunze-overflow.patch
|
Patch13: gpm-%{version}-gunze-overflow.patch
|
||||||
Patch14: gpm-%{version}-warnings.patch
|
Patch14: gpm-%{version}-warnings.patch
|
||||||
Patch15: gpm-%{version}-verbosity.patch
|
Patch15: gpm-%{version}-verbosity.patch
|
||||||
|
Patch16: gpm-%{version}-OPEN_MAX.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
|
|
||||||
@ -75,6 +76,7 @@ Authors:
|
|||||||
%patch13
|
%patch13
|
||||||
%patch14
|
%patch14
|
||||||
%patch15
|
%patch15
|
||||||
|
%patch16 -p1
|
||||||
#
|
#
|
||||||
cp %{S:1} %{S:2} %{S:3} .
|
cp %{S:1} %{S:2} %{S:3} .
|
||||||
|
|
||||||
@ -162,6 +164,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/var/adm/fillup-templates/*
|
/var/adm/fillup-templates/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 12 2007 - rguenther@suse.de
|
||||||
|
- use FOPEN_MAX instead of OPEN_MAX to fix build.
|
||||||
* Tue Aug 07 2007 - anosek@suse.cz
|
* Tue Aug 07 2007 - anosek@suse.cz
|
||||||
- fixed /etc/sysconfig/mouse should configure the mouse by default for gpm
|
- fixed /etc/sysconfig/mouse should configure the mouse by default for gpm
|
||||||
[#262749]
|
[#262749]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user