Author: pawelz Date: Sun Dec 7 02:57:46 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: - buildfix for kernel 2.6.17 with new gcc (it is needed on ti, but not on ac)
---- Files affected: SOURCES: kernel-2.6.17-sumversion-buildfix.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/kernel-2.6.17-sumversion-buildfix.patch diff -u /dev/null SOURCES/kernel-2.6.17-sumversion-buildfix.patch:1.1 --- /dev/null Sun Dec 7 03:57:46 2008 +++ SOURCES/kernel-2.6.17-sumversion-buildfix.patch Sun Dec 7 03:57:40 2008 @@ -0,0 +1,51 @@ +From: Akio Takebe <takebe_akio <at> jp.fujitsu.com> +Subject: [Patch] fix compilation +Newsgroups: gmane.comp.emulators.xen.devel +Date: 2008-06-02 03:09:10 GMT (26 weeks, 5 days, 19 hours and 43 minutes ago) + +Hi, + +I got the following compilation error. +This patch fix the error, I think it is needed for xen-testing tree. + +/root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c: In function +'get_src_version': +/root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: error: +'PATH_MAX' undeclared (first use in this function) +/root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: error: +(Each undeclared identifier is reported only once +/root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: error: +for each function it appears in.) +/root/unstable/linux-2.6.18-xen.hg/scripts/mod/sumversion.c:384: +warning: unused variable 'filelist' +make[7]: *** [scripts/mod/sumversion.o] Error 1 +make[6]: *** [scripts/mod] Error 2 +make[5]: *** [scripts] Error 2 +make[4]: *** [modules] Error 2 +make[3]: *** [modules] Error 2 +make[3]: Leaving directory `/root/unstable/xen-unstable.hg/build-linux-2. +6.18-xen_x86_32' +make[2]: *** [build] Error 1 +make[2]: Leaving directory `/root/unstable/xen-unstable.hg' +make[1]: *** [linux-2.6-xen-install] Error 2 +make[1]: Leaving directory `/root/unstable/xen-unstable.hg' +make: *** [install-kernels] Error 1 + +Signed-off-by: Akio Takebe <takebe_akio <at> jp.fujitsu.com> + +Best Regards, + +Akio Takebe + +--- +diff -r 557a4a0a5eac scripts/mod/sumversion.c +--- a/scripts/mod/sumversion.c Fri May 30 19:08:50 2008 +0100 ++++ b/scripts/mod/sumversion.c Mon Jun 02 19:47:43 2008 +0900 +@@ -8,6 +8,7 @@ + #include <errno.h> + #include <string.h> + #include "modpost.h" ++#include <linux/limits.h> + + /* + * Stolen form Cryptographic API. ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
