diff --git a/misc/viz/Makefile b/misc/viz/Makefile index 353a577576cc..38243420aef2 100644 --- a/misc/viz/Makefile +++ b/misc/viz/Makefile @@ -1,6 +1,6 @@ PORTNAME= viz PORTVERSION= 1.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= LOCAL/fenner diff --git a/misc/viz/files/patch-lists.c b/misc/viz/files/patch-lists.c new file mode 100644 index 000000000000..db88c0b0baf6 --- /dev/null +++ b/misc/viz/files/patch-lists.c @@ -0,0 +1,13 @@ +--- lists.c.orig ++++ lists.c +@@ -6,10 +6,6 @@ + + #include "viz.h" + +-extern errno; +- +-extern char *malloc(); +- + void + printlist(level, list) + int level; diff --git a/misc/viz/files/patch-loadfile.c b/misc/viz/files/patch-loadfile.c new file mode 100644 index 000000000000..19309738ea8d --- /dev/null +++ b/misc/viz/files/patch-loadfile.c @@ -0,0 +1,13 @@ +--- loadfile.c.orig ++++ loadfile.c +@@ -1,9 +1,8 @@ ++#include + #include + #include + #include + #include +- +-extern errno; + + char *loadfile(path) + char *path;