commit libatomic_ops for openSUSE:Factory

2019-09-05 Thread root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2019-09-05 12:01:22

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new.7948 (New)


Package is "libatomic_ops"

Thu Sep  5 12:01:22 2019 rev:14 rq:720464 version:7.6.10

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2019-03-27 16:10:22.415683291 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new.7948/libatomic_ops.changes
2019-09-05 12:01:26.263952694 +0200
@@ -1,0 +2,5 @@
+Fri Aug  2 07:04:12 UTC 2019 - Martin Liška 
+
+- Use FAT LTO objects in order to provide proper static library.
+
+---



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.IbLJs0/_old  2019-09-05 12:01:27.839952385 +0200
+++ /var/tmp/diff_new_pack.IbLJs0/_new  2019-09-05 12:01:27.887952376 +0200
@@ -55,6 +55,7 @@
 %setup -q
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 autoreconf -fiv
 %configure --docdir="%_docdir/%name"
 make %{?_smp_mflags}




commit libatomic_ops for openSUSE:Factory

2019-03-27 Thread root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2019-03-27 16:10:18

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new.25356 (New)


Package is "libatomic_ops"

Wed Mar 27 16:10:18 2019 rev:13 rq:685296 version:7.6.10

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2019-01-15 09:08:25.690676346 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new.25356/libatomic_ops.changes   
2019-03-27 16:10:22.415683291 +0100
@@ -1,0 +2,6 @@
+Fri Mar 15 09:40:59 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 7.6.10
+  * Fix compiler warnings
+
+---

Old:

  libatomic_ops-7.6.8.tar.gz

New:

  libatomic_ops-7.6.10.tar.gz



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.jcCpHy/_old  2019-03-27 16:10:23.027683134 +0100
+++ /var/tmp/diff_new_pack.jcCpHy/_new  2019-03-27 16:10:23.031683133 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   libatomic_ops
-Version:7.6.8
+Version:7.6.10
 Release:0
 Summary:A portable library for atomic memory operations
 License:GPL-2.0-or-later AND MIT

++ libatomic_ops-7.6.8.tar.gz -> libatomic_ops-7.6.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/AUTHORS 
new/libatomic_ops-7.6.10/AUTHORS
--- old/libatomic_ops-7.6.8/AUTHORS 2018-12-11 09:52:06.0 +0100
+++ new/libatomic_ops-7.6.10/AUTHORS2019-03-01 17:59:46.0 +0100
@@ -34,6 +34,7 @@
 Maged Michael 
 Manuel Serrano 
 Marek Vasut 
+Max Horn 
 Michael Hope 
 Mikael Urankar 
 Patrick Marlier 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/ChangeLog 
new/libatomic_ops-7.6.10/ChangeLog
--- old/libatomic_ops-7.6.8/ChangeLog   2018-12-11 09:52:06.0 +0100
+++ new/libatomic_ops-7.6.10/ChangeLog  2019-03-01 17:59:46.0 +0100
@@ -1,4 +1,12 @@
 
+== [7.6.10] 2019-03-01 ==
+
+* Eliminate 'my_chunk_ptr-AO_initial_heap out of bounds' cppcheck warning
+* Fix 'AO_*_TS_T is not defined' compiler warnings (GCC-8)
+* Fix 'duplicate symbol' error for test_malloc/stack with static libs (OS X)
+* Workaround 'argument to function assert is always 1' cppcheck warnings
+
+
 == [7.6.8] 2018-12-11 ==
 
 * Eliminate 'casting signed to bigger unsigned int' CSA warning (test_stack)
@@ -142,6 +150,11 @@
 Also, includes 7.4.6 changes
 
 
+== [7.4.14] 2019-03-01 ==
+
+* Fix 'AO_*_TS_T is not defined' compiler warnings (GCC-8)
+
+
 == [7.4.12] 2018-12-11 ==
 
 * COPYING: sync with FSF's gpl-2.0.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/README.md 
new/libatomic_ops-7.6.10/README.md
--- old/libatomic_ops-7.6.8/README.md   2018-12-11 09:52:06.0 +0100
+++ new/libatomic_ops-7.6.10/README.md  2019-03-01 17:59:46.0 +0100
@@ -2,7 +2,7 @@
 
 IN NEW CODE, PLEASE USE C11 OR C++14 STANDARD ATOMICS INSTEAD OF THIS PACKAGE.
 
-This is version 7.6.8 of libatomic_ops.
+This is version 7.6.10 of libatomic_ops.
 
 
 ## Download
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.8/configure 
new/libatomic_ops-7.6.10/configure
--- old/libatomic_ops-7.6.8/configure   2018-12-11 09:53:10.0 +0100
+++ new/libatomic_ops-7.6.10/configure  2019-03-01 18:00:54.0 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libatomic_ops 7.6.8.
+# Generated by GNU Autoconf 2.69 for libatomic_ops 7.6.10.
 #
 # Report bugs to .
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='libatomic_ops'
 PACKAGE_TARNAME='libatomic_ops'
