git: 4f7686e089eb - main - security/checkpassword: include errno.h for errno
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Oct 2024 15:27:58 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=4f7686e089ebd963d9fd1676327baaef0fd14096 commit 4f7686e089ebd963d9fd1676327baaef0fd14096 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-09-30 15:56:09 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-10-01 15:27:21 +0000 security/checkpassword: include errno.h for errno errno must be accessed by a macro from errno.h. PR: 281780 Approved by: garga (maintainer) --- security/checkpassword/Makefile | 1 + security/checkpassword/files/patch-error.h | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/security/checkpassword/Makefile b/security/checkpassword/Makefile index 16515f28d1f4..953f971b2004 100644 --- a/security/checkpassword/Makefile +++ b/security/checkpassword/Makefile @@ -1,5 +1,6 @@ PORTNAME= checkpassword PORTVERSION= 0.90 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://cr.yp.to/checkpwd/ \ GENTOO diff --git a/security/checkpassword/files/patch-error.h b/security/checkpassword/files/patch-error.h new file mode 100644 index 000000000000..e35ddb04802a --- /dev/null +++ b/security/checkpassword/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;