Author: kwizart
Update of /cvs/free/rpms/xtables-addons-kmod/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv16664/F-15
Modified Files:
xtables-addons-kmod.spec
Added Files:
xtables-addons-1.39-fakek.patch
Log Message:
Fix for fake kernel versioning
xtables-addons-1.39-fakek.patch:
ip_set_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE xtables-addons-1.39-fakek.patch ---
diff -up
xtables-addons-kmod-1.39/xtables-addons-1.39/extensions/ipset-6/ip_set_core.c.fakek
xtables-addons-kmod-1.39/xtables-addons-1.39/extensions/ipset-6/ip_set_core.c
---
xtables-addons-kmod-1.39/xtables-addons-1.39/extensions/ipset-6/ip_set_core.c.fakek 2011-11-23
21:20:09.628117659 +0100
+++
xtables-addons-kmod-1.39/xtables-addons-1.39/extensions/ipset-6/ip_set_core.c 2011-11-23
21:20:12.963316519 +0100
@@ -1170,7 +1170,7 @@ ip_set_dump(struct sk_buff *skb, struct
genl_unlock();
ret = netlink_dump_start(ctnl, skb, nlh,
ip_set_dump_start,
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 1, 0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 41)
ip_set_dump_done);
#else
ip_set_dump_done, 0);
Index: xtables-addons-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/xtables-addons-kmod/F-15/xtables-addons-kmod.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- xtables-addons-kmod.spec 23 Nov 2011 10:06:20 -0000 1.23
+++ xtables-addons-kmod.spec 23 Nov 2011 20:24:24 -0000 1.24
@@ -13,6 +13,7 @@
Group: System Environment/Kernel
URL:
http://xtables-addons.sourceforge.net
Source0:
http://downloads.sourceforge.net/xtables-addons/xtables-addons-%{version}...
+Patch0: SOURCES/xtables-addons-1.39-fakek.patch
#Source11: xtables-addons-kmodtool-excludekernel-filterfile
# get the needed BuildRequires (in parts depending on what we build for)
BuildRequires: %{_bindir}/kmodtool
@@ -36,6 +37,7 @@
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
%setup -q -c -T -a 0
+%patch0 -p1 -b .fakek
for kernel_version in %{?kernel_versions} ; do
cp -a xtables-addons-%{version} _kmod_build_${kernel_version%%___*}
done