1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

libreswan: patch build after gcc upgrade

This commit is contained in:
Vladimír Čunát 2024-01-25 11:04:51 +01:00
parent efe7c87c4d
commit b9b58d1c46
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, nixosTests
, pkg-config
, systemd
@ -114,6 +115,14 @@ stdenv.mkDerivation rec {
-i configs/Makefile
'';
patches = [
(fetchpatch {
name = "ignoring-return-value.patch";
url = "https://github.com/libreswan/libreswan/commit/ba5bad09f55959872022fa506d5ac06eafe3a314.diff";
hash = "sha256-xJ8rZWoRtJixamGY8sjOS+63Lw3RX7620HlRWYfvSxc=";
})
];
makeFlags = [
"PREFIX=$(out)"
"INITSYSTEM=systemd"