| 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: |
|
||||||
State Changed From-To: open->closed Committed thanks! State Changed From-To: open->closed Fixed, thanks! |
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>