rpms/net-snmp/devel net-snmp-5.4-if_addr.patch, NONE, 1.1 net-snmp.spec, 1.96, 1.97

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Dec 7 11:50:07 UTC 2006


Author: rvokal

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

Modified Files:
	net-snmp.spec 
Added Files:
	net-snmp-5.4-if_addr.patch 
Log Message:
- fix rtnetlink.h/if_addr.h

net-snmp-5.4-if_addr.patch:
 ipaddress_linux.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE net-snmp-5.4-if_addr.patch ---
--- net-snmp-5.4/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c.old	2006-09-15 02:48:40.000000000 +0200
+++ net-snmp-5.4/agent/mibgroup/ip-mib/data_access/ipaddress_linux.c	2006-12-07 12:35:27.000000000 +0100
@@ -19,7 +19,8 @@
 #if defined (NETSNMP_ENABLE_IPV6)
 #include <linux/types.h>
 #include <asm/types.h>
-#include <linux/rtnetlink.h>
+/* #include <linux/rtnetlink.h> */
+#include <linux/if_addr.h>
 #endif
 
 #include "ipaddress_ioctl.h"


Index: net-snmp.spec
===================================================================
RCS file: /cvs/dist/rpms/net-snmp/devel/net-snmp.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- net-snmp.spec	7 Dec 2006 10:51:42 -0000	1.96
+++ net-snmp.spec	7 Dec 2006 11:50:05 -0000	1.97
@@ -7,7 +7,7 @@
 Summary: A collection of SNMP protocol tools and libraries
 Name: net-snmp
 Version: %{major_ver}
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch: 1
 
 License: BSDish
@@ -31,6 +31,7 @@
 Patch7: net-snmp-5.2.1-file_offset.patch
 Patch8: net-snmp-5.3.1-multilib.patch
 Patch9: net-snmp-5.4-config_libdir.patch
+Patch10: net-snmp-5.4-if_addr.patch
 
 Requires(pre): /sbin/chkconfig
 Obsoletes: ucd-snmp
@@ -134,6 +135,7 @@
 %patch7 -p1 -b .file_offset
 %patch8 -p1 -b .multilib
 %patch9 -p1 -b .libdir
+%patch10 -p1 -b .if_addr
 
 # Do this patch with a perl hack...
 perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
@@ -345,6 +347,9 @@
 %{_libdir}/lib*.so.*
 
 %changelog
+* Thu Dec  7 2006 Radek Vokál <rvokal at redhat.com> - 5.4-4
+- fix rtnetlink.h/if_addr.h 
+
 * Thu Dec  7 2006 Joe Orton <jorton at redhat.com> - 5.4-3
 - add Requires for tcp_wrappers-devel for -devel
 




More information about the fedora-cvs-commits mailing list