mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
security/checkpassword: include errno.h for errno
errno must be accessed by a macro from errno.h. PR: 281780 Approved by: garga (maintainer)
This commit is contained in:
parent
21cf578c15
commit
4f7686e089
@ -1,5 +1,6 @@
|
||||
PORTNAME= checkpassword
|
||||
PORTVERSION= 0.90
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://cr.yp.to/checkpwd/ \
|
||||
GENTOO
|
||||
|
11
security/checkpassword/files/patch-error.h
Normal file
11
security/checkpassword/files/patch-error.h
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user