rpms/kernel/devel linux-2.6-compile-fix-gcc-43.patch, NONE, 1.1 kernel.spec, 1.396, 1.397
Chuck Ebbert (cebbert)
fedora-extras-commits at redhat.com
Fri Feb 1 01:29:11 UTC 2008
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6335
Modified Files:
kernel.spec
Added Files:
linux-2.6-compile-fix-gcc-43.patch
Log Message:
* Thu Jan 31 2008 Chuck Ebbert <cebbert at redhat.com>
- Fix build with GCC 4.3
linux-2.6-compile-fix-gcc-43.patch:
--- NEW FILE linux-2.6-compile-fix-gcc-43.patch ---
---
include/linux/time.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.24.noarch.orig/include/linux/time.h
+++ linux-2.6.24.noarch/include/linux/time.h
@@ -169,7 +169,7 @@ extern struct timeval ns_to_timeval(cons
* @a: pointer to timespec to be incremented
* @ns: unsigned nanoseconds value to be added
*/
-static inline void timespec_add_ns(struct timespec *a, u64 ns)
+static inline void timespec_add_ns(struct timespec *a, volatile u64 ns)
{
ns += a->tv_nsec;
while(unlikely(ns >= NSEC_PER_SEC)) {
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -r1.396 -r1.397
--- kernel.spec 31 Jan 2008 22:46:28 -0000 1.396
+++ kernel.spec 1 Feb 2008 01:28:34 -0000 1.397
@@ -626,6 +626,7 @@
Patch691: linux-2.6-rndis_wlan.patch
Patch692: linux-2.6-ath5k-use-soft-wep.patch
Patch820: linux-2.6-compile-fixes.patch
+Patch821: linux-2.6-compile-fix-gcc-43.patch
Patch1101: linux-2.6-default-mmf_dump_elf_headers.patch
Patch1102: linux-2.6-i386-vdso-install-unstripped-copies-on-disk.patch
Patch1400: linux-2.6-smarter-relatime.patch
@@ -1166,6 +1167,9 @@
ApplyPatch linux-2.6-compile-fixes.patch
fi
+# build with gcc43
+ApplyPatch linux-2.6-compile-fix-gcc-43.patch
+
# build id related enhancements
ApplyPatch linux-2.6-default-mmf_dump_elf_headers.patch
ApplyPatch linux-2.6-i386-vdso-install-unstripped-copies-on-disk.patch
@@ -1781,6 +1785,9 @@
%changelog
* Thu Jan 31 2008 Chuck Ebbert <cebbert at redhat.com>
+- Fix build with GCC 4.3
+
+* Thu Jan 31 2008 Chuck Ebbert <cebbert at redhat.com>
- Fix null pointer dereference in bonding driver (#430391)
* Wed Jan 30 2008 Eric Sandeen <sandeen at redhat.com>
More information about the fedora-extras-commits
mailing list