summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/apcupsd/files/3.10.8/ucd-snmp.patch')
-rw-r--r--sys-apps/apcupsd/files/3.10.8/ucd-snmp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/apcupsd/files/3.10.8/ucd-snmp.patch b/sys-apps/apcupsd/files/3.10.8/ucd-snmp.patch
new file mode 100644
index 000000000000..af9c363b2328
--- /dev/null
+++ b/sys-apps/apcupsd/files/3.10.8/ucd-snmp.patch
@@ -0,0 +1,14 @@
+--- src/drivers/snmp/snmp.c 2003-04-05 14:58:00.000000000 +0200
++++ src/drivers/snmp/snmp.c 2003-08-21 14:25:11.000000000 +0200
+@@ -245,7 +245,10 @@
+ return ret;
+ }
+
+-int snmp_ups_program_eeprom(UPSINFO *ups, int command, char *data)
++/*int snmp_ups_program_eeprom(UPSINFO *ups, int command, char *data)
++ * Modified for debian
++*/
++int snmp_ups_program_eeprom(UPSINFO *ups, int command, void *data)
+ {
+ return 0;
+ }