mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
mail/dot-forward: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
5088c7b2d1
commit
6204518869
@ -1,6 +1,6 @@
|
||||
PORTNAME= dot-forward
|
||||
PORTVERSION= 0.71
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://cr.yp.to/software/
|
||||
|
||||
|
11
mail/dot-forward/files/patch-error.h
Normal file
11
mail/dot-forward/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