Skip to content

Comments

musikcube: pull pending upstream inclusion fix for ncurses-6.3#146363

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
trofi:fix-musikcube-for-ncurses-6.3
Dec 1, 2021
Merged

musikcube: pull pending upstream inclusion fix for ncurses-6.3#146363
Mic92 merged 1 commit intoNixOS:masterfrom
trofi:fix-musikcube-for-ncurses-6.3

Conversation

@trofi
Copy link
Contributor

@trofi trofi commented Nov 17, 2021

Without the fix build on ncurses-6.3 fails as:

musikcube/cursespp/cursespp/curses_config.h:54:36:
 error: format not a string literal and no format arguments [-Werror=format-security]
   54 |     if (window && format) { wprintw(window, format, ##__VA_ARGS__); }
      |                             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
musikcube/src/musikcube/app/window/TransportWindow.cpp:640:5: note: in expansion of macro 'checked_wprintw'
  640 |     checked_wprintw(c, shuffleLabel.c_str(

Without the fix build on ncurses-6.3 fails as:

    musikcube/cursespp/cursespp/curses_config.h:54:36:
     error: format not a string literal and no format arguments [-Werror=format-security]
       54 |     if (window && format) { wprintw(window, format, ##__VA_ARGS__); }
          |                             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    musikcube/src/musikcube/app/window/TransportWindow.cpp:640:5: note: in expansion of macro 'checked_wprintw'
      640 |     checked_wprintw(c, shuffleLabel.c_str(
@ofborg ofborg bot requested a review from aanderse November 17, 2021 09:28
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package 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 17, 2021
Copy link
Member

@aanderse aanderse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @trofi 👋

Thanks for fixing this! I see this was just filed upstream ~4 hours ago. I'll give upstream a chance to comment and then we can get this merged. I have subscribed to the upstream issue.

🎆

@trofi trofi mentioned this pull request Nov 30, 2021
@Mic92
Copy link
Member

Mic92 commented Dec 1, 2021

I think 2 weeks is a fair grace period for upstream and the patch looks simple enough.

@Mic92 Mic92 merged commit b431408 into NixOS:master Dec 1, 2021
@trofi trofi deleted the fix-musikcube-for-ncurses-6.3 branch December 1, 2021 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package 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.

3 participants