diff options
author | erwin <erwin@FreeBSD.org> | 2003-10-17 14:53:44 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-10-17 14:53:44 +0800 |
commit | 157616d73ee293bc953337e7d15e97acbb3341a9 (patch) | |
tree | cdf790112bbdfad01ecdf19c56df5d72c6395c0e /irc/dancer | |
parent | 2ad10bcd1cfc6dedb2a8690bb780016749c86868 (diff) | |
download | freebsd-ports-gnome-157616d73ee293bc953337e7d15e97acbb3341a9.tar.gz freebsd-ports-gnome-157616d73ee293bc953337e7d15e97acbb3341a9.tar.zst freebsd-ports-gnome-157616d73ee293bc953337e7d15e97acbb3341a9.zip |
Fix build on -current
PR: 58143
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Diffstat (limited to 'irc/dancer')
-rw-r--r-- | irc/dancer/Makefile | 3 | ||||
-rw-r--r-- | irc/dancer/files/patch-src::list.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/irc/dancer/Makefile b/irc/dancer/Makefile index f0804cc0cc56..6dd9933c391a 100644 --- a/irc/dancer/Makefile +++ b/irc/dancer/Makefile @@ -27,7 +27,8 @@ do-install: .include <bsd.port.pre.mk> .if ${OSVERSION} > 500000 -BROKEN= Does not compile +LDFLAGS+= -lm +MAKE_ARGS+= LDFLAGS="${LDFLAGS}" .endif .include <bsd.port.post.mk> diff --git a/irc/dancer/files/patch-src::list.h b/irc/dancer/files/patch-src::list.h new file mode 100644 index 000000000000..59e8dd3fb7af --- /dev/null +++ b/irc/dancer/files/patch-src::list.h @@ -0,0 +1,15 @@ +--- src/list.h.orig Mon Nov 13 03:42:45 2000 ++++ src/list.h Thu Oct 16 22:36:07 2003 +@@ -52,10 +52,10 @@ + ((NULL == (list)) || (NULL == ((header *)(list))->next)) + + /* NewList creates a header for a list of the specified type */ +-#define NewList(type) ( ##type## *)calloc(1, sizeof( ##type## )) ++#define NewList(type) (type *)calloc(1, sizeof(type)) + + /* NewEntry allocates a new entry of the specified type */ +-#define NewEntry(type) ( ##type## *)calloc(1, sizeof( ##type## )) ++#define NewEntry(type) (type *)calloc(1, sizeof(type)) + + #define RemoveFirst(list) RemoveEntry((list), (list).h->next) + #define RemoveLast(list) RemoveEntry((list), (list).h->prev) |