Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 202399 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-analyzer/net-snmp/net-snmp-5.4.1.1.ebuild (+4 lines)
Lines 69-74 Link Here
69
	epatch "${FILESDIR}"/${PN}-5.4.1-process-count-race.patch #213415
69
	epatch "${FILESDIR}"/${PN}-5.4.1-process-count-race.patch #213415
70
	epatch "${FILESDIR}"/${PN}-5.4.1-incorrect-hrFSStorageIndex.patch #211660
70
	epatch "${FILESDIR}"/${PN}-5.4.1-incorrect-hrFSStorageIndex.patch #211660
71
	epatch "${FILESDIR}"/${PN}-5.4.1-perl-asneeded.patch #224251
71
	epatch "${FILESDIR}"/${PN}-5.4.1-perl-asneeded.patch #224251
72
	
73
	use rpm && epatch "${FILESDIR}"/rpm514-netsnmp-5.4.1.1.patch #202399
72
74
73
	# Fix version number to report 5.4.1.1:
75
	# Fix version number to report 5.4.1.1:
74
	sed -i -e 's:NetSnmpVersionInfo = "5.4.1":NetSnmpVersionInfo = "5.4.1.1":' snmplib/snmp_version.c
76
	sed -i -e 's:NetSnmpVersionInfo = "5.4.1":NetSnmpVersionInfo = "5.4.1.1":' snmplib/snmp_version.c
Lines 90-95 Link Here
90
	use diskio && mibs="${mibs} ucd-snmp/diskio"
92
	use diskio && mibs="${mibs} ucd-snmp/diskio"
91
	use extensible && mibs="${mibs} ucd-snmp/extensible"
93
	use extensible && mibs="${mibs} ucd-snmp/extensible"
92
94
95
	use rpm && export CPPFLAGS="-I /usr/include/rpm ${CPPFLAGS}"
96
93
	econf \
97
	econf \
94
		--with-install-prefix="${D}" \
98
		--with-install-prefix="${D}" \
95
		--with-sys-location="Unknown" \
99
		--with-sys-location="Unknown" \

Return to bug 202399