packages: r8168/r8168.spec, r8168/r8168-kernel-3.3.patch (NEW)=?UTF-8?Q?=20?=- ifdef meth...
baggins
baggins at pld-linux.org
Fri Apr 6 22:18:40 CEST 2012
Author: baggins Date: Fri Apr 6 20:18:40 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- ifdef methods removed in linux 3.3
---- Files affected:
packages/r8168:
r8168.spec (1.85 -> 1.86) , r8168-kernel-3.3.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/r8168/r8168.spec
diff -u packages/r8168/r8168.spec:1.85 packages/r8168/r8168.spec:1.86
--- packages/r8168/r8168.spec:1.85 Fri Apr 6 22:11:58 2012
+++ packages/r8168/r8168.spec Fri Apr 6 22:18:34 2012
@@ -25,6 +25,7 @@
# unfortunately this download is not DF-friendly.
Source0: %{name}-%{version}.tar.bz2
# Source0-md5: 5dc15a976950250b7b543876cc3350a8
+Patch0: r8168-kernel-3.3.patch
%if %{with kernel}
%if %{with dist_kernel}
BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.33
@@ -62,6 +63,7 @@
%prep
%setup -q
+%patch0 -p1
%build
%if %{with kernel}
@@ -96,6 +98,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.86 2012/04/06 20:18:34 baggins
+- ifdef methods removed in linux 3.3
+
Revision 1.85 2012/04/06 20:11:58 baggins
- rel 1
================================================================
Index: packages/r8168/r8168-kernel-3.3.patch
diff -u /dev/null packages/r8168/r8168-kernel-3.3.patch:1.1
--- /dev/null Fri Apr 6 22:18:40 2012
+++ packages/r8168/r8168-kernel-3.3.patch Fri Apr 6 22:18:34 2012
@@ -0,0 +1,18 @@
+--- r8168-8.029.00/src/r8168_n.c~ 2012-03-07 09:35:44.000000000 +0100
++++ r8168-8.029.00/src/r8168_n.c 2012-04-06 22:17:27.068049894 +0200
+@@ -2229,6 +2229,7 @@
+ .set_settings = rtl8168_set_settings,
+ .get_msglevel = rtl8168_get_msglevel,
+ .set_msglevel = rtl8168_set_msglevel,
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
+ .get_rx_csum = rtl8168_get_rx_csum,
+ .set_rx_csum = rtl8168_set_rx_csum,
+ .get_tx_csum = rtl8168_get_tx_csum,
+@@ -2239,6 +2240,7 @@
+ .get_tso = ethtool_op_get_tso,
+ .set_tso = ethtool_op_set_tso,
+ #endif
++#endif
+ .get_regs = rtl8168_get_regs,
+ .get_wol = rtl8168_get_wol,
+ .set_wol = rtl8168_set_wol,
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/r8168/r8168.spec?r1=1.85&r2=1.86
More information about the pld-cvs-commit
mailing list