diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2007-03-23 19:56:58 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2007-03-23 19:56:58 +0000 |
commit | 3aa8d9aed7be0213ea0a8baf48c93491b4bf5889 (patch) | |
tree | 6be770e86d615db4cae6417088161b47f9005abe /sys-power | |
parent | versoin bump (diff) | |
download | gentoo-2-3aa8d9aed7be0213ea0a8baf48c93491b4bf5889.tar.gz gentoo-2-3aa8d9aed7be0213ea0a8baf48c93491b4bf5889.tar.bz2 gentoo-2-3aa8d9aed7be0213ea0a8baf48c93491b4bf5889.zip |
Fix compile problem wrt bug #159354. Many thanks to Martin Balaz.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/apcupsd/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/apcupsd/apcupsd-3.12.4.ebuild | 5 | ||||
-rw-r--r-- | sys-power/apcupsd/files/3.12.4/apcupsd-snmp.patch | 10 |
3 files changed, 18 insertions, 3 deletions
diff --git a/sys-power/apcupsd/ChangeLog b/sys-power/apcupsd/ChangeLog index a8adc2f6620f..09c77c179630 100644 --- a/sys-power/apcupsd/ChangeLog +++ b/sys-power/apcupsd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/apcupsd # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/ChangeLog,v 1.25 2007/02/22 00:35:56 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/ChangeLog,v 1.26 2007/03/23 19:56:58 je_fro Exp $ + + 23 Mar 2007; Jeff Gardner <je_fro@gentoo.org> + +files/3.12.4/apcupsd-snmp.patch, apcupsd-3.12.4.ebuild: + Fix compile problem wrt bug #159354. Many thanks to Martin Balaz. 22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog: Redigest for Manifest2 diff --git a/sys-power/apcupsd/apcupsd-3.12.4.ebuild b/sys-power/apcupsd/apcupsd-3.12.4.ebuild index d02bb4bde6c4..199f6997bafc 100644 --- a/sys-power/apcupsd/apcupsd-3.12.4.ebuild +++ b/sys-power/apcupsd/apcupsd-3.12.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.12.4.ebuild,v 1.5 2006/12/19 22:46:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/apcupsd-3.12.4.ebuild,v 1.6 2007/03/23 19:56:58 je_fro Exp $ WEBAPP_MANUAL_SLOT="yes" inherit eutils webapp @@ -34,6 +34,7 @@ src_unpack() { epatch "${FILESDIR}"/${PV}/exit-status-build.patch epatch "${FILESDIR}"/${PV}/no-strip.patch epatch "${FILESDIR}"/${PV}/no-parallel.patch + epatch "${FILESDIR}"/${PV}/${PN}-snmp.patch } src_compile() { diff --git a/sys-power/apcupsd/files/3.12.4/apcupsd-snmp.patch b/sys-power/apcupsd/files/3.12.4/apcupsd-snmp.patch new file mode 100644 index 000000000000..7e0bc5474936 --- /dev/null +++ b/sys-power/apcupsd/files/3.12.4/apcupsd-snmp.patch @@ -0,0 +1,10 @@ +--- apcupsd-3.12.4-old/src/drivers/snmp/snmp.h 2007-03-23 13:58:21.000000000 -0500 ++++ apcupsd-3.12.4/src/drivers/snmp/snmp.h 2007-03-23 13:59:24.000000000 -0500 +@@ -39,6 +39,7 @@ + #else + + # ifdef HAVE_NET_SNMP ++# include <net-snmp/net-snmp-config.h> + # include <net-snmp/library/asn1.h> + # include <net-snmp/library/snmp.h> + # include <net-snmp/library/snmp_api.h> |