aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-09-30 15:56:09 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-09-30 22:13:42 +0000
commit2a45473e53f94660515ac45ed75f7ca6ff3b3367 (patch)
tree7961898e5d3233880c37dc460de6417ffeafbdd5
parentf92880d3e5824f943fb5de9eb395dbfe30a55c1c (diff)
downloadports-2a45473e53f94660515ac45ed75f7ca6ff3b3367.tar.gz
ports-2a45473e53f94660515ac45ed75f7ca6ff3b3367.zip
mail/qmailanalog: include errno.h for errno
errno must be accessed by a macro from errno.h.
-rw-r--r--mail/qmailanalog/Makefile2
-rw-r--r--mail/qmailanalog/files/patch-error.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/mail/qmailanalog/Makefile b/mail/qmailanalog/Makefile
index 7cda997db04a..55b38747f45a 100644
--- a/mail/qmailanalog/Makefile
+++ b/mail/qmailanalog/Makefile
@@ -1,6 +1,6 @@
PORTNAME= qmailanalog
PORTVERSION= 0.70
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
http://www.emaillab.org/djb/qmailanalog/
diff --git a/mail/qmailanalog/files/patch-error.h b/mail/qmailanalog/files/patch-error.h
new file mode 100644
index 000000000000..e35ddb04802a
--- /dev/null
+++ b/mail/qmailanalog/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;