mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
f2fs-tools: backport upstream C23 fix
Without the change the build against c23 compiler (like `gcc-15`) fails as: f2fs-tools> In file included from libf2fs_zoned.c:10: f2fs-tools> ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers f2fs-tools> 107 | typedef u8 bool; f2fs-tools> | ^~~~
This commit is contained in:
parent
bafca6cbe1
commit
558314344f
1 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,13 @@ stdenv.mkDerivation rec {
|
|||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/patch/?id=b15b6cc56ac7764be17acbdbf96448f388992adc";
|
||||
hash = "sha256-9XrNf9MMMDGOsuP3DvUhm30Sa2xICDtXbUIvM/TP35o=";
|
||||
})
|
||||
|
||||
# Fix the build against C23 compilers (like gcc-15):
|
||||
(fetchpatch {
|
||||
name = "c23.patch";
|
||||
url = "https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/patch/?id=6617d15a660becc23825007ab3fc2d270b5b250f";
|
||||
hash = "sha256-XgceNqwCDa5m9CJTQCmjfiDhZ7x/rO+UiBZwrovgywA=";
|
||||
})
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue