mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
mail/mess822: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
b72e179346
commit
74b8645f51
@ -1,6 +1,6 @@
|
||||
PORTNAME= mess822
|
||||
PORTVERSION= 0.58
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://cr.yp.to/software/ \
|
||||
ftp://ftp.jp.qmail.org/qmail/ \
|
||||
|
9
mail/mess822/files/patch-cdb__seek.c
Normal file
9
mail/mess822/files/patch-cdb__seek.c
Normal file
@ -0,0 +1,9 @@
|
||||
--- cdb_seek.c.orig
|
||||
+++ cdb_seek.c
|
||||
@@ -1,6 +1,5 @@
|
||||
#include <sys/types.h>
|
||||
#include <errno.h>
|
||||
-extern int errno;
|
||||
#include "cdb.h"
|
||||
|
||||
#ifndef SEEK_SET
|
11
mail/mess822/files/patch-error.h
Normal file
11
mail/mess822/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/mess822/files/patch-leapsecs__read.c
Normal file
10
mail/mess822/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