summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/files/patch-include_apc.h
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2016-12-04 10:30:47 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2016-12-04 10:30:47 +0000
commitbf1576f42d8931b23c90b09c07d69ad3df4fdf33 (patch)
tree89233e4ddcd56ce7cbaa5c9613103e273568394d /sysutils/apcupsd/files/patch-include_apc.h
parentAdd non-default OPTION for SNDIO (diff)
Update to 3.14.14
PR: 210129 Submitted by: nevecherya@gmail.com Approved by: maintainer-timeout (itetcu)
Diffstat (limited to 'sysutils/apcupsd/files/patch-include_apc.h')
-rw-r--r--sysutils/apcupsd/files/patch-include_apc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/apcupsd/files/patch-include_apc.h b/sysutils/apcupsd/files/patch-include_apc.h
new file mode 100644
index 000000000000..a91ee644e7b8
--- /dev/null
+++ b/sysutils/apcupsd/files/patch-include_apc.h
@@ -0,0 +1,17 @@
+--- include/apc.h.orig 2015-02-17 20:18:17 UTC
++++ include/apc.h
+@@ -148,13 +148,7 @@
+ /* System includes conditionally included */
+
+ #ifdef HAVE_LIBWRAP
+-# ifdef __cplusplus
+- extern "C" {
+-# endif
+-# include <tcpd.h>
+-# ifdef __cplusplus
+- };
+-# endif
++# include "tcpd.h"
+ #endif
+
+ #endif