diff options
author | jgmdev | 2018-02-07 02:55:56 -0400 |
---|---|---|
committer | jgmdev | 2018-02-07 02:55:56 -0400 |
commit | 6b2caeca63e7f553bcdfba80cd7b22ddac85341f (patch) | |
tree | cf5491c5c2e1c725ab0f3a93131ae32b3448f037 /PKGBUILD | |
parent | 3ac9998efa10da4e521782dc8b6fc51efd4b4860 (diff) | |
download | aur-6b2caeca63e7f553bcdfba80cd7b22ddac85341f.tar.gz |
Fixed build issues due to gcc7.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=bedrock _gitname=Bedrock -pkgver=r340.8a823b7 +pkgver=r1318.8187835 pkgrel=1 pkgdesc="Rock solid distributed database specializing in active/active automatic failover and WAN replication." url="http://bedrockdb.com" @@ -24,6 +24,20 @@ pkgver() { ) } +prepare() { + cd "${srcdir}/${_gitname}" + + # Fix compilation errors + sed -i "s|#include <atomic>|#include <atomic>\n#include <functional>|" \ + libstuff/libstuff.h + + sed -i "s|/mbedtls/include -Werror -Wno-unu|/mbedtls/include -Wno-unu|" \ + Makefile + + sed -i 's|"Timestamp"), 1ul)|"Timestamp"), 1ull)|' \ + libstuff/STCPNode.cpp +} + build() { cd "${srcdir}/${_gitname}" |