Unverified Commit ddf2cf37 authored by Franz Pletz's avatar Franz Pletz Committed by GitHub
Browse files

rspamd: fix build with lua >= 5.2 (#446509)

parents fb2c024a 409632c8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch2,
  cmake,
  doctest,
  fmt_11,
@@ -48,6 +49,13 @@ stdenv.mkDerivation rec {
    hash = "sha256-0qX/rvcEXxzr/PGL2A59T18Mfcalrjz0KJpEWBKJsZg=";
  };

  patches = [
    (fetchpatch2 {
      url = "https://github.com/rspamd/rspamd/commit/d808fd75ff1db1821b1dd817eb4ba9a118b31090.patch";
      hash = "sha256-v1Gn3dPxN/h92NYK3PTrZomnbwUcVkAWcYeQCFzQNyo=";
    })
  ];

  hardeningEnable = [ "pie" ];

  nativeBuildInputs = [