Date: Mon, 30 Sep 2024 22:15:07 GMT From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 339c6a9b46fc - main - databases/cdb: include errno.h for errno Message-ID: <202409302215.48UMF7U1010490@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=339c6a9b46fc1553ec86ec5b0cac6f9cd861c083 commit 339c6a9b46fc1553ec86ec5b0cac6f9cd861c083 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-09-30 22:11:20 +0000 databases/cdb: include errno.h for errno errno must be accessed by a macro from errno.h. --- databases/cdb/Makefile | 1 + databases/cdb/files/patch-error.h | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/databases/cdb/Makefile b/databases/cdb/Makefile index 5b32880e0899..8611cabdd0bb 100644 --- a/databases/cdb/Makefile +++ b/databases/cdb/Makefile @@ -1,5 +1,6 @@ PORTNAME= cdb PORTVERSION= 0.75 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://cr.yp.to/cdb/ diff --git a/databases/cdb/files/patch-error.h b/databases/cdb/files/patch-error.h new file mode 100644 index 000000000000..e35ddb04802a --- /dev/null +++ b/databases/cdb/files/patch-error.h @@ -0,0 +1,11 @@ +--- error.h.orig ++++ error.h +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include <errno.h> + + extern int error_intr; + extern int error_nomem;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409302215.48UMF7U1010490>
