Unverified Commit e4a5af32 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

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

parents 5083d94d 7bcf9d83
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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