add missing struct.h header file Related: #603243

This commit is contained in:
Jan Šafránek 2010-06-16 12:10:59 +00:00
parent 18b1d2707f
commit a6028adc0b
2 changed files with 21 additions and 1 deletions

View File

@ -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@

View File

@ -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 <jsafrane@redhat.com> - 1:5.5-14
- add missing struct.h header file (#603243)
* Wed Jun 16 2010 Jan Safranek <jsafrane@redhat.com> - 1:5.5-13
- add missing include files from util_funcs directory (#603243)