mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
mail/qmail-dk: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
74b8645f51
commit
f92880d3e5
4 changed files with 31 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= dk
|
PORTNAME= dk
|
||||||
PORTVERSION= 0.54
|
PORTVERSION= 0.54
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= QMAIL
|
MASTER_SITES= QMAIL
|
||||||
PKGNAMEPREFIX= qmail-
|
PKGNAMEPREFIX= qmail-
|
||||||
|
|
9
mail/qmail-dk/files/patch-cdb__seek.c
Normal file
9
mail/qmail-dk/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
|
10
mail/qmail-dk/files/patch-dns.c
Normal file
10
mail/qmail-dk/files/patch-dns.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- dns.c.orig
|
||||||
|
+++ dns.c
|
||||||
|
@@ -7,7 +7,6 @@
|
||||||
|
#include <errno.h>
|
||||||
|
extern int res_query();
|
||||||
|
extern int res_search();
|
||||||
|
-extern int errno;
|
||||||
|
extern int h_errno;
|
||||||
|
#include "ip.h"
|
||||||
|
#include "ipalloc.h"
|
11
mail/qmail-dk/files/patch-error.h
Normal file
11
mail/qmail-dk/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…
Add table
Reference in a new issue