Skip to content

[staging-next] testdisk: fix gcc-14 build - #366687

Merged
philiptaron merged 1 commit into
NixOS:staging-nextfrom
paparodeo:testdisk-fix-gcc14
Dec 20, 2024
Merged

philiptaron merged 1 commit into
NixOS:staging-nextfrom
paparodeo:testdisk-fix-gcc14

Conversation

@paparodeo

Copy link
Copy Markdown
Contributor

fix incompatible pointer type by updating a function definition ntfs_device_testdisk_io_ioctl to take an unsigned long rather than an int. The function implementation is empty and just returns error so the updated argument type has no effect.

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@philiptaron

fix incompatible pointer type by updating a function definition
ntfs_device_testdisk_io_ioctl to take an unsigned long rather than an
int. The function implementation is empty and just returns error so the
updated argument type has no effect.

@philiptaron philiptaron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Patch looks good to me.

@philiptaron
philiptaron merged commit 135e26f into NixOS:staging-next Dec 20, 2024
@paparodeo
paparodeo deleted the testdisk-fix-gcc14 branch December 20, 2024 02:27
@Sigmanificient Sigmanificient mentioned this pull request Mar 8, 2025
27 of 28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants