From owner-svn-ports-all@freebsd.org Thu Aug 20 10:09:49 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E32833B93B4; Thu, 20 Aug 2020 10:09:49 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BXL3x5jFpz4Ddq; Thu, 20 Aug 2020 10:09:49 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A6FCF12924; Thu, 20 Aug 2020 10:09:49 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07KA9nlu042584; Thu, 20 Aug 2020 10:09:49 GMT (envelope-from eugen@FreeBSD.org) Received: (from eugen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07KA9nwc042581; Thu, 20 Aug 2020 10:09:49 GMT (envelope-from eugen@FreeBSD.org) Message-Id: <202008201009.07KA9nwc042581@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eugen set sender to eugen@FreeBSD.org using -f From: Eugene Grosbein Date: Thu, 20 Aug 2020 10:09:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545519 - head/misc/deco/files X-SVN-Group: ports-head X-SVN-Commit-Author: eugen X-SVN-Commit-Paths: head/misc/deco/files X-SVN-Commit-Revision: 545519 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 10:09:50 -0000 Author: eugen Date: Thu Aug 20 10:09:48 2020 New Revision: 545519 URL: https://svnweb.freebsd.org/changeset/ports/545519 Log: 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 Added: head/misc/deco/files/patch-env.h (contents, props changed) head/misc/deco/files/patch-tty.c (contents, props changed) Modified: head/misc/deco/files/patch-scr.c Added: head/misc/deco/files/patch-env.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/deco/files/patch-env.h Thu Aug 20 10:09:48 2020 (r545519) @@ -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); Modified: head/misc/deco/files/patch-scr.c ============================================================================== --- head/misc/deco/files/patch-scr.c Thu Aug 20 10:06:45 2020 (r545518) +++ head/misc/deco/files/patch-scr.c Thu Aug 20 10:09:48 2020 (r545519) @@ -1,6 +1,16 @@ -Index: scr.c -@@ -167,7 +167,7 @@ +--- scr.c.orig 1998-12-29 16:57:11 UTC ++++ scr.c +@@ -148,7 +148,7 @@ WINDOW VScreen; + int BlackWhite = 0; + int ColorMode = 1; + int GraphMode = 1; +-int TtyUpperCase = 0; ++extern int TtyUpperCase; + static WINDOW curscr; + static scrool, rscrool; +@@ -167,7 +167,7 @@ static char *KS, *KE; + static char *CL, *CM, *SE, *SO, *TE, *TI, *VE, *VS, *AL, *DL, *IS, *IF, *FS, *MD, *MH, *ME, *MR, - *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB; @@ -8,7 +18,7 @@ Index: scr.c static NF, NB; static char MS, C2; -@@ -231,6 +231,7 @@ +@@ -231,6 +231,7 @@ struct CapTab outtab [] = { { "Cs", CAPSTR, 0, 0, 0, &Cs, }, { "Ce", CAPSTR, 0, 0, 0, &Ce, }, { "Ct", CAPSTR, 0, 0, 0, &Ct, }, @@ -16,7 +26,7 @@ Index: scr.c { { 0, 0, }, 0, 0, 0, 0, 0, }, }; -@@ -413,6 +414,8 @@ +@@ -413,6 +414,8 @@ void VClose () tputs (TE); if (KE) tputs (KE); @@ -25,7 +35,7 @@ Index: scr.c VFlush (); TtyReset (); } -@@ -425,6 +428,8 @@ +@@ -425,6 +428,8 @@ void VRestore () tputs (VE); if (KE) tputs (KE); Added: head/misc/deco/files/patch-tty.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/deco/files/patch-tty.c Thu Aug 20 10:09:48 2020 (r545519) @@ -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 +