diff options
Diffstat (limited to 'pcr/fair-coin')
-rw-r--r-- | pcr/fair-coin/0001-fix-issue-14.patch | 26 | ||||
-rw-r--r-- | pcr/fair-coin/PKGBUILD | 18 |
2 files changed, 36 insertions, 8 deletions
diff --git a/pcr/fair-coin/0001-fix-issue-14.patch b/pcr/fair-coin/0001-fix-issue-14.patch new file mode 100644 index 000000000..83a0b95bc --- /dev/null +++ b/pcr/fair-coin/0001-fix-issue-14.patch @@ -0,0 +1,26 @@ +From 761475dbe4c5cb8dcc2a99ee4f67271c4cb5c357 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Thomas=20K=C3=B6nig?= <tom@fair-coin.org> +Date: Wed, 25 May 2016 10:14:53 +0200 +Subject: [PATCH] fixed issue #14: compiler error with newer versions the boost + library + +--- + src/net.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/net.cpp b/src/net.cpp +index 77d4783..4f19e29 100644 +--- a/src/net.cpp ++++ b/src/net.cpp +@@ -61,7 +61,7 @@ static bool vfLimited[NET_MAX] = {}; + static CNode* pnodeLocalHost = NULL; + CAddress addrSeenByPeer(CService("0.0.0.0", 0), nLocalServices); + uint64 nLocalHostNonce = 0; +-array<int, THREAD_MAX> vnThreadsRunning; ++boost::array<int, THREAD_MAX> vnThreadsRunning; + static std::vector<SOCKET> vhListenSocket; + CAddrMan addrman; + +-- +2.8.3 + diff --git a/pcr/fair-coin/PKGBUILD b/pcr/fair-coin/PKGBUILD index 1aa5ba656..e0b74b4c5 100644 --- a/pcr/fair-coin/PKGBUILD +++ b/pcr/fair-coin/PKGBUILD @@ -4,23 +4,25 @@ pkgname=fair-coin pkgver=1.5.2 -pkgrel=4.1 +pkgrel=5 pkgdesc="FairCoin Qt official client" arch=(i686 x86_64) url="https://fair-coin.org/" license=('MIT') depends=('qt4' 'boost-libs' 'qrencode' 'protobuf') makedepends=('boost' 'imagemagick') - -provides=("faircoin-daemon=${pkgver}" "faircoin-qt=${pkgver}") -conflicts=('faircoin-daemon' 'faircoin-qt') -replaces=('faircoin-daemon' 'faircoin-qt') - source=("https://github.com/FairCoinTeam/fair-coin/archive/v$pkgver.tar.gz" - "$pkgname.desktop") + "$pkgname.desktop" + "0001-fix-issue-14.patch") install="$pkgname.install" sha256sums=("72e512768f8307db5c2f1ae5513bf222835919268110db7361bab056ee44db5e" - "7bf32cef879eb08682d92cd8ee35d68b8e295030d2873dc6a3a95cd37b88612c") + "7bf32cef879eb08682d92cd8ee35d68b8e295030d2873dc6a3a95cd37b88612c" + "3742eb31eab4ab8a91ce975b03d56220638c4e926dea6f098e0a786407ec20c3") + +prepare() { + cd $pkgname-$pkgver + patch -p1 < ../0001-fix-issue-14.patch +} build() { cd $pkgname-$pkgver |