From dbe2369e3f8b810b732117d917f38085608cc72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Vok=C3=A1l?= Date: Thu, 7 Dec 2006 11:50:05 +0000 Subject: [PATCH] - fix rtnetlink.h/if_addr.h --- net-snmp-5.4-if_addr.patch | 12 ++++++++++++ net-snmp.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 net-snmp-5.4-if_addr.patch diff --git a/net-snmp-5.4-if_addr.patch b/net-snmp-5.4-if_addr.patch new file mode 100644 index 0000000..acdf671 --- /dev/null +++ b/net-snmp-5.4-if_addr.patch @@ -0,0 +1,12 @@ +--- 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 + #include +-#include ++/* #include */ ++#include + #endif + + #include "ipaddress_ioctl.h" diff --git a/net-snmp.spec b/net-snmp.spec index 35fb125..0a7d815 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -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 @@ Patch6: net-snmp-5.1.2-dir-fix.patch 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 @@ and applications. %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 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/lib*.so.* %changelog +* Thu Dec 7 2006 Radek Vokál - 5.4-4 +- fix rtnetlink.h/if_addr.h + * Thu Dec 7 2006 Joe Orton - 5.4-3 - add Requires for tcp_wrappers-devel for -devel