summaryrefslogtreecommitdiff
path: root/sysutils/monitord/files/patch-monitord.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-04 12:05:45 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-04 12:05:45 +0000
commite3f400194b8a6eaa8bfbed8d3d44b69b3ff2fb96 (patch)
treee3a5102241a53eb6662f1c2e2006e6e90581ace3 /sysutils/monitord/files/patch-monitord.h
parentFix build with -fno-common (diff)
Fix build with -fno-common
While here simplify the port's Makefile and fix the wrong usage of bzero and other library functions that take a buffer size: The size parameter passed was always the pointer, not the buffer pointed to, i.e. "bzero(buf, sizeof(buf)" instead of "bzero(buf, sizeof(*buf)" ...
Diffstat (limited to 'sysutils/monitord/files/patch-monitord.h')
-rw-r--r--sysutils/monitord/files/patch-monitord.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/monitord/files/patch-monitord.h b/sysutils/monitord/files/patch-monitord.h
new file mode 100644
index 000000000000..e3c0ec7f70aa
--- /dev/null
+++ b/sysutils/monitord/files/patch-monitord.h
@@ -0,0 +1,11 @@
+--- monitord.h.orig 2003-01-16 18:22:54 UTC
++++ monitord.h
+@@ -49,8 +49,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+
+-int HUP; // Variable used to hold SIGHUP state
+-
+ typedef enum bool_enum_t {
+ FALSE,
+ TRUE,