mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
sysutils/daemontools: include errno.h for errno
errno must be accessed by a macro from errno.h. PR: 281782 Approved by: portmgr (build fix blanket), mikael
This commit is contained in:
parent
993ca87fed
commit
cbfd08c3d4
2 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= daemontools
|
PORTNAME= daemontools
|
||||||
PORTVERSION= 0.76
|
PORTVERSION= 0.76
|
||||||
PORTREVISION= 19
|
PORTREVISION= 20
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://cr.yp.to/daemontools/ \
|
MASTER_SITES= http://cr.yp.to/daemontools/ \
|
||||||
http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,1 \
|
http://mirror.shatow.net/freebsd/${PORTNAME}/:DEFAULT,1 \
|
||||||
|
|
11
sysutils/daemontools/files/patch-error.h
Normal file
11
sysutils/daemontools/files/patch-error.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- error.h.orig
|
||||||
|
+++ error.h
|
||||||
|
@@ -3,7 +3,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