Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2001 08:16:37 +0000 (GMT)
From:      Bruce M Simpson <bms@spc.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33230: Build of devel/dia2code breaks on CURRENT
Message-ID:  <20011227081637.4D5022102C@kiowa.dek.spc.org>

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

>Number:         33230
>Category:       ports
>Synopsis:       Build of devel/dia2code breaks on CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 00:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kiowa.dek.spc.org 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Mon Dec 24 04:57:54 GMT 2001 root@kiowa.dek.spc.org:/usr/src/sys/i386/compile/KIOWA i386

>Description:
	ports/dia2code uses the <malloc.h> header; this has been depracated
	from CURRENT.

>How-To-Repeat:
	Attempt to build ports/dia2code on CURRENT:

In file included from dia2code.h:23,
                 from dia2code.c:18:
/usr/include/malloc.h:3: #error "<malloc.h> has been replaced by <stdlib.h>"
gmake[3]: *** [dia2code.o] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/dia2code/work/dia2code-0.6/dia2code'

>Fix:
	Patch enclosed here.

--- dia2code.h.dist     Thu Dec 27 08:13:10 2001
+++ dia2code.h  Thu Dec 27 08:13:28 2001
@@ -20,7 +20,6 @@
 
 #include <string.h>
 #include <ctype.h>
-#include <malloc.h>
 #include <stdio.h>
 #include <stdlib.h>
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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