Unverified Commit 2ab70eef authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

gopeed: fix libgopeed (#476420)

parents 3f89fb33 d6e2f76c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -31,6 +31,13 @@ let

    vendorHash = "sha256-rIj4T+NEqWla6/+ofosTwagL4/VMovDp1NEYMuzbOrQ=";

    # Fix C23 compat
    preBuild = ''
      chmod +w vendor/github.com/anacrolix/go-libutp/utp_types.h
      substituteInPlace vendor/github.com/anacrolix/go-libutp/utp_types.h \
        --replace-fail "typedef uint8 bool;" ""
    '';

    buildPhase = ''
      runHook preBuild