Hello community,

here is the log from the commit of package ilmbase for openSUSE:Factory checked 
in at 2012-08-26 11:31:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ilmbase (Old)
 and      /work/SRC/openSUSE:Factory/.ilmbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ilmbase", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/ilmbase/ilmbase.changes  2012-08-07 
21:49:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ilmbase.new/ilmbase.changes     2012-08-26 
11:31:59.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Aug 24 12:27:41 UTC 2012 - [email protected]
+
+- fix build on i586 platforms, by fixing error in declaration of the
+  restorControlRegs function 
+
+-------------------------------------------------------------------
+Wed Aug  8 09:19:07 UTC 2012 - [email protected]
+
+- fix build on non-x86 platforms with ucontext
+
+-------------------------------------------------------------------

New:
----
  arm-build.diff
  fix-i586.patch

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

Other differences:
------------------
++++++ ilmbase.spec ++++++
--- /var/tmp/diff_new_pack.en0Dtv/_old  2012-08-26 11:32:01.000000000 +0200
+++ /var/tmp/diff_new_pack.en0Dtv/_new  2012-08-26 11:32:01.000000000 +0200
@@ -33,6 +33,8 @@
 Patch0:         0001-Correcting-for-incorrect-license-section.patch
 #PATCH-FIX-OPENSUSE: allow 32bit build
 Patch1:         ilmbase-1.0.3-ucontext-i386.patch
+Patch2:         arm-build.diff
+Patch3:         fix-i586.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -60,9 +62,9 @@
 %package devel
 Requires:       libHalf7
 Requires:       libIex7
-Requires:       libImath7
-Requires:       libIlmThread7
 Requires:       libIexMath7
+Requires:       libIlmThread7
+Requires:       libImath7
 Requires:       libstdc++-devel
 Summary:        Base library for ILM software (OpenEXR)
 License:        BSD-3-Clause ; GPL-2.0+
@@ -172,6 +174,8 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2
+%patch3 -p1
 
 # remove a non unix READMEs
 rm README.win32

++++++ arm-build.diff ++++++
Index: IexMath/IexMathFpu.cpp
===================================================================
--- IexMath/IexMathFpu.cpp.orig
+++ IexMath/IexMathFpu.cpp
@@ -52,7 +52,7 @@
 #endif
 
 
-#ifdef HAVE_UCONTEXT_H
+#if defined(HAVE_UCONTEXT_H) && (defined(__x86_64__) || defined(__i386__))
 
 
 #include <ucontext.h>
@@ -264,7 +264,7 @@ const uint16_t cwRestoreVal = (0 << 10)
 
 #include <asm/sigcontext.h>
 
-inline void
+inline static void
 restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
 {
     setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
++++++ fix-i586.patch ++++++
Index: ilmbase-1.0.3/IexMath/IexMathFpu.cpp
===================================================================
--- ilmbase-1.0.3.orig/IexMath/IexMathFpu.cpp
+++ ilmbase-1.0.3/IexMath/IexMathFpu.cpp
@@ -264,7 +264,7 @@ const uint16_t cwRestoreVal = (0 << 10)
 
 #include <asm/sigcontext.h>
 
-inline static void
+inline void
 restoreControlRegs (const ucontext_t & ucon, bool clearExceptions)
 {
     setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to