-PACKAGE_VERSION='7.6.8'
-PACKAGE_STRING='libatomic_ops 7.6.8'
+PACKAGE_VERSION='7.6.10'
+PACKAGE_STRING='libatomic_ops 7.6.10'
 PACKAGE_BUGREPORT='https://github.com/ivmai/libatomic_ops/issues'
 PACKAGE_URL=''
 
@@ -641,6 +641,8 @@
 NEED_ASM_TRUE
 HAVE_PTHREAD_H_FALSE
 HAVE_PTHREAD_H_TRUE
+ENABLE_SHARED_FALSE
+ENABLE_SHARED_TRUE
 THREADDLLIBS
 CFLAGS_EXTRA
 PICFLAG
@@ -1343,7 +1345,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures libatomic_ops 7.6.8 to adapt to many kinds of systems.
+\`configure' configures libatomic_ops 7.6.10 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 

commit libatomic_ops for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2019-01-15 09:08:24

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new.28833 (New)


Package is "libatomic_ops"

Tue Jan 15 09:08:24 2019 rev:12 rq:663508 version:7.6.8

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2018-11-05 22:48:16.860595388 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new.28833/libatomic_ops.changes   
2019-01-15 09:08:25.690676346 +0100
@@ -1,0 +2,6 @@
+Tue Jan  8 02:26:25 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 7.6.8
+  * Support aarch64-ilp32 (GCC) target
+
+---

Old:

  libatomic_ops-7.6.6.tar.gz

New:

  libatomic_ops-7.6.8.tar.gz



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.yylPdp/_old  2019-01-15 09:08:26.170675906 +0100
+++ /var/tmp/diff_new_pack.yylPdp/_new  2019-01-15 09:08:26.170675906 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libatomic_ops
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libatomic_ops
-Version:7.6.6
+Version:7.6.8
 Release:0
 Summary:A portable library for atomic memory operations
 License:GPL-2.0-or-later AND MIT

++ libatomic_ops-7.6.6.tar.gz -> libatomic_ops-7.6.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.6/AUTHORS 
new/libatomic_ops-7.6.8/AUTHORS
--- old/libatomic_ops-7.6.6/AUTHORS 2018-08-07 09:33:44.0 +0200
+++ new/libatomic_ops-7.6.8/AUTHORS 2018-12-11 09:52:06.0 +0100
@@ -46,6 +46,7 @@
 Shea Levy 
 Steve Capper 
 Takashi Yoshii 
+Tautvydas Zilys 
 Thiemo Seufer 
 Thorsten Glaser 
 Tobias Leich 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.6/ChangeLog 
new/libatomic_ops-7.6.8/ChangeLog
--- old/libatomic_ops-7.6.6/ChangeLog   2018-08-07 09:33:44.0 +0200
+++ new/libatomic_ops-7.6.8/ChangeLog   2018-12-11 09:52:06.0 +0100
@@ -1,4 +1,16 @@
 
+== [7.6.8] 2018-12-11 ==
+
+* Eliminate 'casting signed to bigger unsigned int' CSA warning (test_stack)
+* Eliminate 'redundant blank line at start/end of block' CodeFactor warning
+* Fix 'Cannot implement CAS_full on this architecture' build error (nios2)
+* Fix a typo in arm_v6.h
+* Support aarch64-ilp32 (GCC) and UWP/arm64 (MS VC) targets
+* Undefine AO_ARM_HAVE_* private macros after their usage
+* Use standalone private macro to guard against AO_GCC_BARRIER redefinition
+* Workaround 'condition my_chunk_ptr is always false' cppcheck false positive
+
+
 == [7.6.6] 2018-08-07 ==
 
 * COPYING: sync with FSF's gpl-2.0.txt
@@ -130,6 +142,15 @@
 Also, includes 7.4.6 changes
 
 
+== [7.4.12] 2018-12-11 ==
+
+* COPYING: sync with FSF's gpl-2.0.txt
+* Fix a typo in arm_v6.h
+* Fix a typo in the overview section of README
+* Support ILP32 in AArch64 assembly routines (GCC)
+* Support UWP/arm64 target
+
+
 == [7.4.10] 2017-12-22 ==
 
 * Fix AO_malloc for sizes near CHUNK_SIZE
@@ -333,6 +354,11 @@
 Also, includes 7.2 changes
 
 
+== [7.2j] (not released yet) ==
+
+* Fix a typo in arm_v6.h
+
+
 == [7.2i] 2017-12-21 ==
 
 * Fix 'missing select.h', 'undefined sigprocmask' compiler errors (Hexagon)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.6/README.md 
new/libatomic_ops-7.6.8/README.md
--- old/libatomic_ops-7.6.6/README.md   2018-08-07 09:33:44.0 +0200
+++ new/libatomic_ops-7.6.8/README.md   2018-12-11 09:52:06.0 +0100
@@ -2,7 +2,7 @@
 
 IN NEW CODE, PLEASE USE C11 OR C++14 STANDARD ATOMICS INSTEAD OF THIS PACKAGE.
 
-This is version 7.6.6 of libatomic_ops.
+This is version 7.6.8 of libatomic_ops.
 
 
 ## Download
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.6/configure 
new/libatomic_ops-7.6.8/configure
--- old/libatomic_ops-7.6.6/configure   2018-08-07 09:34:42.0 +0200
+++ new/libatomic_ops-7.6.8/configure   2018-12-11 09:53:10.0 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libatomic_ops 7.6.6.
+# Generated by GNU Autoconf 2.69 for libatomic_ops 7.6.8.
 #
 # Report bugs to 

commit libatomic_ops for openSUSE:Factory

2018-11-05 Thread root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2018-11-05 22:48:05

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Mon Nov  5 22:48:05 2018 rev:11 rq:644194 version:7.6.6

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2018-02-09 15:40:59.169523034 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2018-11-05 22:48:16.860595388 +0100
@@ -1,0 +2,10 @@
+Wed Oct 24 05:09:08 UTC 2018 - s...@suspend.net
+
+- Update to new upstream release 7.6.6
+  * Fix undefined reference to __atomic_load/store/cas_16
+  * Fix a typo in the overview section of README
+  * Fix comments style in configure.ac and Makefile.am
+  * Update copyright information in README and some header files
+- Remove patch libatomic_ops-ppc64.patch, looks merged
+
+---

Old:

  libatomic_ops-7.6.2.tar.gz
  libatomic_ops-ppc64.patch

New:

  libatomic_ops-7.6.6.tar.gz



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.qDyUWE/_old  2018-11-05 22:48:18.236593648 +0100
+++ /var/tmp/diff_new_pack.qDyUWE/_new  2018-11-05 22:48:18.240593642 +0100
@@ -12,21 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   libatomic_ops
-Version:7.6.2
+Version:7.6.6
 Release:0
 Summary:A portable library for atomic memory operations
-License:GPL-2.0+ and MIT
+License:GPL-2.0-or-later AND MIT
 Group:  Development/Languages/C and C++
 Url:https://github.com/ivmai/libatomic_ops
 
 #Git-Clone:git://github.com/ivmai/libatomic_ops
 Source: http://www.ivmaisoft.com/_bin/atomic_ops/%name-%version.tar.gz
-Patch1: libatomic_ops-ppc64.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -54,7 +53,6 @@
 
 %prep
 %setup -q
-%patch -P 1 -p1
 
 %build
 autoreconf -fiv

++ libatomic_ops-7.6.2.tar.gz -> libatomic_ops-7.6.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.2/AUTHORS 
new/libatomic_ops-7.6.6/AUTHORS
--- old/libatomic_ops-7.6.2/AUTHORS 2017-12-24 09:31:12.0 +0100
+++ new/libatomic_ops-7.6.6/AUTHORS 2018-08-07 09:33:44.0 +0200
@@ -43,10 +43,12 @@
 Ranko Zivojnovic 
 Roger Hoover 
 Sebastian Siewior 
+Shea Levy 
 Steve Capper 
 Takashi Yoshii 
 Thiemo Seufer 
 Thorsten Glaser 
 Tobias Leich 
 Tony Mantler 
+YunQiang Su 
 Yvan Roux 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libatomic_ops-7.6.2/COPYING 
new/libatomic_ops-7.6.6/COPYING
--- old/libatomic_ops-7.6.2/COPYING 2017-12-24 09:31:12.0 +0100
+++ new/libatomic_ops-7.6.6/COPYING 2018-08-07 09:33:44.0 +0200
@@ -1,12 +1,12 @@
-   GNU GENERAL PUBLIC LICENSE
-  Version 2, June 1991
+GNU GENERAL PUBLIC LICENSE
+   Version 2, June 1991
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
-   Preamble
+Preamble
 
   The licenses for most software are designed to take away your
 freedom to share and change it.  By contrast, the GNU General Public
@@ -15,7 +15,7 @@
 General Public License applies to most of the Free Software
 Foundation's software and to any other program whose authors commit to
 using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
+the GNU Lesser General Public License instead.)  You can apply it to
 your programs, too.
 
   When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@
 
   The precise terms and conditions for copying, distribution and
 modification follow.
-
-   GNU GENERAL PUBLIC LICENSE
+
+GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
 
   0. This License applies to any program o

commit libatomic_ops for openSUSE:Factory

2018-02-09 Thread root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2018-02-09 15:40:56

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Fri Feb  9 15:40:56 2018 rev:10 rq:571364 version:7.6.2

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2016-04-14 12:59:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2018-02-09 15:40:59.169523034 +0100
@@ -1,0 +2,28 @@
+Mon Jan 29 11:04:41 UTC 2018 - jeng...@inai.de
+
+- Update to new upstream release 7.6.2
+  * Fix GCC 5.x compatibility for AArch64 double-wide primitives
+  * Implement fetch-CAS for s390[x] (gcc)
+  * Support n32 ABI for mips64
+  * Use LLD and SCD instructions on mips64
+  * Use generalized double-wide load/store if
+AO_PREFER_GENERALIZED (gcc/x86)
+  * Use GCC atomic intrinsics for PowerPC 32/64 (GCC 4.8+ and
+clang 3.8+)
+  * Use GCC atomic intrinsics for x86, x64, ARM, MIPS (gcc 4.9+,
+clang 3.5+)
+  * Relax shareability domain for dmb st in AO_nop_write
+(ARM/AArch64)
+  * Implement AO_CLEAR using C11 atomic intrinsic (GCC)
+  * Implement CAS_acquire/release/full using
+__atomic_compare_exchange_n (gcc)
+  * Implement compiler_barrier using C11 __atomic_signal_fence
+(GCC)
+  * Add initial nios2 architecture support
+  * Add asm-based and/or/xor implementation for char/short/int
+(gcc/x86)
+  * Add asm-based char/short/int CAS implementation for
+gcc/x86[_64]
+- Remove aarch64-gcc5.patch (no longer applies)
+
+---

Old:

  aarch64-gcc5.patch
  libatomic_ops-7.4.2.tar.gz

New:

  libatomic_ops-7.6.2.tar.gz



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.bhtequ/_old  2018-02-09 15:40:59.913496326 +0100
+++ /var/tmp/diff_new_pack.bhtequ/_new  2018-02-09 15:40:59.913496326 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libatomic_ops
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   libatomic_ops
-Version:7.4.2
+Version:7.6.2
 Release:0
 Summary:A portable library for atomic memory operations
 License:GPL-2.0+ and MIT
@@ -26,13 +26,11 @@
 
 #Git-Clone:git://github.com/ivmai/libatomic_ops
 Source: http://www.ivmaisoft.com/_bin/atomic_ops/%name-%version.tar.gz
-Patch2: libatomic_ops-ppc64.patch
-Patch3: aarch64-gcc5.patch
+Patch1: libatomic_ops-ppc64.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Provides implementations for atomic memory update operations on a
@@ -44,8 +42,8 @@
 %package devel
 Summary:A portable library for atomic memory operations
 Group:  Development/Languages/C and C++
-Obsoletes:  libatomic-ops-devel < %{version}-%{release}
-Provides:   libatomic-ops-devel = %{version}-%{release}
+Obsoletes:  libatomic-ops-devel < %version-%release
+Provides:   libatomic-ops-devel = %version-%release
 
 %description devel
 Provides implementations for atomic memory update operations on a
@@ -56,19 +54,17 @@
 
 %prep
 %setup -q
-%patch2 -p1
-%patch3 -p1
+%patch -P 1 -p1
 
 %build
-autoreconf -fvi
-%configure
+autoreconf -fiv
+%configure --docdir="%_docdir/%name"
 make %{?_smp_mflags}
 
 %install
 %make_install
 rm -f "%buildroot/%_libdir"/*.la
-# remove unnecessary documents
-rm -Rf "%{buildroot}/%{_datadir}/libatomic_ops"
+cp -a ChangeLog "%buildroot/%_docdir/%name/"
 
 %check
 %if !0%{?qemu_user_space_build:1}
@@ -77,11 +73,10 @@
 
 %files devel
 %defattr(-,root,root)
-%doc README.md COPYING AUTHORS ChangeLog
-%doc doc/*.txt
-%{_libdir}/libatomic_ops*.a
-%{_includedir}/atomic_ops/
-%{_includedir}/atomic_ops*.h
-%{_libdir}/pkgconfig/atomic_ops.pc
+%_libdir/libatomic_ops*.a
+%_includedir/atomic_ops/
+%_includedir/atomic_ops*.h
+%_libdir/pkgconfig/atomic_ops.pc
+%_docdir/%name/
 
 %changelog

++ libatomic_ops-7.4.2.tar.gz -> libatomic_ops-7.6.2.tar.gz ++
 21272 lines of diff (skipped)




commit libatomic_ops for openSUSE:Factory

2016-04-14 Thread h_root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2016-04-14 12:59:28

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2015-03-16 06:52:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2016-04-14 12:59:29.0 +0200
@@ -1,0 +2,5 @@
+Thu Apr  7 12:26:58 UTC 2016 - sch...@suse.de
+
+- aarch64-gcc5.patch: fix build with gcc >= 5
+
+---

New:

  aarch64-gcc5.patch



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.dhVv8i/_old  2016-04-14 12:59:30.0 +0200
+++ /var/tmp/diff_new_pack.dhVv8i/_new  2016-04-14 12:59:30.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libatomic_ops
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,7 @@
 #Git-Clone:git://github.com/ivmai/libatomic_ops
 Source: http://www.ivmaisoft.com/_bin/atomic_ops/%name-%version.tar.gz
 Patch2: libatomic_ops-ppc64.patch
+Patch3: aarch64-gcc5.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -56,6 +57,7 @@
 %prep
 %setup -q
 %patch2 -p1
+%patch3 -p1
 
 %build
 autoreconf -fvi

++ aarch64-gcc5.patch ++
>From 437c10b73ae4b83306f77c851cf8385172ae3759 Mon Sep 17 00:00:00 2001
From: Frank Schaefer 
Date: Tue, 9 Jun 2015 17:10:00 -0500
Subject: [PATCH] Fix GCC 5.x compatibility for AArch64 double-wide primitives

Small change to make aarch64 support work with gcc 5.x. Otherwise it
demands gcc -latomic and still fails test_stack.

* src/atomic_ops/sysdeps/gcc/aarch64.h (AO_double_load,
AO_double_load_acquire, AO_double_store, AO_double_store_release,
AO_double_compare_and_swap, AO_double_compare_and_swap_acquire,
AO_double_compare_and_swap_release, AO_double_compare_and_swap_full):
Use assembly implementation even for GCC v5+ (not just GCC 4.x).
---
 src/atomic_ops/sysdeps/gcc/aarch64.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/atomic_ops/sysdeps/gcc/aarch64.h 
b/src/atomic_ops/sysdeps/gcc/aarch64.h
index f969f13..b7f2ef0 100644
--- a/src/atomic_ops/sysdeps/gcc/aarch64.h
+++ b/src/atomic_ops/sysdeps/gcc/aarch64.h
@@ -30,7 +30,7 @@
 #endif
 
 /* TODO: Adjust version check on fixing double-wide AO support in GCC. */
-#if __GNUC__ == 4
+#if __GNUC__ >= 4
 
   AO_INLINE AO_double_t
   AO_double_load(const volatile AO_double_t *addr)
@@ -195,6 +195,6 @@
 return !result;
   }
 # define AO_HAVE_double_compare_and_swap_full
-#endif /* __GNUC__ == 4 */
+#endif /* __GNUC__ >= 4 */
 
 #include "generic.h"
-- 
2.8.0




commit libatomic_ops for openSUSE:Factory

2015-03-15 Thread h_root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2015-03-16 06:52:04

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2015-01-03 22:00:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2015-03-16 06:52:05.0 +0100
@@ -1,0 +2,5 @@
+Thu Mar  5 09:41:01 UTC 2015 - jeng...@inai.de
+
+- Update homepage URLs
+
+---



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.9m1CUF/_old  2015-03-16 06:52:06.0 +0100
+++ /var/tmp/diff_new_pack.9m1CUF/_new  2015-03-16 06:52:06.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libatomic_ops
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,15 +22,15 @@
 Summary:A portable library for atomic memory operations
 License:GPL-2.0+ and MIT
 Group:  Development/Languages/C and C++
-Url:http://www.hpl.hp.com/research/linux/atomic_ops/
+Url:https://github.com/ivmai/libatomic_ops
 
-#DL-URL:   https://github.com/ivmai/libatomic_ops/wiki/Download
-Source: 
http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.4.2.tar.gz
+#Git-Clone:git://github.com/ivmai/libatomic_ops
+Source: http://www.ivmaisoft.com/_bin/atomic_ops/%name-%version.tar.gz
 Patch2: libatomic_ops-ppc64.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
-BuildRequires:  pkgconfig
+BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libatomic_ops for openSUSE:Factory

2015-01-03 Thread h_root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2015-01-03 22:00:43

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2014-05-17 06:43:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2015-01-03 22:00:47.0 +0100
@@ -1,0 +2,55 @@
+Mon Jul 21 08:44:50 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 7.4.2
+* Add and/or/xor entries to list_atomic (tests).
+* Add char/short/int/AO_double_t and dd_acquire cases to list_atomic (tests).
+* Add double_store pthread-based implementation and tests.
+* Add generalized CAS primitives of char/short/int size.
+* Add generalized atomic and/or/xor operations for char/short/int types.
+* Add generalized fetch_and_add_acquire/release (for ARMv6+).
+* Add generic implementation of double_load primitives.
+* Add load/store primitives generalization based on CAS.
+* Add lock-based implementation of char/short/int_fetch_compare_and_swap.
+* Add missing double_compare_and_swap to generalization.
+* Add missing generalization of no-barrier CAS in template.
+* Always use 'mfence' for nop_full if target CPU supports SSE2 (gcc/x86).
+* Cast away volatile on dereference in CAS-based generalization primitives.
+* Define AO_int_X operations for ARM and avr32.
+* Define double-wide ordered loads/stores for x86.
+* Define int_and/or/xor primitives in ao_t_is_int header.
+* Define nop_full as compiler barrier for pre-ARMv6 single-core case.
+* Do not include standard_ao_double_t.h where double-CAS is unimplemented.
+* Do not report absence of meaningless nop, load and store in test_atomic.
+* Eliminate 'missing initializer' warning for AO_stack_t value initializer.
+* Eliminate arithmetic shifts in double-CAS (gcc/arm, msftc/x86).
+* Enable generalization of all variants of CAS via fetch_compare_and_swap.
+* Implement and/or/xor, AO_double_load for ARM.
+* Implement atomic store using direct write by default on ARMv6+.
+* Implement char/short/int-wide primitives using GCC built-in atomic/sync.
+* Implement char/short_fetch_and_add, char/short_load for ARMv6+ (GCC).
+* Implement char/short_store primitives at aligned addresses for ARM.
+* Implement double_load/store based on guaranteed x86 access atomicity.
+* Implement double_store for ARMv7 using LDREXD/STREXD.
+* Implement load/store via simple LDR/STR for ARMv6+ (msftc).
+* Implement nop_full/write using 'dmb' instruction if available (gcc/arm).
+* Minimize gcc/generic-arithm template by factoring out barriers.
+* Move 'unsigned' keyword to XCTYPE in generalize-small template.
+* Move definitions of ordered loads/stores to inner separate headers.
+* Move gcc-generic AO_t-wide primitives to generic-small/arithm headers.
+* Move generalized arithmetical primitives to 'generalize-arithm' template.
+* Optimize AO_spin manually to minimize compiler influence on its duration.
+* Remove X_aligned_atomic_load_store headers and template.
+* Remove duplicate AO_spin and AO_pause definition in atomic_ops_stack.
+* Remove gcc/x86_64.h eliminating code duplication of gcc/x86.h.
+* Remove nested AO_USE_PTHREAD_DEFS macro check in atomic_ops.h (gcc/arm).
+* Remove redundant 'cc' clobber for LDREXD instruction (gcc/arm).
+* Remove store_full from msftc/arm.h in favor of generalized primitive.
+* Reorder AO_double_t union elements for AO_DOUBLE_T_INITIALIZER portability.
+* Replace atomic_load_store.template with atomic_load and atomic_store ones.
+* Support AArch64 (64-bit ARM) target (GCC).
+* Support ARMv8 target (gcc/arm).
+* Use __atomic GCC built-in to implement generic double-wide CAS.
+* Use built-in __sync CAS for double-CAS if AO_USE_SYNC_CAS_BUILTIN for x86.
+- Drop libatomic_ops-aarch64.patch (no longer needed)
+
+---

Old:

  libatomic_ops-7.2e.tar.gz
  libatomic_ops-aarch64.patch

New:

  libatomic_ops-7.4.2.tar.gz



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.oS5yhs/_old  2015-01-03 22:00:48.0 +0100
+++ /var/tmp/diff_new_pack.oS5yhs/_new  2015-01-03 22:00:48.0 +0100
@@ -17,17 +17,19 @@
 
 
 Name:   libatomic_ops
-Version:7.2e
+Version:7.4.2
 Release:0
 Summary:A portable library for atomic memory operations
 License:GPL-2.0+ and MIT
 Group:  Development/Languages/C and C++
 Url:http://www.hpl.hp.com/research/linux/atomic_ops/
-Source: 
http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name

commit libatomic_ops for openSUSE:Factory

2014-05-16 Thread h_root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2014-05-17 06:43:17

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2014-02-15 17:17:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2014-05-17 06:43:26.0 +0200
@@ -1,0 +2,7 @@
+Thu May 15 14:53:31 UTC 2014 - tchva...@suse.com
+
+- Version bump to 7.2e:
+  * Various small fixes for 7.2 series.
+- Cleanup with spec-cleaner.
+
+---

Old:

  libatomic_ops-7.2d.tar.gz

New:

  libatomic_ops-7.2e.tar.gz



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.IiuXcg/_old  2014-05-17 06:43:27.0 +0200
+++ /var/tmp/diff_new_pack.IiuXcg/_new  2014-05-17 06:43:27.0 +0200
@@ -17,20 +17,19 @@
 
 
 Name:   libatomic_ops
+Version:7.2e
+Release:0
 Summary:A portable library for atomic memory operations
 License:GPL-2.0+ and MIT
 Group:  Development/Languages/C and C++
-Version:7.2d
-Release:0
 Url:http://www.hpl.hp.com/research/linux/atomic_ops/
-
-Source: 
http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%version.tar.gz
+Source: 
http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name}-%{version}.tar.gz
 Patch1: libatomic_ops-aarch64.patch
 Patch2: libatomic_ops-ppc64.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  pkgconfig
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Provides implementations for atomic memory update operations on a
@@ -42,8 +41,8 @@
 %package devel
 Summary:A portable library for atomic memory operations
 Group:  Development/Languages/C and C++
-Obsoletes:  libatomic-ops-devel < %version-%release
-Provides:   libatomic-ops-devel = %version-%release
+Obsoletes:  libatomic-ops-devel < %{version}-%{release}
+Provides:   libatomic-ops-devel = %{version}-%{release}
 
 %description devel
 Provides implementations for atomic memory update operations on a
@@ -53,32 +52,34 @@
 that involves minimum overhead across a variety of architectures.
 
 %prep
-%setup -qn %name-7.2
+%setup -q -n %{name}-7.2
 %patch1 -p1 
 %patch2 -p1
 
 %build
-autoreconf -fi
+autoreconf -fvi
 %configure
 make %{?_smp_mflags}
 
 %install
-make DESTDIR="%buildroot" install
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 # remove unnecessary documents
-rm -Rf "%buildroot/%_datadir/libatomic_ops"
+rm -Rf "%{buildroot}/%{_datadir}/libatomic_ops"
+# fix perms
+chmod 644 doc/*.txt README COPYING AUTHORS ChangeLog
 
 %check
 %if !0%{?qemu_user_space_build:1}
-make check
+make check %{?_smp_mflags}
 %endif
 
 %files devel
 %defattr(-,root,root)
 %doc README COPYING AUTHORS ChangeLog
 %doc doc/*.txt
-%_libdir/libatomic_ops*.a
-%_includedir/atomic_ops/
-%_includedir/atomic_ops*.h
-%_libdir/pkgconfig/atomic_ops.pc
+%{_libdir}/libatomic_ops*.a
+%{_includedir}/atomic_ops/
+%{_includedir}/atomic_ops*.h
+%{_libdir}/pkgconfig/atomic_ops.pc
 
 %changelog

++ libatomic_ops-7.2d.tar.gz -> libatomic_ops-7.2e.tar.gz ++
 8945 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libatomic_ops for openSUSE:Factory

2014-02-15 Thread h_root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2014-02-15 17:17:17

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2013-12-10 17:43:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2014-02-15 17:17:18.0 +0100
@@ -1,0 +2,11 @@
+Mon Feb 10 18:39:57 UTC 2014 - dval...@suse.com
+
+- Drop incorrect ppc64le patch
+- Force AO_load() to map to AO_load_acquire() for powerpc
+
+- added patches:
+  * libatomic_ops-ppc64.patch
+- removed patches:
+  * libatomic_ops-ppc64le.patch
+
+---

Old:

  libatomic_ops-ppc64le.patch

New:

  libatomic_ops-ppc64.patch



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.j9wWuJ/_old  2014-02-15 17:17:18.0 +0100
+++ /var/tmp/diff_new_pack.j9wWuJ/_new  2014-02-15 17:17:18.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libatomic_ops
 #
-# Copyright (c) 2013 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
@@ -26,7 +26,7 @@
 
 Source: 
http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%version.tar.gz
 Patch1: libatomic_ops-aarch64.patch
-Patch2: libatomic_ops-ppc64le.patch
+Patch2: libatomic_ops-ppc64.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -54,7 +54,8 @@
 
 %prep
 %setup -qn %name-7.2
-%patch -P 1 -P 2 -p1
+%patch1 -p1 
+%patch2 -p1
 
 %build
 autoreconf -fi

++ libatomic_ops-ppc64le.patch -> libatomic_ops-ppc64.patch ++
--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops-ppc64le.patch
2013-12-10 17:43:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops-ppc64.patch 
2014-02-15 17:17:18.0 +0100
@@ -1,65 +1,21 @@
-From: Dinar Valeev 
-Date: 2013-12-03 00:56:33.586516619 +0100
+Force AO_load() to map to AO_load_acquire() for powerpc.  The
+AO_load_acquire() function includes isync instructions that
+are critical for proper behavior on power system.
+
+
+Signed-Off-By: Will Schmidt 
+
 
-Index: libatomic_ops-7.2/src/atomic_ops.h
-===
 libatomic_ops-7.2.orig/src/atomic_ops.h
-+++ libatomic_ops-7.2/src/atomic_ops.h
-@@ -241,7 +241,7 @@
- #   include "atomic_ops/sysdeps/gcc/m68k.h"
- # endif /* __m68k__ */
- # if defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) \
-- || defined(__powerpc64__) || defined(__ppc64__)
-+ || defined(__powerpc64__) ||defined(__powerpc64le__) || 
defined(__ppc64__)
- #   include "atomic_ops/sysdeps/gcc/powerpc.h"
- # endif /* __powerpc__ */
- # if defined(__aarch64__)
 Index: libatomic_ops-7.2/src/atomic_ops/sysdeps/gcc/powerpc.h
 ===
 --- libatomic_ops-7.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h
 +++ libatomic_ops-7.2/src/atomic_ops/sysdeps/gcc/powerpc.h
-@@ -71,7 +71,7 @@ AO_INLINE AO_t
- AO_load_acquire(const volatile AO_t *addr)
- {
-   AO_t result;
--#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
-+#if defined(__powerpc64__) || defined(__powerpc64le__) || defined(__ppc64__) 
|| defined(__64BIT__)
-__asm__ __volatile__ (
- "ld%U1%X1 %0,%1\n"
- "cmpw %0,%0\n"
-@@ -110,7 +110,7 @@ AO_store_release(volatile AO_t *addr, AO
- /* only cost us a load immediate instruction.   */
- AO_INLINE AO_TS_VAL_t
- AO_test_and_set(volatile AO_TS_t *addr) {
--#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
-+#if defined(__powerpc64__) || defined(__powerpc64le__)|| defined(__ppc64__) 
|| defined(__64BIT__)
- /* Completely untested.  And we should be using smaller objects anyway. */
-   unsigned long oldval;
-   unsigned long temp = 1; /* locked value */
-@@ -173,7 +173,7 @@ AO_INLINE int
- AO_compare_and_swap(volatile AO_t *addr, AO_t old, AO_t new_val) {
-   AO_t oldval;
-   int result = 0;
--#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
-+#if defined(__powerpc64__) || defined(__powerpc64le__)|| defined(__ppc64__) 
|| defined(__64BIT__)
- /* FIXME: Completely untested.  */
-   __asm__ __volatile__(
-"1:ldarx %0,0,%2\n"   /* load and reserve

commit libatomic_ops for openSUSE:Factory

2013-12-10 Thread h_root
Hello community,

here is the log from the commit of package libatomic_ops for openSUSE:Factory 
checked in at 2013-12-10 17:43:19

Comparing /work/SRC/openSUSE:Factory/libatomic_ops (Old)
 and  /work/SRC/openSUSE:Factory/.libatomic_ops.new (New)


Package is "libatomic_ops"

Changes:

--- /work/SRC/openSUSE:Factory/libatomic_ops/libatomic_ops.changes  
2013-06-05 11:53:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.libatomic_ops.new/libatomic_ops.changes 
2013-12-10 17:43:20.0 +0100
@@ -1,0 +2,5 @@
+Mon Dec  2 21:00:35 UTC 2013 - dval...@suse.com
+
+- Fix build on ppc64le (add patch libatomic_ops-ppc64le.patch)
+
+---

New:

  libatomic_ops-ppc64le.patch



Other differences:
--
++ libatomic_ops.spec ++
--- /var/tmp/diff_new_pack.DKI1Tc/_old  2013-12-10 17:43:20.0 +0100
+++ /var/tmp/diff_new_pack.DKI1Tc/_new  2013-12-10 17:43:20.0 +0100
@@ -26,6 +26,7 @@
 
 Source: 
http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-%version.tar.gz
 Patch1: libatomic_ops-aarch64.patch
+Patch2: libatomic_ops-ppc64le.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -53,7 +54,7 @@
 
 %prep
 %setup -qn %name-7.2
-%patch -P 1 -p1
+%patch -P 1 -P 2 -p1
 
 %build
 autoreconf -fi

++ libatomic_ops-ppc64le.patch ++
From: Dinar Valeev 
Date: 2013-12-03 00:56:33.586516619 +0100

Index: libatomic_ops-7.2/src/atomic_ops.h
===
--- libatomic_ops-7.2.orig/src/atomic_ops.h
+++ libatomic_ops-7.2/src/atomic_ops.h
@@ -241,7 +241,7 @@
 #   include "atomic_ops/sysdeps/gcc/m68k.h"
 # endif /* __m68k__ */
 # if defined(__powerpc__) || defined(__ppc__) || defined(__PPC__) \
- || defined(__powerpc64__) || defined(__ppc64__)
+ || defined(__powerpc64__) ||defined(__powerpc64le__) || defined(__ppc64__)
 #   include "atomic_ops/sysdeps/gcc/powerpc.h"
 # endif /* __powerpc__ */
 # if defined(__aarch64__)
Index: libatomic_ops-7.2/src/atomic_ops/sysdeps/gcc/powerpc.h
===
--- libatomic_ops-7.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h
+++ libatomic_ops-7.2/src/atomic_ops/sysdeps/gcc/powerpc.h
@@ -71,7 +71,7 @@ AO_INLINE AO_t
 AO_load_acquire(const volatile AO_t *addr)
 {
   AO_t result;
-#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
+#if defined(__powerpc64__) || defined(__powerpc64le__) || defined(__ppc64__) 
|| defined(__64BIT__)
__asm__ __volatile__ (
 "ld%U1%X1 %0,%1\n"
 "cmpw %0,%0\n"
@@ -110,7 +110,7 @@ AO_store_release(volatile AO_t *addr, AO
 /* only cost us a load immediate instruction.   */
 AO_INLINE AO_TS_VAL_t
 AO_test_and_set(volatile AO_TS_t *addr) {
-#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
+#if defined(__powerpc64__) || defined(__powerpc64le__)|| defined(__ppc64__) || 
defined(__64BIT__)
 /* Completely untested.  And we should be using smaller objects anyway. */
   unsigned long oldval;
   unsigned long temp = 1; /* locked value */
@@ -173,7 +173,7 @@ AO_INLINE int
 AO_compare_and_swap(volatile AO_t *addr, AO_t old, AO_t new_val) {
   AO_t oldval;
   int result = 0;
-#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
+#if defined(__powerpc64__) || defined(__powerpc64le__)|| defined(__ppc64__) || 
defined(__64BIT__)
 /* FIXME: Completely untested.  */
   __asm__ __volatile__(
"1:ldarx %0,0,%2\n"   /* load and reserve  */
@@ -232,7 +232,7 @@ AO_INLINE AO_t
 AO_fetch_and_add(volatile AO_t *addr, AO_t incr) {
   AO_t oldval;
   AO_t newval;
-#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
+#if defined(__powerpc64__) || defined(__powerpc64le__)|| defined(__ppc64__) || 
defined(__64BIT__)
 /* FIXME: Completely untested.  */
   __asm__ __volatile__(
"1:ldarx %0,0,%2\n"   /* load and reserve*/
@@ -281,7 +281,7 @@ AO_fetch_and_add_full(volatile AO_t *add
 }
 #define AO_HAVE_fetch_and_add_full
 
-#if defined(__powerpc64__) || defined(__ppc64__) || defined(__64BIT__)
+#if defined(__powerpc64__) || defined(__powerpc64le__) || defined(__ppc64__) 
|| defined(__64BIT__)
 #else
 # include "../ao_t_is_int.h"
 #endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org