Date: Sat, 17 Nov 2001 23:01:33 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: FreeBSD-gnats-submit@freebsd.org Cc: bruno@tinkerbox.org Subject: ports/32070: malloc.h update for libgdgeda Message-ID: <200111180401.fAI41XO88946@khavrinen.lcs.mit.edu>
next in thread | raw e-mail | index | archive | help
>Number: 32070 >Category: ports >Synopsis: malloc.h update for libgdgeda >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:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 5.0-CURRENT i386 >Organization: FreeBSD Project >Environment: Ports build cluster >Description: FreeBSD-current no longer has the obsolete System V header malloc.h >How-To-Repeat: See http://bento.freebsd.org/errorlogs/5-latest/libgdgeda-1.8.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/libgdgeda-1.8/src/gd.c ./src/gd.c X--- ../../work.orig/libgdgeda-1.8/src/gd.c Sat Nov 17 22:51:38 2001 X+++ ./src/gd.c Sat Nov 17 22:54:00 2001 X@@ -1,5 +1,8 @@ X-#ifndef _OSD_POSIX /* _OSD_POSIX defines *alloc() in stdlib.h */ X+#ifdef HAVE_CONFIG_H X+#include "config.h" X+#endif X+#ifdef HAVE_MALLOC_H X #include <malloc.h> X-#endif /*_OSD_POSIX*/ X+#endif /* HAVE_MALLOC_H */ X #include <stdio.h> X #include <math.h> 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?200111180401.fAI41XO88946>