- drop swig308-Fix-li_boost_array-test.patch, upstream

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=94
This commit is contained in:
Klaus Kämpf 2016-06-08 09:16:26 +00:00 committed by Git OBS Bridge
parent ee1924f7f6
commit 00e8283a3b
4 changed files with 7 additions and 18 deletions

View File

@ -9,6 +9,8 @@ Mon May 30 09:51:37 UTC 2016 - kkaempf@suse.com
- Various other minor fixes and improvements for C#, D, Go, Java,
Javascript, Lua, Python, R, Ruby, Scilab.
- drop swig308-Fix-li_boost_array-test.patch, upstream
-------------------------------------------------------------------
Mon May 23 15:19:08 UTC 2016 - olaf@aepfle.de

View File

@ -27,7 +27,6 @@ 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
Patch2: swig308-isfinite.diff
Patch3: swig-ocaml-int64.patch
BuildRequires: autoconf
@ -129,8 +128,7 @@ understandig SWIG usage.
%prep
%setup -q
%patch1 -p1
%patch2
%patch2 -p1
%patch3 -p1
%build

View File

@ -1,12 +0,0 @@
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];

View File

@ -1,6 +1,7 @@
--- Lib/typemaps/fragments.swg.orig 2016-02-02 14:42:14.223467628 +0000
+++ Lib/typemaps/fragments.swg 2016-02-02 14:43:41.840491612 +0000
@@ -175,6 +175,8 @@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-swig-3.0.9/Lib/typemaps/fragments.swg ./Lib/typemaps/fragments.swg
--- ../orig-swig-3.0.9/Lib/typemaps/fragments.swg 2016-05-29 14:35:37.000000000 +0200
+++ ./Lib/typemaps/fragments.swg 2016-06-08 11:13:09.475671763 +0200
@@ -178,6 +178,8 @@
# elif defined(__sun) && defined(__SVR4)
# include <ieeefp.h>
# define SWIG_isfinite(X) (finite(X))