Hello community,

here is the log from the commit of package libeigen2-devel for openSUSE:Factory 
checked in at 2014-03-21 13:32:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libeigen2-devel (Old)
 and      /work/SRC/openSUSE:Factory/.libeigen2-devel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libeigen2-devel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libeigen2-devel/libeigen2-devel.changes  
2012-12-07 14:38:16.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libeigen2-devel.new/libeigen2-devel.changes     
2014-03-21 13:32:32.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Mar  3 16:26:32 UTC 2014 - [email protected]
+
+- altivec-packetmath.patch: fix attribute syntax
+
+-------------------------------------------------------------------

New:
----
  altivec-packetmath.patch

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

Other differences:
------------------
++++++ libeigen2-devel.spec ++++++
--- /var/tmp/diff_new_pack.StNKq4/_old  2014-03-21 13:32:33.000000000 +0100
+++ /var/tmp/diff_new_pack.StNKq4/_new  2014-03-21 13:32:33.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libeigen2-devel
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@
 %define tar_ver 9ca09dbd70ce
 BuildArch:      noarch
 Source:         eigen-%{version}.tar.bz2
+Patch:          altivec-packetmath.patch
 
 %description
 Eigen is a lightweight C++ template library for vector and matrix math,
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q -n eigen-eigen-%{tar_ver}
+%patch -p1
 
 %build
   %cmake_kde4 -d build

++++++ altivec-packetmath.patch ++++++
Index: eigen-eigen-9ca09dbd70ce/Eigen/src/Core/arch/AltiVec/PacketMath.h
===================================================================
--- eigen-eigen-9ca09dbd70ce.orig/Eigen/src/Core/arch/AltiVec/PacketMath.h
+++ eigen-eigen-9ca09dbd70ce/Eigen/src/Core/arch/AltiVec/PacketMath.h
@@ -191,7 +191,7 @@ template<> inline v4i    ei_ploadu(const
 template<> inline v4f  ei_pset1(const float&  from)
 {
   // Taken from http://developer.apple.com/hardwaredrivers/ve/alignment.html
-  float __attribute__(aligned(16)) af[4];
+  float __attribute__((aligned(16))) af[4];
   af[0] = from;
   v4f vc = vec_ld(0, af);
   vc = vec_splat(vc, 0);
@@ -200,7 +200,7 @@ template<> inline v4f  ei_pset1(const fl
 
 template<> inline v4i    ei_pset1(const int&    from)
 {
-  int __attribute__(aligned(16)) ai[4];
+  int __attribute__((aligned(16))) ai[4];
   ai[0] = from;
   v4i vc = vec_ld(0, ai);
   vc = vec_splat(vc, 0);
@@ -248,14 +248,14 @@ template<> inline void ei_pstoreu(int*
 
 template<> inline float  ei_pfirst(const v4f&  a)
 {
-  float __attribute__(aligned(16)) af[4];
+  float __attribute__((aligned(16))) af[4];
   vec_st(a, 0, af);
   return af[0];
 }
 
 template<> inline int    ei_pfirst(const v4i&  a)
 {
-  int __attribute__(aligned(16)) ai[4];
+  int __attribute__((aligned(16))) ai[4];
   vec_st(a, 0, ai);
   return ai[0];
 }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to