git: cbfd08c3d46b - main - sysutils/daemontools: include errno.h for errno
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Oct 2024 20:12:52 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbfd08c3d46b8c85d40e0a1e6e07b4aa3a5adf29 commit cbfd08c3d46b8c85d40e0a1e6e07b4aa3a5adf29 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-10-01 20:11:47 +0000 sysutils/daemontools: include errno.h for errno errno must be accessed by a macro from errno.h. PR: 281782 Approved by: portmgr (build fix blanket), mikael --- sysutils/daemontools/Makefile | 2 +- sysutils/daemontools/files/patch-error.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile index 00a8013f5d9e..b90be682e5f0 100644 --- a/sysutils/daemontools/Makefile +++ b/sysutils/daemontools/Makefile @@ -1,6 +1,6 @@ PORTNAME= daemontools PORTVERSION= 0.76 -PORTREVISION= 19 +PORTREVISION= 20 CATEGORIES= sysutils MASTER_SITES= http://cr.yp.to/daemontools/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,1 \ diff --git a/sysutils/daemontools/files/patch-error.h b/sysutils/daemontools/files/patch-error.h new file mode 100644 index 000000000000..d19f3e3b34dc --- /dev/null +++ b/sysutils/daemontools/files/patch-error.h @@ -0,0 +1,11 @@ +--- error.h.orig ++++ error.h +@@ -3,7 +3,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h> + + extern int error_intr; + extern int error_nomem;