Unverified Commit 788368c3 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

dillo-plus: fix build with gcc15 (#508781)

parents 1167c382 673ff919
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -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;
  };
})