Skip to content

aalib: update for ncurses-6.5 - #355041

Merged
SuperSandro2000 merged 1 commit into
NixOS:stagingfrom
trofi:aalib-ncurses-6.5
Dec 11, 2024
Merged

SuperSandro2000 merged 1 commit into
NixOS:stagingfrom
trofi:aalib-ncurses-6.5

Conversation

@trofi

@trofi trofi commented Nov 10, 2024 •

Copy link
Copy Markdown
Contributor

Without the change build fails on ncurses-6.5 with opaque WINDOW as:

aacurses.c: In function 'curses_getsize':
aacurses.c:74:20: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _win_st'}
   74 |     *width = stdscr->_maxx + 1;
      |                    ^~

The change uses gemaxx() / getmaxy() instead.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Without the change build fails on `ncurses-6.5` with opaque WINDOW as:

    aacurses.c: In function 'curses_getsize':
    aacurses.c:74:20: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _wi
n_st'}
       74 |     *width = stdscr->_maxx + 1;
          |                    ^~

The change uses `gemaxx()` / `getmaxy()` instead.
@trofi trofi mentioned this pull request Nov 10, 2024
2 of 13 tasks
@ofborg ofborg Bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Nov 11, 2024
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/4939

@SuperSandro2000
SuperSandro2000 merged commit baa2963 into NixOS:staging Dec 11, 2024
@trofi
trofi deleted the aalib-ncurses-6.5 branch December 11, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants