# HG changeset patch # User Bram Moolenaar # Date 1588104004 -7200 # Node ID 83e196d484ebedf1933467e7bdffa5be3fdacfcf # Parent d916e6c0aeb9e94a6d84fb8e2a6379e801b3360e patch 8.2.0658: HP-UX build fails when setenv() is not defined Commit: https://github.com/vim/vim/commit/affc8fd2cda77fbd47df2594da417a9f9a9bb9b6 Author: Bram Moolenaar Date: Tue Apr 28 21:58:29 2020 +0200 patch 8.2.0658: HP-UX build fails when setenv() is not defined Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott) diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -4196,7 +4196,7 @@ set_child_environment( vim_snprintf(envbuf_Columns, sizeof(envbuf_Columns), "COLUMNS=%ld", columns); putenv(envbuf_Columns); - vim_snprintf(envbuf_Colors, sizeof(envbuf_Colors), "COLORS=%ld", colors); + vim_snprintf(envbuf_Colors, sizeof(envbuf_Colors), "COLORS=%ld", t_colors); putenv(envbuf_Colors); # ifdef FEAT_TERMINAL if (is_terminal) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 658, +/**/ 657, /**/ 656,