libburn: backport upstream C23 fix (#377145)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitea,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
}:
|
||||
@@ -18,6 +19,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-Xo45X4374FXvlrJ4Q0PahYvuWXO0k3N0ke0mbURYt54=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix the build against C23 compilers (like gcc-15):
|
||||
(fetchpatch {
|
||||
name = "c23.patch";
|
||||
url = "https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3.patch";
|
||||
hash = "sha256-aouU/6AchLhzMzvkVvUnFHWfebYTrkEJ6P3fF5pvE9M=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user