diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-01-23 08:07:33 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-01-23 08:07:33 +0000 |
commit | fba196b2dbc6244c71cfa2279c8d4af0f68bbc9b (patch) | |
tree | 990b8a5c1cac496022a4911c1c70697cb4fee7d7 /editors/nvi-perl/files/patch-ac | |
parent | Support MAN/MLINKS properly. (diff) |
- Fix compilation error in -current
- Support MAN/MLINKS properly
PR: 24545
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=37476
Diffstat (limited to '')
-rw-r--r-- | editors/nvi-perl/files/patch-ac | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/editors/nvi-perl/files/patch-ac b/editors/nvi-perl/files/patch-ac new file mode 100644 index 000000000000..34cabfd43d1f --- /dev/null +++ b/editors/nvi-perl/files/patch-ac @@ -0,0 +1,51 @@ +--- include/sys/queue.h.old Wed Jan 10 07:16:01 2001 ++++ include/sys/queue.h Wed Jan 10 07:17:02 2001 +@@ -33,8 +33,10 @@ + * @(#)queue.h 8.5 (Berkeley) 8/20/94 + */ + +-#ifndef _SYS_QUEUE_H_ +-#define _SYS_QUEUE_H_ ++#ifndef _SYS_QUEUE_HACK_H_ ++#define _SYS_QUEUE_HACK_H_ ++ ++#include <sys/queue_dist.h> + + /* + * This file defines three types of data structures: lists, tail queues, +@@ -65,6 +67,7 @@ + * For details on the use of these macros, see the queue(3) manual page. + */ + ++#ifndef LIST_HEAD + /* + * List definitions. + */ +@@ -114,7 +117,9 @@ + (elm)->field.le_prev; \ + *(elm)->field.le_prev = (elm)->field.le_next; \ + } ++#endif /* LIST_HEAD */ + ++#ifndef TAILQ_HEAD + /* + * Tail queue definitions. + */ +@@ -180,7 +185,9 @@ + (head)->tqh_last = (elm)->field.tqe_prev; \ + *(elm)->field.tqe_prev = (elm)->field.tqe_next; \ + } ++#endif /* TAILQ_HEAD */ + ++#ifndef CIRCLEQ_HEAD + /* + * Circular queue definitions. + */ +@@ -256,4 +263,6 @@ + (elm)->field.cqe_prev->field.cqe_next = \ + (elm)->field.cqe_next; \ + } +-#endif /* !_SYS_QUEUE_H_ */ ++#endif /* CIRCLEQ_HEAD */ ++ ++#endif /* !_SYS_QUEUE_HACK_H_ */ |