- Add swig308-Fix-li_boost_array-test.patch to fix boost::array
test on PPC. OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=87
This commit is contained in:
parent
7ada186389
commit
74c07b6309
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 21:08:33 UTC 2016 - idonmez@suse.com
|
||||
|
||||
- Add swig308-Fix-li_boost_array-test.patch to fix boost::array
|
||||
test on PPC.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 7 08:13:38 UTC 2016 - kkaempf@suse.com
|
||||
|
||||
|
@ -25,6 +25,7 @@ Group: Development/Languages/C and C++
|
||||
Url: http://www.swig.org/
|
||||
Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.rpmlintrc
|
||||
Patch1: swig308-Fix-li_boost_array-test.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: boost-devel
|
||||
@ -118,6 +119,7 @@ understandig SWIG usage.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
12
swig308-Fix-li_boost_array-test.patch
Normal file
12
swig308-Fix-li_boost_array-test.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up swig-3.0.8/Examples/test-suite/li_boost_array.i.orig swig-3.0.8/Examples/test-suite/li_boost_array.i
|
||||
--- swig-3.0.8/Examples/test-suite/li_boost_array.i.orig 2016-01-06 08:09:48.851786620 +0100
|
||||
+++ swig-3.0.8/Examples/test-suite/li_boost_array.i 2016-01-06 08:10:54.028471052 +0100
|
||||
@@ -31,7 +31,7 @@ namespace boost {
|
||||
|
||||
%inline %{
|
||||
boost::array<int, 6> arrayOutVal() {
|
||||
- const char carray[] = { -2, -1, 0, 0, 1, 2 };
|
||||
+ const signed char carray[] = { -2, -1, 0, 0, 1, 2 };
|
||||
boost::array<int, 6> myarray;
|
||||
for (size_t i=0; i<6; ++i) {
|
||||
myarray[i] = carray[i];
|
Loading…
Reference in New Issue
Block a user