Skip site navigation (1)Skip section navigation (2)
Date:      19 Apr 2002 21:55:20 -0200
From:      Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37264: [PATCH] misc/bb include malloc.h
Message-ID:  <1019260523.93093.11.camel@ip01018008658.nbtel.net>

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

>Number:         37264
>Category:       ports
>Synopsis:       [PATCH] misc/bb include malloc.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 19 16:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ppl
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ip01018008658.nbtel.net 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Mon Mar 4 15:41:39 AST 2002 root@ip01018008658.nbtel.net:/usr/obj/usr/src/sys/BLOODAXIS i386


>Description:
	/usr/ports/misct/bb include malloc.h

>How-To-Repeat:
	cd /usr/ports/misct/bb && make
>Fix:

%diff -ru bb-1.2-old bb-1.2/

diff -ru bb-1.2-old/credits.c bb-1.2/credits.c
--- bb-1.2-old/credits.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/credits.c	Tue Apr 16 15:48:29 2002
@@ -24,7 +24,6 @@
 #include <math.h>
 #include <limits.h>
 #include <string.h>
-#include <malloc.h>
 #include <stdlib.h>
 #include "bb.h"
 #define STAR 1
diff -ru bb-1.2-old/credits2.c bb-1.2/credits2.c
--- bb-1.2-old/credits2.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/credits2.c	Tue Apr 16 15:48:37 2002
@@ -25,7 +25,6 @@
 #include <math.h>
 #include <ctype.h>
 #include <string.h>
-#include <malloc.h>
 #include <stdlib.h>
 #include "bb.h"
 #define STATE (TIME-starttime)
diff -ru bb-1.2-old/messager.c bb-1.2/messager.c
--- bb-1.2-old/messager.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/messager.c	Tue Apr 16 15:48:58 2002
@@ -21,8 +21,8 @@
  * 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <stdlib.h>
 #include <string.h>
-#include <malloc.h>
 #include "bb.h"
 
 static int cursor_x, cursor_y;
diff -ru bb-1.2-old/scene5.c bb-1.2/scene5.c
--- bb-1.2-old/scene5.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/scene5.c	Tue Apr 16 15:49:26 2002
@@ -21,9 +21,9 @@
  * 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include <string.h>
-#include <malloc.h>
 #include <math.h>
+#include <stdlib.h>
+#include <string.h>
 #include "bb.h"
 #include "tex.h"
 
diff -ru bb-1.2-old/scene8.c bb-1.2/scene8.c
--- bb-1.2-old/scene8.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/scene8.c	Tue Apr 16 15:49:59 2002
@@ -22,7 +22,7 @@
  */
 
 #include <math.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include "bb.h"
 #define STATE1 (TIME-starttime1)
 #define STATE (time-starttime)
diff -ru bb-1.2-old/textform.c bb-1.2/textform.c
--- bb-1.2-old/textform.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/textform.c	Tue Apr 16 15:50:17 2002
@@ -1,6 +1,6 @@
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
-#include <malloc.h>
 #include <aalib.h>
 #include "bb.h"
 #define MAXLINES 10000
diff -ru bb-1.2-old/timers.c bb-1.2/timers.c
--- bb-1.2-old/timers.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/timers.c	Tue Apr 16 15:52:05 2002
@@ -33,11 +33,11 @@
 #else
 #include "aconfig.h"
 #endif
-#include <malloc.h>
+#include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>
 #ifndef _MAC
-#include <malloc.h>
+#include <stdlib.h>
 #endif
 #ifdef HAVE_SETITIMER
 #include <signal.h>
diff -ru bb-1.2-old/uncompfn.c bb-1.2/uncompfn.c
--- bb-1.2-old/uncompfn.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/uncompfn.c	Tue Apr 16 15:51:21 2002
@@ -21,7 +21,7 @@
  * 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include <malloc.h>
+#include <stdlib.h>
 #include <aalib.h>
 #include "bb.h"
 
diff -ru bb-1.2-old/zoom.c bb-1.2/zoom.c
--- bb-1.2-old/zoom.c	Tue Apr 16 15:47:31 2002
+++ bb-1.2/zoom.c	Tue Apr 16 15:52:43 2002
@@ -32,7 +32,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #ifndef _MAC
-#include <malloc.h>
+#include <stdlib.h>
 #endif
 #ifdef __DJGPP__
 #include "aconfig.dos"



>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?1019260523.93093.11.camel>