mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Fix build with -fno-common
This commit is contained in:
parent
4f22622186
commit
4317d6c21b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550624
@ -3,15 +3,20 @@
|
||||
|
||||
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
|
||||
|
||||
do-install:
|
||||
|
@ -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 = {
|
||||
|
11
misc/viz/files/patch-viz.h
Normal file
11
misc/viz/files/patch-viz.h
Normal file
@ -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 {
|
Loading…
Reference in New Issue
Block a user