FreeBSD Bugzilla – Attachment 253914 Details for
Bug 281780
security/checkpassword: errno fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
errno patch and revision bump
0001-security-checkpassword-include-errno.h-for-errno.patch (text/plain), 1.23 KB, created by
Brooks Davis
on 2024-09-30 22:21:21 UTC
(
hide
)
Description:
errno patch and revision bump
Filename:
MIME Type:
Creator:
Brooks Davis
Created:
2024-09-30 22:21:21 UTC
Size:
1.23 KB
patch
obsolete
>From e09b6ac1c562300a09b708b2d287423d40c09443 Mon Sep 17 00:00:00 2001 >From: Brooks Davis <brooks@FreeBSD.org> >Date: Mon, 30 Sep 2024 16:56:09 +0100 >Subject: [PATCH 1/8] security/checkpassword: include errno.h for errno > >errno must be accessed by a macro from errno.h. >--- > security/checkpassword/Makefile | 1 + > security/checkpassword/files/patch-error.h | 11 +++++++++++ > 2 files changed, 12 insertions(+) > create mode 100644 security/checkpassword/files/patch-error.h > >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; >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 281780
: 253914