dillo-plus: fix build with gcc15

This commit is contained in:
Xiangyan Sun
2026-04-17 00:59:19 -07:00
parent f97e195236
commit 673ff919b0
+12 -1
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchDebianPatch,
fltk,
giflib,
libjpeg,
@@ -23,6 +24,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-7DZ+Ruu1sb+yKHSigdFEVe0xkrsQXSQ2esPhujD3Qrc=";
};
patches = [
(fetchDebianPatch {
pname = "dillo";
version = "3.0.5";
debianRevision = "7.2";
patch = "gcc-15.patch";
hash = "sha256-DFtR5h8N/vl0Lv5tRHgO2Lz0719ORGog02r0zSYMVYU=";
})
];
nativeBuildInputs = [
pkg-config
];
@@ -51,6 +62,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fgaz ];
mainProgram = "dillo";
platforms = lib.platforms.all;
platforms = lib.platforms.linux;
};
})