guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42939] [PATCH] gnu: drawpile: Build with libmicrohttpd 0.9.71.


From: Mathieu Othacehe
Subject: [bug#42939] [PATCH] gnu: drawpile: Build with libmicrohttpd 0.9.71.
Date: Mon, 24 Aug 2020 09:19:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello Michael,

> +         ;; libmicrohttpd>=0.9.71 changed some results from int to 
> MHD_Result.
> +         (add-after 'unpack 'patch
> +           (lambda _
> +             (substitute* "src/thinsrv/webadmin/qmhttp.cpp"
> +               (("^int assign_to_hash") "MHD_Result assign_to_hash")
> +               (("^int access_policy") "MHD_Result access_policy")
> +               (("^int iterate_post") "MHD_Result iterate_post")
> +               (("^int request_handler") "MHD_Result request_handler")
> +               (("int ret;") "MHD_Result ret;")
> +               (("ret = MHD_queue_basic_auth_fail_response")
> +                "ret = (MHD_Result) MHD_queue_basic_auth_fail_response"))
> +             #t)))))

I believe that this is fixed upstream by:
https://github.com/drawpile/Drawpile/commit/ed1a75deb113da2d1df91a28f557509c4897130e.

Thanks,

Mathieu





reply via email to

[Prev in Thread] Current Thread [Next in Thread]