mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04: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
3 changed files with 22 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= serialmail
|
PORTNAME= serialmail
|
||||||
PORTVERSION= 0.75
|
PORTVERSION= 0.75
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://cr.yp.to/software/ \
|
MASTER_SITES= http://cr.yp.to/software/ \
|
||||||
ftp://ftp.gbnet.net/pub/qmail/ \
|
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…
Add table
Reference in a new issue