Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 23:19:01 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        mita@freebsd.org
Subject:   ports/32071: malloc.h update
Message-ID:  <200111180419.fAI4J1x97164@khavrinen.lcs.mit.edu>

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

>Number:         32071
>Category:       ports
>Synopsis:       malloc.h update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 17 20:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Wollman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD Project
>Environment:
	Ports build cluster

>Description:
	magicpoint uses a bizarre mixture of autoconf and imake for
	its configuration.  In one of the imake-controlled bits,
	a source file references the obsolete System V header file
	<malloc.h> and thus won't compile on -current.

>How-To-Repeat:
	See http://bento.freebsd.org/errorlogs/5-latest/magicpoint-1.09a.log

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files
#	files/patch-aa
#
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/patch-aa
sed 's/^X//' >files/patch-aa << 'END-of-files/patch-aa'
Xdiff -ru2 ../../work.orig/magicpoint-1.09a/image/new.c ./image/new.c
X--- ../../work.orig/magicpoint-1.09a/image/new.c	Sat Nov 17 23:06:01 2001
X+++ ./image/new.c	Sat Nov 17 23:11:45 2001
X@@ -12,5 +12,9 @@
X #include "image.h"
X 
X+#ifdef CSRG_BASED
X+#include <stdlib.h>
X+#else
X #include <malloc.h>
X+#endif
X 
X extern int _Xdebug;
END-of-files/patch-aa
exit
>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?200111180419.fAI4J1x97164>