Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
eugen
authored and
eugen
committed
Aug 20, 2020
1 parent
10883ec
commit 4b6803f
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- tty.c.orig 1997-07-18 14:58:32 UTC | ||
+++ tty.c | ||
@@ -82,7 +82,7 @@ static struct ltchars oldchars, newchars; | ||
# define OXTABS TAB3 | ||
#endif | ||
|
||
-int TtyUpperCase; | ||
+int TtyUpperCase = 0; | ||
|
||
#define NOCHAR 0 | ||
|