From ee1924f7f655a6657d53fada52f4059b0d298e12ca8e0fc343207d216e82b57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Mon, 30 May 2016 09:52:48 +0000 Subject: [PATCH 1/2] - Update to 3.0.9 - Add support for Python's implicit namespace packages. - Fixes to support Go 1.6. - C++11 std::array support added for Java. - Improved C++ multiple inheritance support for Java/C# wrappers. - Various other minor fixes and improvements for C#, D, Go, Java, Javascript, Lua, Python, R, Ruby, Scilab. OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=93 --- swig-3.0.8.tar.gz | 3 --- swig-3.0.9.tar.gz | 3 +++ swig.changes | 11 +++++++++++ swig.spec | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 swig-3.0.8.tar.gz create mode 100644 swig-3.0.9.tar.gz diff --git a/swig-3.0.8.tar.gz b/swig-3.0.8.tar.gz deleted file mode 100644 index 083633a..0000000 --- a/swig-3.0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:58a475dbbd4a4d7075e5fe86d4e54c9edde39847cdb96a3053d87cb64a23a453 -size 7937213 diff --git a/swig-3.0.9.tar.gz b/swig-3.0.9.tar.gz new file mode 100644 index 0000000..2593eee --- /dev/null +++ b/swig-3.0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f3a4afb22ac1a9dd9c8725175451bda8bae5c564761edc01e0edd2c672857f0 +size 8012928 diff --git a/swig.changes b/swig.changes index fb0aa37..641557b 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon May 30 09:51:37 UTC 2016 - kkaempf@suse.com + +- Update to 3.0.9 + - Add support for Python's implicit namespace packages. + - Fixes to support Go 1.6. + - C++11 std::array support added for Java. + - Improved C++ multiple inheritance support for Java/C# wrappers. + - Various other minor fixes and improvements for C#, D, Go, Java, + Javascript, Lua, Python, R, Ruby, Scilab. + ------------------------------------------------------------------- Mon May 23 15:19:08 UTC 2016 - olaf@aepfle.de diff --git a/swig.spec b/swig.spec index 3821c21..cff864d 100644 --- a/swig.spec +++ b/swig.spec @@ -19,7 +19,7 @@ %bcond_with swig_ocaml Name: swig -Version: 3.0.8 +Version: 3.0.9 Release: 0 Summary: Simplified Wrapper and Interface Generator License: GPL-3.0+ and BSD-3-Clause From 00e8283a3bc7dafb5b7ade934b3bb5853e57e00645978820f612381439d43651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Wed, 8 Jun 2016 09:16:26 +0000 Subject: [PATCH 2/2] - 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 --- swig.changes | 2 ++ swig.spec | 4 +--- swig308-Fix-li_boost_array-test.patch | 12 ------------ swig308-isfinite.diff | 7 ++++--- 4 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 swig308-Fix-li_boost_array-test.patch diff --git a/swig.changes b/swig.changes index 641557b..b0a39f6 100644 --- a/swig.changes +++ b/swig.changes @@ -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 diff --git a/swig.spec b/swig.spec index cff864d..d322bad 100644 --- a/swig.spec +++ b/swig.spec @@ -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 diff --git a/swig308-Fix-li_boost_array-test.patch b/swig308-Fix-li_boost_array-test.patch deleted file mode 100644 index ba57231..0000000 --- a/swig308-Fix-li_boost_array-test.patch +++ /dev/null @@ -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 arrayOutVal() { -- const char carray[] = { -2, -1, 0, 0, 1, 2 }; -+ const signed char carray[] = { -2, -1, 0, 0, 1, 2 }; - boost::array myarray; - for (size_t i=0; i<6; ++i) { - myarray[i] = carray[i]; diff --git a/swig308-isfinite.diff b/swig308-isfinite.diff index 5aa0431..cacedc8 100644 --- a/swig308-isfinite.diff +++ b/swig308-isfinite.diff @@ -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 # define SWIG_isfinite(X) (finite(X))