mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
sysutils/qlogtools: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
b559c289f7
commit
7f9480c704
@ -1,6 +1,6 @@
|
||||
PORTNAME= qlogtools
|
||||
PORTVERSION= 3.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://untroubled.org/${PORTNAME}/
|
||||
|
||||
|
14
sysutils/qlogtools/files/patch-qfilelog.c
Normal file
14
sysutils/qlogtools/files/patch-qfilelog.c
Normal 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)
|
||||
|
Loading…
Reference in New Issue
Block a user