rpms/net-snmp/devel net-snmp-5.4-ethtool-config.patch, NONE, 1.1 net-snmp.spec, 1.100, 1.101

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jan 11 16:38:08 UTC 2007


Author: rvokal

Update of /cvs/dist/rpms/net-snmp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14101

Modified Files:
	net-snmp.spec 
Added Files:
	net-snmp-5.4-ethtool-config.patch 
Log Message:
- fix ethtool extension (#222268)

net-snmp-5.4-ethtool-config.patch:
 agent/mibgroup/if-mib/data_access/interface_linux.c |    8 ++++----
 configure                                           |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

--- NEW FILE net-snmp-5.4-ethtool-config.patch ---
--- net-snmp-5.4/configure.ethtool-config	2007-01-11 17:26:28.000000000 +0100
+++ net-snmp-5.4/configure	2007-01-11 17:26:28.000000000 +0100
@@ -32741,10 +32741,10 @@
 /* end confdefs.h.  */
 
 #include <sys/types.h>
-typedef unsigned long long u64;         /* hack, so we may include kernel's ethtool.h */
-typedef __uint32_t u32;         /* ditto */
-typedef __uint16_t u16;         /* ditto */
-typedef __uint8_t u8;           /* ditto */
+typedef unsigned long long __u64;         /* hack, so we may include kernel's ethtool.h */
+typedef __uint32_t __u32;         /* ditto */
+typedef __uint16_t __u16;         /* ditto */
+typedef __uint8_t __u8;           /* ditto */
 
 
 #include <$ac_header>
--- net-snmp-5.4/agent/mibgroup/if-mib/data_access/interface_linux.c.ethtool-config	2006-09-21 15:09:18.000000000 +0200
+++ net-snmp-5.4/agent/mibgroup/if-mib/data_access/interface_linux.c	2007-01-11 17:27:32.000000000 +0100
@@ -26,10 +26,10 @@
 #include <unistd.h>
 
 #ifdef HAVE_LINUX_ETHTOOL_H
-typedef unsigned long long u64;         /* hack, so we may include kernel's ethtool.h */
-typedef __uint32_t u32;         /* ditto */
-typedef __uint16_t u16;         /* ditto */
-typedef __uint8_t u8;           /* ditto */
+typedef unsigned long long __u64;         /* hack, so we may include kernel's ethtool.h */
+typedef __uint32_t __u32;         /* ditto */
+typedef __uint16_t __u16;         /* ditto */
+typedef __uint8_t __u8;           /* ditto */
 #include <linux/ethtool.h>
 #endif /* HAVE_LINUX_ETHTOOL_H */
 #include <linux/sockios.h>


Index: net-snmp.spec
===================================================================
RCS file: /cvs/dist/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- net-snmp.spec	11 Jan 2007 11:17:54 -0000	1.100
+++ net-snmp.spec	11 Jan 2007 16:38:05 -0000	1.101
@@ -7,7 +7,7 @@
 Summary: A collection of SNMP protocol tools and libraries
 Name: net-snmp
 Version: %{major_ver}
-Release: 6%{?dist}
+Release: 7%{?dist}
 Epoch: 1
 
 License: BSDish
@@ -34,6 +34,7 @@
 #Patch10: net-snmp-5.4-if_addr.patch
 Patch11: net-snmp-5.4-ip-addr-route-leaks.patch
 Patch12: net-snmp-5.4-tcpConn-tcp6-fopen.patch
+Patch13: net-snmp-5.4-ethtool-config.patch
 
 Requires(pre): /sbin/chkconfig
 Obsoletes: ucd-snmp
@@ -143,6 +144,8 @@
 %patch11 -p0 -b .route-leak
 %patch12 -p1 -b .tcp6-fopen
 
+%patch13 -p1 -b .ethtool-config
+
 # Do this patch with a perl hack...
 perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
 
@@ -353,6 +356,9 @@
 %{_libdir}/lib*.so.*
 
 %changelog
+* Thu Jan 11 2007 Radek Vokál <rvokal at redhat.com> - 5.4-7
+- fix ethtool extension (#222268)
+
 * Thu Jan 11 2007 Radek Vokál <rvokal at redhat.com> - 5.4-6
 - swith to new disman implementation
 




More information about the fedora-cvs-commits mailing list