diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile index b6ddffb6d068..cd5a76106369 100644 --- a/mail/mess822/Makefile +++ b/mail/mess822/Makefile @@ -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/ \ diff --git a/mail/mess822/files/patch-cdb__seek.c b/mail/mess822/files/patch-cdb__seek.c new file mode 100644 index 000000000000..167a43dfcb3f --- /dev/null +++ b/mail/mess822/files/patch-cdb__seek.c @@ -0,0 +1,9 @@ +--- cdb_seek.c.orig ++++ cdb_seek.c +@@ -1,6 +1,5 @@ + #include + #include +-extern int errno; + #include "cdb.h" + + #ifndef SEEK_SET diff --git a/mail/mess822/files/patch-error.h b/mail/mess822/files/patch-error.h new file mode 100644 index 000000000000..e35ddb04802a --- /dev/null +++ b/mail/mess822/files/patch-error.h @@ -0,0 +1,11 @@ +--- error.h.orig ++++ error.h +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include + + extern int error_intr; + extern int error_nomem; diff --git a/mail/mess822/files/patch-leapsecs__read.c b/mail/mess822/files/patch-leapsecs__read.c new file mode 100644 index 000000000000..60cacfbe6e32 --- /dev/null +++ b/mail/mess822/files/patch-leapsecs__read.c @@ -0,0 +1,10 @@ +--- leapsecs_read.c.orig ++++ leapsecs_read.c +@@ -2,7 +2,6 @@ + #include + #include + #include +-extern int errno; + #include "tai.h" + #include "leapsecs.h" +