rpms/petitboot/devel petitboot-0.0.1-build-limits_h.patch, NONE, 1.1 petitboot.spec, 1.9, 1.10

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Wed Apr 23 01:59:58 UTC 2008


Author: dwmw2

Update of /cvs/extras/rpms/petitboot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19861

Modified Files:
	petitboot.spec 
Added Files:
	petitboot-0.0.1-build-limits_h.patch 
Log Message:
build fix

petitboot-0.0.1-build-limits_h.patch:

--- NEW FILE petitboot-0.0.1-build-limits_h.patch ---
--- petitboot-0.0.1/devices/udev-helper.c~	2008-04-23 02:54:05.000000000 +0100
+++ petitboot-0.0.1/devices/udev-helper.c	2008-04-23 02:55:28.000000000 +0100
@@ -12,6 +12,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <string.h>
+#include <limits.h>
 #include <asm/byteorder.h>
 #include <linux/cdrom.h>
 #include <sys/ioctl.h>


Index: petitboot.spec
===================================================================
RCS file: /cvs/extras/rpms/petitboot/devel/petitboot.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- petitboot.spec	19 Feb 2008 02:05:34 -0000	1.9
+++ petitboot.spec	23 Apr 2008 01:59:23 -0000	1.10
@@ -2,7 +2,7 @@
 
 Name:		petitboot
 Version:	0.0.1
-Release:	8%{?dist}
+Release:	9%{?dist}
 Summary:	Graphical kexec-based bootloader, originally for PlayStation 3
 
 Group:		System Environment/Base
@@ -17,6 +17,7 @@
 Patch1:		petitboot-0.0.1-defaults.patch
 Patch2:		petitboot-0.0.1-makefile.patch
 Patch3:		libpng-1.2.16-minimal.patch
+Patch4:		petitboot-0.0.1-build-limits_h.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libpng-devel zlib-devel libX11-devel libjpeg-devel
@@ -36,6 +37,7 @@
 pushd libpng-%{pngver}
 %patch3 -p1
 popd
+%patch4 -p1
 
 %build
 pushd libpng-%{pngver}
@@ -64,6 +66,9 @@
 
 
 %changelog
+* Wed Apr 23 2008 David Woodhouse <dwmw2 at infradead.org> 0.0.1-9
+- Build fix: include <limits.h> in devices/udev-helper.c
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.0.1-8
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list