Accepting request 807076 from home:michel_mno:branches:devel:tools:building

- Add 0005-disable_li_std_wstring.patch for BE arches
  (ppc64 s390 s390x) as bypass boo#1171368

OBS-URL: https://build.opensuse.org/request/show/807076
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=118
This commit is contained in:
Klaus Kämpf 2020-05-19 07:21:59 +00:00 committed by Git OBS Bridge
parent 15e360eabd
commit 9cfa3c7a7d
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: 0005 disable li_std_wstring
Date: Mon, 18 May 2020 17:05:27 +0200
disable li_std_wstring to avoid test failure
for BE (ppc64 & s390x) as per bug
https://bugzilla.opensuse.org/show_bug.cgi?id=1171368
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
Examples/test-suite/common.mk | 1 -
1 file changed, 1 deletion(-)
Index: swig-rel-4.0.1/Examples/test-suite/common.mk
===================================================================
--- swig-rel-4.0.1.orig/Examples/test-suite/common.mk
+++ swig-rel-4.0.1/Examples/test-suite/common.mk
@@ -657,7 +657,6 @@ CPP_STD_TEST_CASES += \
li_std_vector_enum \
li_std_vector_member_var\
li_std_vector_ptr \
- li_std_wstring \
smart_pointer_inherit \
template_typedef_fnc \
template_type_namespace \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 18 15:46:46 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- Add 0005-disable_li_std_wstring.patch for BE arches
(ppc64 s390 s390x) as bypass boo#1171368
-------------------------------------------------------------------
Wed Apr 15 08:52:15 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>

View File

@ -42,6 +42,7 @@ Patch1: 0001-Fix-code-generated-for-Ruby-global-variables.patch
Patch2: 0002-Add-support-for-Ruby-2.7.patch
Patch3: 0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
Patch4: 0004-Improve-description-of-cast-macros-for-Ruby.patch
Patch5: 0005-disable_li_std_wstring.patch
Patch308: swig308-isfinite.diff
@ -119,7 +120,18 @@ understandig SWIG usage.
%prep
%setup -q -n %{name}-rel-%{version}
# for BE (Big Endian) do all patch (with 0005-disable_li_std_wstring.patch)
# bypass https://bugzilla.opensuse.org/show_bug.cgi?id=1171368
# for all other arches do all BUT that specific one
%ifarch ppc64 s390 s390x
%autopatch -p1
%else
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch308 -p1
%endif
%build
%ifarch s390 s390x