[packages/libmicrohttpd] - updated to 0.9.67 - added messages patch (build with --disable-messages is broken again)

qboosh qboosh at pld-linux.org
Wed Oct 23 16:35:41 CEST 2019


commit b9380830c754daefb66a58d972eba3a8e6b49674
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Oct 23 16:39:14 2019 +0200

    - updated to 0.9.67
    - added messages patch (build with --disable-messages is broken again)

 libmicrohttpd-messages.patch | 12 ++++++++++++
 libmicrohttpd.spec           |  6 ++++--
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/libmicrohttpd.spec b/libmicrohttpd.spec
index 09c1229..5977ee2 100644
--- a/libmicrohttpd.spec
+++ b/libmicrohttpd.spec
@@ -5,13 +5,14 @@
 Summary:	Embeded HTTP server library
 Summary(pl.UTF-8):	Biblioteka wbudowanego serwera HTTP
 Name:		libmicrohttpd
-Version:	0.9.66
+Version:	0.9.67
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
-# Source0-md5:	ce4050e75cc40d68506e2b403e1a76f9
+# Source0-md5:	e28e04e3d3eca62f5754efb844d17812
 Patch0:		%{name}-info.patch
+Patch1:		%{name}-messages.patch
 URL:		http://www.gnu.org/software/libmicrohttpd/
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.11
@@ -66,6 +67,7 @@ Biblioteka statyczna libmicrohttpd.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/libmicrohttpd-messages.patch b/libmicrohttpd-messages.patch
new file mode 100644
index 0000000..beb26a6
--- /dev/null
+++ b/libmicrohttpd-messages.patch
@@ -0,0 +1,12 @@
+--- libmicrohttpd-0.9.67/src/microhttpd/daemon.c.orig	2019-10-17 16:55:53.000000000 +0200
++++ libmicrohttpd-0.9.67/src/microhttpd/daemon.c	2019-10-23 05:37:17.445371980 +0200
+@@ -3266,8 +3266,8 @@
+     MHD_DLOG (daemon,
+               _ ("Failed to disable TCP Nagle on socket: %s\n"),
+               MHD_socket_last_strerr_ ());
+-  }
+ #endif
++  }
+ #endif
+ #if ! defined(USE_ACCEPT4) || ! defined(HAVE_SOCK_NONBLOCK)
+   if (! MHD_socket_nonblocking_ (s))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmicrohttpd.git/commitdiff/b9380830c754daefb66a58d972eba3a8e6b49674



More information about the pld-cvs-commit mailing list