Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2016-02-12 11:21:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and      /work/SRC/openSUSE:Factory/.swig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/swig/swig.changes        2016-01-11 
19:10:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2016-02-12 
11:21:05.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Feb  2 14:45:14 UTC 2016 - [email protected]
+
+- Add swig308-isfinite.diff to fix isfinite issue with new glibc.
+
+-------------------------------------------------------------------

New:
----
  swig308-isfinite.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ swig.spec ++++++
--- /var/tmp/diff_new_pack.FVyUdh/_old  2016-02-12 11:21:06.000000000 +0100
+++ /var/tmp/diff_new_pack.FVyUdh/_new  2016-02-12 11:21:06.000000000 +0100
@@ -26,6 +26,7 @@
 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
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -120,6 +121,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2
 
 %build
 ./autogen.sh

++++++ swig308-isfinite.diff ++++++
--- 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 @@
 # elif defined(__sun) && defined(__SVR4)
 #  include <ieeefp.h>
 #  define SWIG_isfinite(X) (finite(X))
+# elif defined(__GNUC__)
+#  define SWIG_isfinite(X) (__builtin_isfinite(X))
 # endif
 #endif
 %}

Reply via email to