Date: Tue, 29 Sep 2020 21:12:26 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550624 - in head/misc/viz: . files Message-ID: <202009292112.08TLCQnv008863@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009292112.08TLCQnv008863>