summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2007-03-23 19:56:58 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2007-03-23 19:56:58 +0000
commit3aa8d9aed7be0213ea0a8baf48c93491b4bf5889 (patch)
tree6be770e86d615db4cae6417088161b47f9005abe /sys-power/apcupsd/files
parentversoin bump (diff)
downloadgentoo-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/apcupsd/files')
-rw-r--r--sys-power/apcupsd/files/3.12.4/apcupsd-snmp.patch10
1 files changed, 10 insertions, 0 deletions
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>