rpms/kexec-tools/devel kexec-tools-1.101-makedumpfile-acrchbuild.patch, NONE, 1.1 kexec-tools.spec, 1.45, 1.46

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Aug 3 17:18:22 UTC 2006


Author: nhorman

Update of /cvs/dist/rpms/kexec-tools/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18396

Modified Files:
	kexec-tools.spec 
Added Files:
	kexec-tools-1.101-makedumpfile-acrchbuild.patch 
Log Message:
patching makedumpfile to build on arches besides x86_64 and x86

kexec-tools-1.101-makedumpfile-acrchbuild.patch:
 makedumpfile.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

--- NEW FILE kexec-tools-1.101-makedumpfile-acrchbuild.patch ---
--- kexec-tools-1.101/makedumpfile/makedumpfile.h.orig	2006-08-03 11:31:48.000000000 -0400
+++ kexec-tools-1.101/makedumpfile/makedumpfile.h	2006-08-03 11:37:20.000000000 -0400
@@ -149,10 +149,15 @@
 #ifdef __x86_64__
 #define MAXMEM			0x3fffffffffffUL
 #endif /* x86_64 */
-
 #ifdef __ia64__ /* ia64 */
+#define MAXMEM			0x3fffffffffffUL
 #endif          /* ia64 */
 
+#ifndef MAXMEM
+#warn "MAXMEM is not defined for the arch.  makedumpfile will likely not work"
+#define MAXMEM 0
+#endif
+
 #define MSG(x...)	fprintf(stdout, x)
 #define ERRMSG(x...)	fprintf(stderr, x)
 


Index: kexec-tools.spec
===================================================================
RCS file: /cvs/dist/rpms/kexec-tools/devel/kexec-tools.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- kexec-tools.spec	3 Aug 2006 15:25:55 -0000	1.45
+++ kexec-tools.spec	3 Aug 2006 17:18:20 -0000	1.46
@@ -54,6 +54,7 @@
 Patch603: kexec-tools-1.101-et-dyn.patch
 Patch604: kexec-tools-1.101-add-makedumpfile1.patch
 Patch605: kexec-tools-1.101-add-makedumpfile2.patch
+Patch606: kexec-tools-1.101-makedumpfile-archbuild.patch
 
 %description
 kexec-tools provides /sbin/kexec binary that facilitates a new
@@ -87,6 +88,7 @@
 
 %patch604 -p1
 %patch605 -p1
+%patch606 -p1
 
 %build
 %configure --sbindir=/sbin
@@ -139,6 +141,9 @@
 %doc TODO
 
 %changelog
+* Thu Aug 03 2006 Neil Horman <nhorman at redhat.com> - 1.101-39%{dist}.1
+- patch makedumpfile to build on other arches besides x86[_64]
+
 * Thu Aug 03 2006 Neil Horman <nhorman at redhat.com> - 1.101-38%{dist}.1
 - updating makedumpfile makefile to use pkg-config on glib-2.0
 




More information about the fedora-cvs-commits mailing list