rpms/cpmtools/devel cpmtools-2.11-overflow.patch, NONE, 1.1 cpmtools.spec, 1.4, 1.5
Lucian Langa
lucilanga at fedoraproject.org
Tue Dec 1 08:28:27 UTC 2009
- Previous message (by thread): rpms/freeipmi/devel .cvsignore,1.14,1.15 sources,1.14,1.15
- Next message (by thread): rpms/ClanLib06/F-12 ClanLib-0.6.5-extra-keys.patch, NONE, 1.1 ClanLib-0.6.5-iterator-abuse.patch, NONE, 1.1 ClanLib-0.6.5-xev-keycodes.patch, NONE, 1.1 ClanLib06.spec, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lucilanga
Update of /cvs/pkgs/rpms/cpmtools/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11763
Modified Files:
cpmtools.spec
Added Files:
cpmtools-2.11-overflow.patch
Log Message:
patch to fix crash in cpmcp
cpmtools-2.11-overflow.patch:
cpmcp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE cpmtools-2.11-overflow.patch ---
diff -Naur cpmtools-2.11/cpmcp.c cpmtools-2.11-mod/cpmcp.c
--- cpmtools-2.11/cpmcp.c 2009-07-27 21:38:57.000000000 +0300
+++ cpmtools-2.11-mod/cpmcp.c 2009-12-01 10:24:51.000000000 +0200
@@ -225,7 +225,7 @@
else
{
struct cpmInode ino;
- char cpmname[2+8+3+1]; /* 00foobarxy.zzy\0 */
+ char cpmname[2+8+1+3+1]; /* 00foobarxy.zzy\0 */
if (todir)
{
Index: cpmtools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cpmtools/devel/cpmtools.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- cpmtools.spec 29 Nov 2009 20:09:07 -0000 1.4
+++ cpmtools.spec 1 Dec 2009 08:28:27 -0000 1.5
@@ -1,6 +1,6 @@
Name: cpmtools
Version: 2.11
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Programs for accessing CP/M disks
Group: Applications/System
@@ -8,6 +8,7 @@ License: GPLv3+
URL: http://www.moria.de/~michael/cpmtools/
Source0: http://www.moria.de/~michael/cpmtools/cpmtools-%{version}.tar.gz
Patch0: cpmtools-2.11-nostrip.patch
+Patch1: cpmtools-2.11-overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
@@ -22,6 +23,7 @@ exchange with a Z80-PC simulator, but it
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .nostrip
+%patch1 -p1 -b .overflow
sed -i -e "s!@datarootdir@/diskdefs!\$\(DATADIR\)/diskdefs!" Makefile.in
#modify path contained in man files
sed -i -e "s!@DATADIR@!%{_datadir}/%{name}!" *.1.in
@@ -54,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Dec 01 2009 Lucian Langa <cooly at gnome.eu.org> - 2.11-2
+- patch to fix crash in cpmcp
+
* Sun Nov 29 2009 Lucian Langa <cooly at gnome.eu.org> - 2.11-1
- new upstream release
- Previous message (by thread): rpms/freeipmi/devel .cvsignore,1.14,1.15 sources,1.14,1.15
- Next message (by thread): rpms/ClanLib06/F-12 ClanLib-0.6.5-extra-keys.patch, NONE, 1.1 ClanLib-0.6.5-iterator-abuse.patch, NONE, 1.1 ClanLib-0.6.5-xev-keycodes.patch, NONE, 1.1 ClanLib06.spec, 1.16, 1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list