add missing struct.h header file Related: #603243
This commit is contained in:
parent
18b1d2707f
commit
a6028adc0b
15
net-snmp-5.5-include-struct.patch
Normal file
15
net-snmp-5.5-include-struct.patch
Normal 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@
|
@ -11,7 +11,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.5
|
Version: 5.5
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -34,6 +34,7 @@ Patch5: net-snmp-5.5-udptable-index.patch
|
|||||||
Patch6: net-snmp-5.5-missing-bcast.patch
|
Patch6: net-snmp-5.5-missing-bcast.patch
|
||||||
Patch7: net-snmp-5.5-tcp-pid.patch
|
Patch7: net-snmp-5.5-tcp-pid.patch
|
||||||
Patch8: net-snmp-5.5-test-tmpdir.patch
|
Patch8: net-snmp-5.5-test-tmpdir.patch
|
||||||
|
Patch9: net-snmp-5.5-include-struct.patch
|
||||||
|
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): chkconfig
|
Requires(preun): chkconfig
|
||||||
@ -166,6 +167,7 @@ Net-SNMP toolkit library.
|
|||||||
%patch7 -p1 -b .tcp-pid
|
%patch7 -p1 -b .tcp-pid
|
||||||
# no backup of this one, it would break tests!
|
# no backup of this one, it would break tests!
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
%patch9 -p1 -b .include-struct
|
||||||
|
|
||||||
%build
|
%build
|
||||||
MIBS="host agentx smux \
|
MIBS="host agentx smux \
|
||||||
@ -414,6 +416,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_datadir}/snmp/mibs/*
|
%{_datadir}/snmp/mibs/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 16 2010 Jan Safranek <jsafrane@redhat.com> - 1:5.5-13
|
||||||
- add missing include files from util_funcs directory (#603243)
|
- add missing include files from util_funcs directory (#603243)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user