git: dde7164c7f18 - main - mail/qmail-rblchk: fix build on FreeBSD 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Sep 2024 14:08:30 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dde7164c7f18d1e16d4be4a1443ec7a850d18f74
commit dde7164c7f18d1e16d4be4a1443ec7a850d18f74
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-09-25 10:51:59 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-09-30 14:01:54 +0000
mail/qmail-rblchk: fix build on FreeBSD 15
- set LICENSE
- include errno.h to get errno, instead of declaring it as an extern
variable.
---
mail/qmail-rblchk/Makefile | 5 ++++-
mail/qmail-rblchk/files/patch-error.h | 11 +++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/mail/qmail-rblchk/Makefile b/mail/qmail-rblchk/Makefile
index 3b1d73eec984..185abca4ff09 100644
--- a/mail/qmail-rblchk/Makefile
+++ b/mail/qmail-rblchk/Makefile
@@ -1,6 +1,6 @@
PORTNAME= qmail-rblchk
PORTVERSION= 2.4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://www.morettoni.net/qmail/ \
LOCAL/ehaupt
@@ -9,6 +9,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Qmail RBL filter
WWW= http://www.morettoni.net/qmail-rblchk.en.html
+# so says qmail-rblchk.c
+LICENSE= BSD2CLAUSE
+
USES= groff qmail:run
ALL_TARGET= default
diff --git a/mail/qmail-rblchk/files/patch-error.h b/mail/qmail-rblchk/files/patch-error.h
new file mode 100644
index 000000000000..5dc2cfdcaf6f
--- /dev/null
+++ b/mail/qmail-rblchk/files/patch-error.h
@@ -0,0 +1,11 @@
+--- error.h.orig 2024-09-25 10:49:27 UTC
++++ 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;