diff --git a/net-snmp-5.5-include-struct.patch b/net-snmp-5.5-include-struct.patch new file mode 100644 index 0000000..27a8b66 --- /dev/null +++ b/net-snmp-5.5-include-struct.patch @@ -0,0 +1,15 @@ +603243: include struct.h in installed -devel files + + +diff -up net-snmp-5.5/agent/Makefile.in.orig net-snmp-5.5/agent/Makefile.in +--- net-snmp-5.5/agent/Makefile.in.orig 2010-06-16 13:48:48.000000000 +0200 ++++ net-snmp-5.5/agent/Makefile.in 2010-06-16 14:02:36.000000000 +0200 +@@ -44,7 +44,7 @@ INSTALLBUILTSUBDIRHEADERS=../include/net + INSTALLBUILTSUBDIR=agent + + INCLUDEMIBGROUPDIR=agent/mibgroup +-INCLUDEMIBGROUPDIRHEADERS=util_funcs.h ++INCLUDEMIBGROUPDIRHEADERS=util_funcs.h struct.h + + OTHERINSTALL=installmibgroupheaders @EMBEDPERLINSTALL@ + OTHERUNINSTALL=@EMBEDPERLUNINSTALL@ diff --git a/net-snmp.spec b/net-snmp.spec index 3060593..fcec3f2 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -11,7 +11,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.5 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 License: BSD @@ -34,6 +34,7 @@ Patch5: net-snmp-5.5-udptable-index.patch Patch6: net-snmp-5.5-missing-bcast.patch Patch7: net-snmp-5.5-tcp-pid.patch Patch8: net-snmp-5.5-test-tmpdir.patch +Patch9: net-snmp-5.5-include-struct.patch Requires(post): chkconfig Requires(preun): chkconfig @@ -166,6 +167,7 @@ Net-SNMP toolkit library. %patch7 -p1 -b .tcp-pid # no backup of this one, it would break tests! %patch8 -p1 +%patch9 -p1 -b .include-struct %build MIBS="host agentx smux \ @@ -414,6 +416,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_datadir}/snmp/mibs/* %changelog +* Wed Jun 16 2010 Jan Safranek - 1:5.5-14 +- add missing struct.h header file (#603243) + * Wed Jun 16 2010 Jan Safranek - 1:5.5-13 - add missing include files from util_funcs directory (#603243)