mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
databases/cdb: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
5b93136e22
commit
339c6a9b46
2 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= cdb
|
PORTNAME= cdb
|
||||||
PORTVERSION= 0.75
|
PORTVERSION= 0.75
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://cr.yp.to/cdb/
|
MASTER_SITES= http://cr.yp.to/cdb/
|
||||||
|
|
||||||
|
|
11
databases/cdb/files/patch-error.h
Normal file
11
databases/cdb/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