From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 16 14:20:20 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 238A116A4B3 for ; Thu, 16 Oct 2003 14:20:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C17743FDF for ; Thu, 16 Oct 2003 14:20:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9GLKGFY014524 for ; Thu, 16 Oct 2003 14:20:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9GLKGYQ014523; Thu, 16 Oct 2003 14:20:16 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 16 Oct 2003 14:20:16 -0700 (PDT) Resent-Message-Id: <200310162120.h9GLKGYQ014523@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Clement Laforet Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B15816A4B3 for ; Thu, 16 Oct 2003 14:11:47 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 117E643FDD for ; Thu, 16 Oct 2003 14:11:42 -0700 (PDT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 56818 invoked by uid 85); 16 Oct 2003 23:11:40 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 82 with qmail-scanner-1.20rc2 ( Clear:RC:1:. Processed in 0.300981 secs); 16 Oct 2003 21:11:40 -0000 Received: from lucifer.cultdeadsheep.org (192.168.0.2) by goofy.cultdeadsheep.org with SMTP; 16 Oct 2003 23:11:39 +0200 Received: by lucifer.cultdeadsheep.org (sSMTP sendmail emulation); Thu, 16 Oct 2003 23:11:10 +0200 Message-Id: <20031016211142.117E643FDD@mx1.FreeBSD.org> Date: Thu, 16 Oct 2003 23:11:10 +0200 From: Clement Laforet To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Clement Laforet Subject: ports/58143: [bento fix] irc/dancer: fix build on -CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clement Laforet List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 21:20:20 -0000 X-List-Received-Date: Thu, 16 Oct 2003 21:20:20 -0000 >Number: 58143 >Category: ports >Synopsis: [bento fix] irc/dancer: fix build on -CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Oct 16 14:20:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 5.1-CURRENT i386 >Organization: cotds.org >Environment: System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386 >Description: Fix build on -CURRENT New file: dancer/files/patch-src::list.h >How-To-Repeat: See bento: http://bento.freebsd.org/errorlogs/i386-5-latest/dancer-4.16.log >Fix: --- dancer.diff begins here --- Index: dancer/Makefile =================================================================== RCS file: /WORK/REPO/ports/irc/dancer/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- dancer/Makefile 24 Sep 2003 08:37:36 -0000 1.4 +++ dancer/Makefile 16 Oct 2003 20:51:00 -0000 @@ -27,7 +27,8 @@ .include .if ${OSVERSION} > 500000 -BROKEN= Does not compile +LDFLAGS+= -lm +MAKE_ARGS+= LDFLAGS="${LDFLAGS}" .endif .include Index: dancer/files/patch-src::list.h =================================================================== RCS file: dancer/files/patch-src::list.h diff -N dancer/files/patch-src::list.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ dancer/files/patch-src::list.h 16 Oct 2003 20:51:00 -0000 @@ -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) --- dancer.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: