View | Details | Raw Unified | Return to bug 58143
Collapse All | Expand All

(-)dancer/Makefile (-1 / +2 lines)
Lines 27-33 Link Here
27
.include <bsd.port.pre.mk>
27
.include <bsd.port.pre.mk>
28
28
29
.if ${OSVERSION} > 500000
29
.if ${OSVERSION} > 500000
30
BROKEN=		Does not compile
30
LDFLAGS+=	-lm
31
MAKE_ARGS+=	LDFLAGS="${LDFLAGS}"
31
.endif
32
.endif
32
33
33
.include <bsd.port.post.mk>
34
.include <bsd.port.post.mk>
(-)dancer/files/patch-src::list.h (+15 lines)
Added Link Here
1
--- src/list.h.orig	Mon Nov 13 03:42:45 2000
2
+++ src/list.h	Thu Oct 16 22:36:07 2003
3
@@ -52,10 +52,10 @@
4
   ((NULL == (list)) || (NULL == ((header *)(list))->next))
5
 
6
 /* NewList creates a header for a list of the specified type */
7
-#define NewList(type) ( ##type## *)calloc(1, sizeof( ##type## ))
8
+#define NewList(type) (type *)calloc(1, sizeof(type))
9
 
10
 /* NewEntry allocates a new entry of the specified type */
11
-#define NewEntry(type) ( ##type## *)calloc(1, sizeof( ##type## ))
12
+#define NewEntry(type) (type *)calloc(1, sizeof(type))
13
 
14
 #define RemoveFirst(list) RemoveEntry((list), (list).h->next)
15
 #define RemoveLast(list)  RemoveEntry((list), (list).h->prev)

Return to bug 58143