Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 22:38:51 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        tilman@arved.de
Subject:   ports/36705: Fix Build on CURRENT: databases/dbview
Message-ID:  <200204032038.g33KcpQ50715@sauna.arved.de>

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

>Number:         36705
>Category:       ports
>Synopsis:       Fix Build on CURRENT: databases/dbview
>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:   Wed Apr 03 12:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.5-STABLE FreeBSD 4.5-STABLE #2: Tue Feb 19 15:30:21 CET 2002 root@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	Don't use malloc.h
	
>How-To-Repeat:
	
>Fix:

	
Two new patches in files dir:

#cat patch-db_dump.c
--- 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>

#cat patch-dbview.c
--- dbview.c.orig       Wed Apr  3 22:13:31 2002
+++ dbview.c    Wed Apr  3 22:25:42 2002
@@ -54,7 +54,7 @@
     printf ("  --version, -v          display version\n");
 }

-void main (int argc, char **argv)
+int main (int argc, char **argv)
 {
     int opt_index;
     char c;

>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?200204032038.g33KcpQ50715>