openvpn-auth-ldap: fix build with gcc15 (#516178)

This commit is contained in:
Michael Daniels
2026-05-05 00:52:32 +00:00
committed by GitHub
@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
url = "https://patch-diff.githubusercontent.com/raw/threerings/openvpn-auth-ldap/pull/92.patch";
hash = "sha256-SXuo1D/WywKO5hCsmoeDdTsR7EelxFxJAKmlAQJ6vuE=";
})
(fetchpatch2 {
name = "gcc-15-fix";
url = "https://sources.debian.org/data/main/o/openvpn-auth-ldap/2.0.4-5/debian/patches/gcc-15.patch";
hash = "sha256-VwUwRBBfxgxEO4PKC/97vEN4e6XcUG6esc0Khu+iDxM=";
})
];
# clang > 17 dropped support for `-export-dynamic` but `-rdynamic` does the