svn commit: r550624 - in head/misc/viz: . files
Stefan Eßer
se at FreeBSD.org
Tue Sep 29 21:12:27 UTC 2020
Author: se
Date: Tue Sep 29 21:12:26 2020
New Revision: 550624
URL: https://svnweb.freebsd.org/changeset/ports/550624
Log:
Fix build with -fno-common
Added:
head/misc/viz/files/patch-viz.h (contents, props changed)
Modified:
head/misc/viz/Makefile
head/misc/viz/files/patch-viz.c
Modified: head/misc/viz/Makefile
==============================================================================
--- head/misc/viz/Makefile Tue Sep 29 21:01:28 2020 (r550623)
+++ head/misc/viz/Makefile Tue Sep 29 21:12:26 2020 (r550624)
@@ -3,14 +3,19 @@
PORTNAME= viz
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= LOCAL/fenner
MAINTAINER= ports at FreeBSD.org
COMMENT= Convert invisible (binary) characters to a visible form
-MAKE_ARGS= CC="${CC}" DEFS="${CFLAGS}"
+LICENSE= GPLv1
+LICENSE_FILE= ${WRKSRC}/Copying
+
USES= tar:tgz
+
+MAKE_ARGS= CC="${CC}" DEFS="${CFLAGS}"
PLIST_FILES= bin/viz bin/inviz man/man1/viz.1.gz man/man1/inviz.1.gz
Modified: head/misc/viz/files/patch-viz.c
==============================================================================
--- head/misc/viz/files/patch-viz.c Tue Sep 29 21:01:28 2020 (r550623)
+++ head/misc/viz/files/patch-viz.c Tue Sep 29 21:12:26 2020 (r550624)
@@ -1,6 +1,6 @@
---- viz.c.patched Sat Mar 8 18:07:20 1997
-+++ viz.c Sat Mar 8 18:07:26 1997
-@@ -55,14 +55,17 @@
+--- viz.c.orig 1995-04-14 13:30:56 UTC
++++ viz.c
+@@ -55,14 +55,19 @@
#define VIZ_MAIN
#include "viz.h"
@@ -16,6 +16,8 @@
extern optind, opterr;
extern char *optarg;
+#endif
++
++MEMP rootlist;
char *prog;
struct Format Fmt = {
Added: head/misc/viz/files/patch-viz.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/viz/files/patch-viz.h Tue Sep 29 21:12:26 2020 (r550624)
@@ -0,0 +1,11 @@
+--- viz.h.orig 1995-04-14 13:30:56 UTC
++++ viz.h
+@@ -82,7 +82,7 @@ typedef MEMBER *MEMP;
+
+ #define NIL ((MEMP) 0)
+
+-MEMP rootlist;
++extern MEMP rootlist;
+
+
+ typedef union {
More information about the svn-ports-all
mailing list