mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
mail/serialmail: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
bd7c71cded
commit
c115a19758
@ -1,6 +1,6 @@
|
||||
PORTNAME= serialmail
|
||||
PORTVERSION= 0.75
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://cr.yp.to/software/ \
|
||||
ftp://ftp.gbnet.net/pub/qmail/ \
|
||||
|
11
mail/serialmail/files/patch-error.h
Normal file
11
mail/serialmail/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;
|
10
mail/serialmail/files/patch-leapsecs__read.c
Normal file
10
mail/serialmail/files/patch-leapsecs__read.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- leapsecs_read.c.orig
|
||||
+++ leapsecs_read.c
|
||||
@@ -2,7 +2,6 @@
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
-extern int errno;
|
||||
#include "tai.h"
|
||||
#include "leapsecs.h"
|
||||
|
Loading…
Reference in New Issue
Block a user