Repository navigation
gftp: workaround incompatible pointer types - #405643
Conversation
|
The linked upstream repo seems to propose a single-line patch, did you consider just using that? Would seem more targeted than the extra compiler flag? |
|
Thanks a lot @phaer for taking a look at this PR! Yes, I saw the proposed patch, but I decided not to go that route as the cause of the failing build is not related to nix, but actually an upstream issue. The ideal solution would be to fix upstream, but for the time being I thought adding this flag is a non-invasive workaround. |
|
@msbence I think in general the implications of a small patch files are often easier to estimate then those of a compiler flag affecting the whole package. |
Due to an upstream issue regarding GCC-14 compatibility (masneyb/gftp#178), the package is failing build to build due to incompatible pointer types. This PR is to workaround this issue by adding the
-Wno-incompatible-pointer-typescompiler flag.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.