Bug 36705

Summary: Fix Build on CURRENT: databases/dbview
Product: Ports & Packages Reporter: Tilman Linneweh <tilman>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me CC: tilman
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Tilman Linneweh 2002-04-03 21:40:01 UTC
	Don't use malloc.h

Fix: Two new patches in files dir:

#cat patch-db_dump.c
#cat patch-dbview.c


-void main (int argc, char **argv)
+int main (int argc, char **argv)
 {
     int opt_index;
     char c;--6MY7DpKN5tVU0f3kqFBszjMhPM2LYYIkIIwNUNTKsVzuNr6A
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- db_dump.c.orig      Wed Apr  3 22:10:27 2002
+++ db_dump.c   Wed Apr  3 22:10:51 2002
@@ -54,7 +54,7 @@
 #include <sys/stat.h>
 #include <stdio.h>
 #include <unistd.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
Comment 1 dwcjr freebsd_committer freebsd_triage 2002-05-15 15:26:30 UTC
State Changed
From-To: open->closed

Committed thanks!
Comment 2 dwcjr freebsd_committer freebsd_triage 2002-05-15 15:26:30 UTC
State Changed
From-To: open->closed

Fixed, thanks!