rpms/ppc64-utils/devel pmac-utils-0.4-cell.patch, NONE, 1.1 ppc64-utils.spec, 1.12, 1.13

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Oct 25 16:15:59 UTC 2005


Author: pnasrat

Update of /cvs/dist/rpms/ppc64-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18085

Modified Files:
	ppc64-utils.spec 
Added Files:
	pmac-utils-0.4-cell.patch 
Log Message:
new version

pmac-utils-0.4-cell.patch:
 nwnvsetenv.c |    2 ++
 1 files changed, 2 insertions(+)

--- NEW FILE pmac-utils-0.4-cell.patch ---
--- pmac-utils-2.1/nwnvsetenv.c.cell	2005-10-25 12:11:10.000000000 -0400
+++ pmac-utils-2.1/nwnvsetenv.c	2005-10-25 12:11:30.000000000 -0400
@@ -77,6 +77,8 @@
 	    *nvstart = start;
 	    return size; // seeked upto start
 	}
+	if (size < 0)
+	    break;
 	if (lseek(nvfd, size, SEEK_CUR) < 0)
 	   break;
 	start += size + sizeof(chrp_header);


Index: ppc64-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/ppc64-utils/devel/ppc64-utils.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ppc64-utils.spec	27 Sep 2005 16:08:17 -0000	1.12
+++ ppc64-utils.spec	25 Oct 2005 16:15:55 -0000	1.13
@@ -4,7 +4,7 @@
 Summary: Linux/PPC64 specific utilities
 Name: ppc64-utils
 Version: 0.7
-Release: 12
+Release: 13
 License: GPL and OSL
 Group: System Environment/Base
 Source0: ppc64-utils-%{ppc64utilsver}.tar.gz
@@ -14,6 +14,7 @@
 Source4: zImage.lds
 Source5: pmac-utils-%{pmacutilsver}.tar.gz
 Source6: zImage-boot.tar.gz
+Patch0: pmac-utils-0.4-cell.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 ExclusiveArch: ppc ppc64
@@ -26,6 +27,7 @@
 %prep
 %setup -n ppc64-utils-%{ppc64utilsver} -a 5 -a 6
 cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
+%patch0 -p0 -b .cell
 
 %build
 make
@@ -66,6 +68,9 @@
 %{_mandir}/man8/*
 
 %changelog
+* Tue Oct 25 2005 Paul Nasrat <pnasrat at redhat.com> - 0.7-13
+- Stop scanning nvram on broken content (#170418)
+
 * Tue Sep 27 2005 David Woodhouse <dwmw2 at redhat.com> - 0.7-12
 - Work around old Pegasos II 'claim' method bug
 




More information about the fedora-cvs-commits mailing list