Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 17:10:10 -0800 (PST)
From:      David Yeske <dyeske@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48351: ports/audio/arts uses malloc.h
Message-ID:  <20030217011010.80995.qmail@web13505.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

>Number:         48351
>Category:       ports
>Synopsis:       ports/audio/arts uses malloc.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 16 17:20:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD blue 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb  8 18:38:03 EST 2003    
root@blue:/usr/obj/usr/src/sys/BLUE  i386


>Description:
audio/arts contains a file that includes malloc.h

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/arts/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile    28 Jan 2003 18:36:52 -0000      1.6
+++ Makefile    17 Feb 2003 01:04:27 -0000
@@ -23,8 +23,13 @@
 USE_BZIP2=     yes
 GNU_CONFIGURE= yes
 USE_GMAKE=     yes
+USE_REINPLACE= yes
 INSTALLS_SHLIB=        yes
 QTCPPFLAGS+=   -L${LOCALBASE}/lib
+
+post-patch:
+       @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' \
+               ${WRKSRC}/libltdl/ltdl.c
 
 .include "${.CURDIR}/../../x11/kde3/Makefile.kde"
 .include <bsd.port.mk>


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030217011010.80995.qmail>