Skip to content

Comments

vwm: fix build against ncurses-6.3#147729

Merged
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
trofi:fix-vwm-for-ncurses-6.3
Nov 29, 2021
Merged

vwm: fix build against ncurses-6.3#147729
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
trofi:fix-vwm-for-ncurses-6.3

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Nov 28, 2021

Without the change the build on upcoming ncurses-6.3 fails as:

vwm_bkgd.c:71:63: error: format not a string literal and no format arguments [-Werror=format-security]
   71 |         mvwprintw(window,height-1,width-(strlen(version_str)),version_str);
      |                                                               ^~~~~~~~~~~

Without the change the build on upcoming `ncurses-6.3` fails as:

    vwm_bkgd.c:71:63: error: format not a string literal and no format arguments [-Werror=format-security]
       71 |         mvwprintw(window,height-1,width-(strlen(version_str)),version_str);
          |                                                               ^~~~~~~~~~~
@trofi trofi mentioned this pull request Nov 28, 2021
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 28, 2021
@SuperSandro2000 SuperSandro2000 merged commit f830d70 into NixOS:master Nov 29, 2021
@trofi trofi deleted the fix-vwm-for-ncurses-6.3 branch November 29, 2021 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants