summaryrefslogtreecommitdiff
path: root/misc/deco/files/patch-env.h
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-08-20 10:09:48 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-08-20 10:09:48 +0000
commit2cc06739443a9f500dcd1307ea29e0f3e376df86 (patch)
tree5437e06a77a015999a77221d74da8d2cd87a7a0f /misc/deco/files/patch-env.h
parentFix build on FreeBSD 13 (diff)
misc/deco: fix build with -fno-common (clang 11 and gcc 10)
PORTREVISION not bumped as it fixes build for FreeBSD 13. Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=545519
Diffstat (limited to 'misc/deco/files/patch-env.h')
-rw-r--r--misc/deco/files/patch-env.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/deco/files/patch-env.h b/misc/deco/files/patch-env.h
new file mode 100644
index 000000000000..0b2186767f60
--- /dev/null
+++ b/misc/deco/files/patch-env.h
@@ -0,0 +1,8 @@
+--- env.h.orig 1997-07-12 16:29:23 UTC
++++ env.h
+@@ -1,4 +1,4 @@
+-char **EnvVector;
++static char **EnvVector;
+ void EnvInit (char **env);
+ char *EnvGet (char *name);
+ void EnvPut (char *name, char *value);