Accepting request 745347 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/745347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmicrohttpd?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2019-11-07 22:14:06 +00:00 committed by Git OBS Bridge
commit de5d3764ab
7 changed files with 13 additions and 31 deletions

View File

@ -1,25 +0,0 @@
From 093c83c2270e18294811f394c9af87a2cb56ea20 Mon Sep 17 00:00:00 2001
From: Christian Grothoff <christian@grothoff.org>
Date: Thu, 17 Oct 2019 23:10:34 +0200
Subject: fix missing ret, thanks, Markus
---
src/microhttpd/mhd_sockets.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c
index 7929c07a..ad2f91bc 100644
--- a/src/microhttpd/mhd_sockets.c
+++ b/src/microhttpd/mhd_sockets.c
@@ -530,6 +530,8 @@ MHD_socket_cork_ (MHD_socket sock,
return 0; /* even force flush failed!? */
return 1; /* success */
}
+#else
+ return 1; /* success */
#endif
#else
/* do not have MHD_TCP_CORK_NOPUSH at all */
--
cgit v1.2.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e1f852723d099d4827d7ebde4d02dd00fd8da62149526fdb9fae058c5a60495
size 1881973

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c5716e2a2899abc9e16c8fa7a1a58da88f81aca96a0b7e68a5d4d89e21610b61
size 1884342

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Nov 5 08:20:42 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.9.68:
* Fix regression where MHD would fail to return an empty response
when used with HTTPS.
* Introduce MHD_RF_INSANITY_HEADER_CONTENT_LENGTH
- drop libmicrohttpd-0.9.67-fix-nonvoid-return.patch, in release
-------------------------------------------------------------------
Thu Oct 24 19:45:52 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -20,7 +20,7 @@
%global sover 12
%global libname %{name}%{sover}
Name: libmicrohttpd
Version: 0.9.67
Version: 0.9.68
Release: 0
Summary: Small Embeddable HTTP Server Library
# Some internal tests are licenced as GPL-3.0+ - they are only used in
@ -31,7 +31,6 @@ URL: https://www.gnu.org/software/libmicrohttpd/
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz.sig
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
Patch0: libmicrohttpd-0.9.67-fix-nonvoid-return.patch
BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: pkgconfig >= 0.9.0
@ -89,7 +88,6 @@ Headers, pkg-config files, so link and other development files for %{name}
%prep
%setup -q
%patch0 -p1
%build
%configure \