1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

sysutils/qlogtools: include errno.h for errno

errno must be accessed by a macro from errno.h.
This commit is contained in:
Brooks Davis 2024-09-30 16:56:09 +01:00
parent b559c289f7
commit 7f9480c704
2 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= qlogtools
PORTVERSION= 3.1
PORTREVISION= 4
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= http://untroubled.org/${PORTNAME}/

View File

@ -0,0 +1,14 @@
--- qfilelog.c.orig
+++ qfilelog.c
@@ -1,10 +1,9 @@
+#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-
-extern int errno;
#define PAUSE sleep(60)