Skip to content

Commit 1470e97

Browse files
authored
strongswan: fix build with gettext 0.25 (#425337)
2 parents f923436 + db1be32 commit 1470e97

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

pkgs/by-name/st/strongswan/package.nix

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
stdenv,
44
fetchFromGitHub,
5+
fetchpatch2,
56
pkg-config,
67
autoreconfHook,
78
perl,
@@ -86,6 +87,20 @@ stdenv.mkDerivation rec {
8687
./ext_auth-path.patch
8788
./firewall_defaults.patch
8889
./updown-path.patch
90+
# Fixes for gettext 0.25
91+
(fetchpatch2 {
92+
url = "https://github.com/strongswan/strongswan/commit/7ec0101250bf2ac3da7a576cbb4204fceb2ef10c.patch?full_index=1";
93+
excludes = [ "scripts/test.sh" ];
94+
hash = "sha256-ATd/oj6/1vrtZdwMs45rA2MGtH2viumyucVj0LZ8Nnc=";
95+
})
96+
(fetchpatch2 {
97+
url = "https://github.com/strongswan/strongswan/commit/e8e5e2d4419a686c5a2c064648618ec281089b2e.patch?full_index=1";
98+
hash = "sha256-p98LSX8jjsDK/GZTovj/salmQ8T+txEV3vKD+wTUvsM=";
99+
})
100+
(fetchpatch2 {
101+
url = "https://github.com/strongswan/strongswan/commit/2b3a5172d89c513ed28d21bb406c1b4ef0ac787a.patch?full_index=1";
102+
hash = "sha256-xqp2Lq4pp3Uu0nVC/fl4E5mpJqCNgyZXP2g/Y2wShhI=";
103+
})
89104
];
90105

91106
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''

0 commit comments

Comments
 (0)