diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2024-09-30 15:56:09 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2024-10-01 15:27:21 +0000 |
commit | 4f7686e089ebd963d9fd1676327baaef0fd14096 (patch) | |
tree | 1737e2eabaf0ee320ad8d6e179187b1c38d24e33 | |
parent | 21cf578c15592bd4b462ce6cbb359b76281114b5 (diff) | |
download | ports-4f7686e089ebd963d9fd1676327baaef0fd14096.tar.gz ports-4f7686e089ebd963d9fd1676327baaef0fd14096.zip |
security/checkpassword: include errno.h for errno
errno must be accessed by a macro from errno.h.
PR: 281780
Approved by: garga (maintainer)
-rw-r--r-- | security/checkpassword/Makefile | 1 | ||||
-rw-r--r-- | security/checkpassword/files/patch-error.h | 11 |
2 files changed, 12 insertions, 0 deletions
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; |