[arch-commits] Commit in rethinkdb/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Sat May 30 06:02:31 UTC 2015
Date: Saturday, May 30, 2015 @ 08:02:30
Author: anatolik
Revision: 134326
gcc 5.1 compatibility patches. Remove old compile-time hack for variadic templates.
Modified:
rethinkdb/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-30 04:33:55 UTC (rev 134325)
+++ PKGBUILD 2015-05-30 06:02:30 UTC (rev 134326)
@@ -18,10 +18,13 @@
options=(!emptydirs)
source=(
http://download.rethinkdb.com/dist/$_tag.tgz
+ # https://github.com/rethinkdb/rethinkdb/issues/4264
+ gcc-51-compat.patch::https://github.com/rethinkdb/rethinkdb/commit/242a351024fa7f11013b95e33a5ef52a790a0555.patch
rethinkdb-tmpfile.conf
rethinkdb.service
)
sha256sums=('e618607afc51b8ebc2ecd03b321061c19670fb537d871b30c9baa1b183ec929e'
+ '6d56265635dc8b264c5d4b6e4db73ac2f602e8c7e380946ad8d03c61d88ae581'
'656d3a42e75d087e723f71aa320fdd91cbbb82071ef72eb11fd3e4a619b429a4'
'e56bffa2b9ebc3a00ef566ab2be0719a633c89d961a2461dfa2d9ffdb258c1a2')
@@ -34,13 +37,15 @@
-i scripts/*.py external/v8_*/tools/*.py
sed -e 's|exec python|exec python2|g' -i external/v8_*/build/gyp/gyp
sed -e 's|\bpython\b|python2|g' -i external/v8_*/{Makefile,*/*.gyp,*/*.gypi,*/*/*.gyp}
+
+ patch -p1 < ../gcc-51-compat.patch
}
build() {
cd $_tag
export PYTHON=/usr/bin/python2
- ./configure CXXFLAGS="-DBOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES" --fetch v8 --fetch jemalloc --dynamic all --enable-precompiled-web --prefix=/usr --sysconfdir=/etc
- make
+ ./configure --fetch v8 --fetch jemalloc --dynamic all --enable-precompiled-web --prefix=/usr --sysconfdir=/etc
+ make ALLOW_WARNINGS=1
}
check() {
More information about the arch-commits
mailing list