unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71.
@ 2020-08-16  2:08 Michael Rohleder
  2020-08-16  7:49 ` bug#42881: " Mathieu Othacehe
  2020-08-16  9:26 ` [bug#42881] " Tobias Geerinckx-Rice via Guix-patches via
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Rohleder @ 2020-08-16  2:08 UTC (permalink / raw)
  To: 42881; +Cc: Michael Rohleder

* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.71.
---
 gnu/packages/gnunet.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index d572d868ef..f321e624af 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -157,14 +157,14 @@ tool to extract metadata from a file and print the results.")
 (define-public libmicrohttpd
   (package
    (name "libmicrohttpd")
-   (version "0.9.70")
+   (version "0.9.71")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://gnu/libmicrohttpd/libmicrohttpd-"
                                 version ".tar.gz"))
             (sha256
              (base32
-              "01vkjy89b1ylmh22dy5yza2r414nfwcfixxh3v29nvzrjv9s7l4h"))))
+              "10mii4mifmfs3v7kgciqml7f0fj7ljp0sngrx64pnwmgbzl4bx78"))))
    (build-system gnu-build-system)
    (inputs
     `(("curl" ,curl)
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#42881: [PATCH] gnu: libmicrohttpd: Update to 0.9.71.
  2020-08-16  2:08 [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71 Michael Rohleder
@ 2020-08-16  7:49 ` Mathieu Othacehe
  2020-08-16  9:26 ` [bug#42881] " Tobias Geerinckx-Rice via Guix-patches via
  1 sibling, 0 replies; 5+ messages in thread
From: Mathieu Othacehe @ 2020-08-16  7:49 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 42881-done


> * gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.71.

Pushed, thanks,

Mathieu




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71.
  2020-08-16  2:08 [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71 Michael Rohleder
  2020-08-16  7:49 ` bug#42881: " Mathieu Othacehe
@ 2020-08-16  9:26 ` Tobias Geerinckx-Rice via Guix-patches via
  2020-08-16 10:19   ` Tobias Geerinckx-Rice via Guix-patches via
  2020-08-16 21:42   ` Michael Rohleder
  1 sibling, 2 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-08-16  9:26 UTC (permalink / raw)
  To: Michael Rohleder; +Cc: 42881


[-- Attachment #1.1: Type: text/plain, Size: 181 bytes --]

Mornin' Michael,

Michael Rohleder 写道:
> * gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.71.

This ‘patch’ release breaks dependents like ola & drawpile:


[-- Attachment #1.2: Type: text/plain, Size: 847 bytes --]

common/http/HTTPServer.cpp:221:76: error: invalid conversion from 
‘int (*)(void*, MHD_ValueKind, const char*, const char*)’ to 
‘MHD_KeyValueIterator {aka MHD_Result (*)(void*, MHD_ValueKind, 
const char*, const char*)}’ [-fperm>
   MHD_get_connection_values(m_connection, MHD_HEADER_KIND, 
   AddHeaders, this);
                                                                            ^
In file included from ./include/ola/http/HTTPServer.h:42:0,
                 from common/http/HTTPServer.cpp:29:
/gnu/store/7pljqj4p04i8rb1zzlkcrx5jx2hc6yzv-libmicrohttpd-0.9.71/include/microhttpd.h:2697:1: 
note:   initializing argument 3 of ‘int 
MHD_get_connection_values(MHD_Connection*, MHD_ValueKind, 
MHD_KeyValueIterator, void*)’
 MHD_get_connection_values (struct MHD_Connection *connection,
 ^~~~~~~~~~~~~~~~~~~~~~~~~

[-- Attachment #1.3: Type: text/plain, Size: 46 bytes --]


Could you take a look?

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71.
  2020-08-16  9:26 ` [bug#42881] " Tobias Geerinckx-Rice via Guix-patches via
@ 2020-08-16 10:19   ` Tobias Geerinckx-Rice via Guix-patches via
  2020-08-16 21:42   ` Michael Rohleder
  1 sibling, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2020-08-16 10:19 UTC (permalink / raw)
  To: 42881; +Cc: mike

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

Tobias Geerinckx-Rice via Guix-patches via 写道:
> Michael Rohleder 写道:
>> * gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.71.
>
> This ‘patch’ release breaks dependents like ola & drawpile:

I've updated OLA on master to a git snapshot that builds with this 
version.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71.
  2020-08-16  9:26 ` [bug#42881] " Tobias Geerinckx-Rice via Guix-patches via
  2020-08-16 10:19   ` Tobias Geerinckx-Rice via Guix-patches via
@ 2020-08-16 21:42   ` Michael Rohleder
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Rohleder @ 2020-08-16 21:42 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 42881


[-- Attachment #1.1: Type: text/plain, Size: 318 bytes --]

Hey nckx,

Tobias Geerinckx-Rice 写道:
>> * gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.71.
> This ‘patch’ release breaks dependents like ola & drawpile:

uhm yes. I tested only some dependents like faust, wget2 and gnunet.
Thank you for patchig ola.

Please find this patch for drawpile:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: [PATCH]: Build drawpile with libmicrohttpd --]
[-- Type: text/x-patch, Size: 1808 bytes --]

From f75982a23ccbf2089ac413e82888c584101e9525 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Sun, 16 Aug 2020 23:13:57 +0200
Subject: [PATCH] gnu: drawpile: Build with libmicrohttpd 0.9.71.

* gnu/packages/graphics.scm (drawpile)[arguments]: Add patch phase.
---
 gnu/packages/graphics.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index c7fefbd57d..a5d6a8cad8 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1450,7 +1450,21 @@ Automated palette selection is supported.")
                 "08w8vad8pw4a8kkshys1kd2kjvzpj62klxxxp904rx0qazw5hl80"))))
     (build-system qt-build-system)
     (arguments
-     '(#:configure-flags (list "-DTESTS=ON" "-DTOOLS=ON" "-DKIS_TABLET=ON")))
+     '(#:configure-flags (list "-DTESTS=ON" "-DTOOLS=ON" "-DKIS_TABLET=ON")
+       #:phases
+       (modify-phases %standard-phases
+         ;; 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)))))
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
        ("pkg-config" ,pkg-config)))
-- 
2.28.0


[-- Attachment #1.3: Type: text/plain, Size: 99 bytes --]



-- 
Wer ununterbrochen vorwaertsmarschiert, steht die haelfte seines
Lebens auf einem Bein.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 483 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-16 21:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-16  2:08 [bug#42881] [PATCH] gnu: libmicrohttpd: Update to 0.9.71 Michael Rohleder
2020-08-16  7:49 ` bug#42881: " Mathieu Othacehe
2020-08-16  9:26 ` [bug#42881] " Tobias Geerinckx-Rice via Guix-patches via
2020-08-16 10:19   ` Tobias Geerinckx-Rice via Guix-patches via
2020-08-16 21:42   ` Michael Rohleder

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).