packages: kernel-net-eplip/kernel-net-eplip.spec, kernel-net-eplip/kernel-n...

witekfl witekfl at pld-linux.org
Sun Oct 17 09:21:18 CEST 2010


Author: witekfl                      Date: Sun Oct 17 07:21:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added patch for x64

---- Files affected:
packages/kernel-net-eplip:
   kernel-net-eplip.spec (1.13 -> 1.14) , kernel-net-eplip-x64.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/kernel-net-eplip/kernel-net-eplip.spec
diff -u packages/kernel-net-eplip/kernel-net-eplip.spec:1.13 packages/kernel-net-eplip/kernel-net-eplip.spec:1.14
--- packages/kernel-net-eplip/kernel-net-eplip.spec:1.13	Fri Oct 15 14:10:02 2010
+++ packages/kernel-net-eplip/kernel-net-eplip.spec	Sun Oct 17 09:21:13 2010
@@ -5,7 +5,7 @@
 
 %define		_orig_name	eplip
 %define		pname		kernel-net-eplip
-%define		_rel	2
+%define		_rel	3
 
 Summary:	EPLIP driver for 2.6.x kernels
 Summary(pl.UTF-8):	Sterownik EPLIP dla jąder 2.6.x
@@ -26,6 +26,7 @@
 Patch7:		%{pname}-2.6.24.patch
 Patch8:		%{pname}-autoconf.patch
 Patch9:		%{pname}-2.6.32.patch
+Patch10:	%{pname}-x64.patch
 URL:		http://e-plip.sourceforge.net/
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build}
 BuildRequires:	rpmbuild(macros) >= 1.379
@@ -52,6 +53,7 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 cat <<EOF > Makefile
 obj-m += eplip.o
@@ -85,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2010/10/17 07:21:13  witekfl
+- added patch for x64
+
 Revision 1.13  2010/10/15 12:10:02  witekfl
 - adjusted to the latest kernels
 

================================================================
Index: packages/kernel-net-eplip/kernel-net-eplip-x64.patch
diff -u /dev/null packages/kernel-net-eplip/kernel-net-eplip-x64.patch:1.1
--- /dev/null	Sun Oct 17 09:21:18 2010
+++ packages/kernel-net-eplip/kernel-net-eplip-x64.patch	Sun Oct 17 09:21:13 2010
@@ -0,0 +1,14 @@
+--- eplip-0.5.6/eplip-drv.c.old	2010-10-17 08:38:24.000000000 +0200
++++ eplip-0.5.6/eplip-drv.c	2010-10-17 08:40:32.000000000 +0200
+@@ -714,9 +714,9 @@
+ 	struct ethhdr *eth;
+ 	unsigned char *rawp;
+ 
+-	skb->mac_header = skb->data;
++	skb_reset_mac_header(skb);
+ 	skb_pull(skb,dev->hard_header_len);
+-	eth= (struct ethhdr *)skb->mac_header;
++	eth = eth_hdr(skb);
+ 
+ 	if(*eth->h_dest&1)
+ 	{
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel-net-eplip/kernel-net-eplip.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list