--- /dev/null
+--- primecoin-20131127/src/main.cpp~ 2013-11-27 13:35:16.000000000 +0100
++++ primecoin-20131127/src/main.cpp 2013-12-04 14:58:01.574592313 +0100
+@@ -4756,7 +4756,7 @@
+ }
+ else
+ {
+-#ifdef __GNUC__
++#if defined __GNUC__ && ! defined __i486__
+ // Use atomic increment
+ __sync_add_and_fetch(&nPrimeCounter, nPrimesHit);
+ __sync_add_and_fetch(&nTestCounter, nTests);
Summary: Primecoin - First Scientific Computing Cryptocurrency
Name: primecoin
Version: 0.1.2
-Release: 2.%{snap}.2
+Release: 2.%{snap}.3
License: MIT/X11
Group: X11/Applications
# Source0: https://github.com/primecoin/primecoin/archive/v%{version}.tar.gz
Source0: %{name}-20131127.tar.bz2
# Source0-md5: 10ae9950aba9232a3c035e499c38aa74
+Patch0: build-i486.patch
URL: http://primecoin.org
BuildRequires: QtCore-devel
BuildRequires: QtDBus-devel
%prep
%setup -q -n %{name}-%{snap}
+%patch0 -p1
%build
qmake-qt4 bitcoin-qt.pro \