From 7f9480c704826bce8020a898e57695f78e0bd811 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 30 Sep 2024 16:56:09 +0100 Subject: [PATCH] sysutils/qlogtools: include errno.h for errno errno must be accessed by a macro from errno.h. --- sysutils/qlogtools/Makefile | 2 +- sysutils/qlogtools/files/patch-qfilelog.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 sysutils/qlogtools/files/patch-qfilelog.c diff --git a/sysutils/qlogtools/Makefile b/sysutils/qlogtools/Makefile index d9eddf79c7fe..fea7fc1733b4 100644 --- a/sysutils/qlogtools/Makefile +++ b/sysutils/qlogtools/Makefile @@ -1,6 +1,6 @@ PORTNAME= qlogtools PORTVERSION= 3.1 -PORTREVISION= 4 +PORTREVISION= 6 CATEGORIES= sysutils MASTER_SITES= http://untroubled.org/${PORTNAME}/ diff --git a/sysutils/qlogtools/files/patch-qfilelog.c b/sysutils/qlogtools/files/patch-qfilelog.c new file mode 100644 index 000000000000..aab6050e60f8 --- /dev/null +++ b/sysutils/qlogtools/files/patch-qfilelog.c @@ -0,0 +1,14 @@ +--- qfilelog.c.orig ++++ qfilelog.c +@@ -1,10 +1,9 @@ ++#include + #include + #include + #include + #include + #include +- +-extern int errno; + + #define PAUSE sleep(60) +