rpms/kernel/devel linux-2.6-net-sch-drr-fix-u32-type.patch, NONE, 1.1 kernel.spec, 1.1281, 1.1282

Chuck Ebbert cebbert at fedoraproject.org
Tue Feb 10 03:25:02 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15472

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-net-sch-drr-fix-u32-type.patch 
Log Message:
Fix type in header so iptables will build. (#484679)

linux-2.6-net-sch-drr-fix-u32-type.patch:

--- NEW FILE linux-2.6-net-sch-drr-fix-u32-type.patch ---
Using u32 in this header breaks the build of iptables.

Signed-off-by: Chuck Ebbert <cebbert at redhat.com>

Index: linux-2.6.28.noarch/include/linux/pkt_sched.h
===================================================================
--- linux-2.6.28.noarch.orig/include/linux/pkt_sched.h
+++ linux-2.6.28.noarch/include/linux/pkt_sched.h
@@ -515,7 +515,7 @@ enum
 
 struct tc_drr_stats
 {
-	u32	deficit;
+	__u32	deficit;
 };
 
 #endif


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1281
retrieving revision 1.1282
diff -u -r1.1281 -r1.1282
--- kernel.spec	9 Feb 2009 21:10:18 -0000	1.1281
+++ kernel.spec	10 Feb 2009 03:24:31 -0000	1.1282
@@ -666,6 +666,8 @@
 Patch9001: revert-fix-modules_install-via-nfs.patch
 Patch9002: linux-2.6-defaults-intel_iommu-off.patch
 
+Patch9090: linux-2.6-net-sch-drr-fix-u32-type.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1174,6 +1176,8 @@
 #  bugs: #481356, #479996
 ApplyPatch linux-2.6-defaults-intel_iommu-off.patch
 
+ApplyPatch linux-2.6-net-sch-drr-fix-u32-type.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -1751,6 +1755,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Feb 09 2009 Chuck Ebbert <cebbert at redhat.com>
+- Fix type in header so iptables will build. (#484679)
+
 * Mon Feb 09 2009 Kyle McMartin <kyle at redhat.com>
 - Enable CONFIG_X86_BIGSMP, to enable support for more than 8 cpus,
   since we have NR_CPUS=32...




More information about the fedora-extras-commits mailing list