SHA256
8
0
forked from pool/cpprest

Accepting request 721230 from home:1Antoine1:branches:devel:libraries:c_c++

- Update to 2.10.14:
  * json: {"meow"} is not a valid object.
  * Undefine compress if it is defined by zconf.h.
  * Use EVP_MAX_MD_SIZE instead of HMAC_MAX_MD_CBLOCK.
  * Remove the address_configured flag on tcp::resolver::query.
  * Add ping and pong to message handler.
  * Fix reusing ASIO http_client connecting to HTTPS server via
    proxy.
  * Fix order of object destruction (gh#microsoft/cpprestsdk#1171).
  * Fix SSL proxy tunnel support with basic auth.
- Fix build with GCC 9: Turn "deprecated-copy" and "redundant-move"
  errors into warnings (temporary, gh#microsoft/cpprestsdk#1099).

OBS-URL: https://build.opensuse.org/request/show/721230
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=43
This commit is contained in:
2019-08-06 10:22:06 +00:00
committed by Git OBS Bridge
parent dfc9f4f9e3
commit 87aad9aa79
4 changed files with 23 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
%define major 2
%define minor 10
Name: cpprest
Version: 2.10.13
Version: 2.10.14
Release: 0
Summary: C++ REST library
# main: MIT (license.txt)
@@ -83,7 +83,9 @@ Development files.
%cmake \
-DCMAKE_BUILD_TYPE=Release \
%ifarch ppc ppc64 ppc64le aarch64 %{arm}
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy -Wno-redundant-move -Wno-error=attributes -Wno-error=type-limits -Wno-error=cast-align -Wno-error=deprecated-declarations" \
%else
-DCMAKE_CXX_FLAGS:STRING="%{optflags} -Wno-deprecated-copy -Wno-redundant-move" \
%endif
../Release
make %{?_smp_mflags}