Add gsoap-mindeflateratio.diff
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=37
This commit is contained in:
parent
906fea2caa
commit
387da89aa4
15
gsoap-mindeflateratio.diff
Normal file
15
gsoap-mindeflateratio.diff
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
gsoap has a weird "protection": if content is compressed too well,
|
||||||
|
it is considered evil and dropped.
|
||||||
|
|
||||||
|
--- gsoap-2.8.orig/gsoap/stdsoap2.h
|
||||||
|
+++ gsoap-2.8/gsoap/stdsoap2.h
|
||||||
|
@@ -1142,7 +1142,7 @@
|
||||||
|
Trust when compressed / deflated > SOAP_MINDEFLATERATIO
|
||||||
|
*/
|
||||||
|
#ifndef SOAP_MINDEFLATERATIO
|
||||||
|
-# define SOAP_MINDEFLATERATIO (0.1) /* ratio of deflated/inflated > 10% */
|
||||||
|
+# define SOAP_MINDEFLATERATIO (0.0) /* ratio of deflated/inflated > 10% */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef VXWORKS
|
@ -15,6 +15,7 @@ Thu Jan 15 18:34:35 UTC 2015 - jengelh@inai.de
|
|||||||
UTF8 content that is outside the allowed range of XML 1.0.
|
UTF8 content that is outside the allowed range of XML 1.0.
|
||||||
- Remove gsoap-05-ipv6.diff, gsoap-06-ipv6retry.diff
|
- Remove gsoap-05-ipv6.diff, gsoap-06-ipv6retry.diff
|
||||||
(merged upstream)
|
(merged upstream)
|
||||||
|
- Add gsoap-mindeflateratio.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 3 23:16:48 UTC 2014 - jengelh@inai.de
|
Sun Aug 3 23:16:48 UTC 2014 - jengelh@inai.de
|
||||||
|
@ -31,6 +31,7 @@ Source2: sanitize_source.sh
|
|||||||
Patch13: gsoap-automake1_13.diff
|
Patch13: gsoap-automake1_13.diff
|
||||||
Patch1: gsoap-01-sharedlibs.diff
|
Patch1: gsoap-01-sharedlibs.diff
|
||||||
Patch2: gsoap-02-typepuns.diff
|
Patch2: gsoap-02-typepuns.diff
|
||||||
|
Patch3: gsoap-mindeflateratio.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -89,14 +90,9 @@ This package contains the include headers and development library
|
|||||||
symlinks for libgsoap.
|
symlinks for libgsoap.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%if 0%{?__xz:1}
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%else
|
|
||||||
tar -xf "%{S:0}" --use=xz;
|
|
||||||
%setup -DTq
|
|
||||||
%endif
|
|
||||||
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
|
cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
|
||||||
%patch -P 13 -P 1 -P 2 -p1
|
%patch -P 13 -P 1 -P 2 -P 3 -p1
|
||||||
cp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
|
cp gsoap/stdsoap2.cpp gsoap/stdsoap2.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user