Hello community,

here is the log from the commit of package qtractor for openSUSE:Factory 
checked in at 2015-04-13 20:31:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qtractor (Old)
 and      /work/SRC/openSUSE:Factory/.qtractor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qtractor"

Changes:
--------
--- /work/SRC/openSUSE:Factory/qtractor/qtractor.changes        2015-04-07 
09:29:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.qtractor.new/qtractor.changes   2015-04-13 
20:31:35.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Apr  4 13:05:13 UTC 2015 - dmuel...@suse.com
+
+-   add non-atomic-arches.patch: build for arches other than x86
+
+-------------------------------------------------------------------

New:
----
  non-atomic-arches.patch

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

Other differences:
------------------
++++++ qtractor.spec ++++++
--- /var/tmp/diff_new_pack.Bh4lnz/_old  2015-04-13 20:31:35.000000000 +0200
+++ /var/tmp/diff_new_pack.Bh4lnz/_new  2015-04-13 20:31:35.000000000 +0200
@@ -27,6 +27,7 @@
 Patch0:         %{name}-nodatetime.patch
 Patch1:         qtractor-remove_path_from_exec_in_desktop_file.patch
 Patch2:         qtractor-powerpc.patch
+Patch3:         non-atomic-arches.patch
 BuildRequires:  alsa-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  dssi-devel
@@ -59,6 +60,7 @@
 %patch0
 %patch1
 %patch2 -p1
+%patch3
 
 %build
 %configure --disable-sse
@@ -97,6 +99,7 @@
 %dir %{_datadir}/%{name}/translations
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
+%{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/icons/*/*/apps/%{name}.*
 %{_datadir}/icons/*/*/mimetypes/application-x-%{name}-*.*
 %{_datadir}/mime/packages/%{name}.xml

++++++ non-atomic-arches.patch ++++++
Index: src/qtractorAtomic.h
===================================================================
--- src/qtractorAtomic.h.orig
+++ src/qtractorAtomic.h
@@ -33,6 +33,26 @@
 extern "C" {
 #endif
 
+#if defined(HAVE_QATOMIC_H)
+
+typedef QAtomicInt qtractorAtomic;
+
+#if QT_VERSION >= 0x050000
+#define ATOMIC_GET(a)  ((a)->load())
+#define ATOMIC_SET(a,v)        ((a)->store(v))
+#else
+#define ATOMIC_GET(a)  ((int) *(a))
+#define ATOMIC_SET(a,v)        (*(a) = (v))
+#endif
+
+static inline int ATOMIC_CAS ( qtractorAtomic *pVal,
+       int iOldValue, int iNewValue )
+{
+       return pVal->testAndSetOrdered(iOldValue, iNewValue);
+}
+
+#else
+
 #if defined(__GNUC__)
 
 #if defined(__powerpc__) || defined(__powerpc64__)
@@ -107,26 +127,6 @@ static inline int ATOMIC_CAS1 (
 #endif
 
 
-#if defined(HAVE_QATOMIC_H)
-
-typedef QAtomicInt qtractorAtomic;
-
-#if QT_VERSION >= 0x050000
-#define ATOMIC_GET(a)  ((a)->load())
-#define ATOMIC_SET(a,v)        ((a)->store(v))
-#else
-#define ATOMIC_GET(a)  ((int) *(a))
-#define ATOMIC_SET(a,v)        (*(a) = (v))
-#endif
-
-static inline int ATOMIC_CAS ( qtractorAtomic *pVal,
-       int iOldValue, int iNewValue )
-{
-       return pVal->testAndSetOrdered(iOldValue, iNewValue);
-}
-
-#else
-
 typedef struct { volatile int value; } qtractorAtomic;
 
 #define ATOMIC_GET(a)  ((a)->value)

Reply via email to