summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvantu5z2016-01-18 19:37:32 +0300
committervantu5z2016-01-18 19:37:32 +0300
commit5f727e36679775570d6c4f7550a125094a041fc1 (patch)
tree895e16bf8dd7b8dac3c0ab6dada6c678265e7d86
parenta13e6b1c6dcd2886315102da4604ef2976877848 (diff)
downloadaur-5f727e36679775570d6c4f7550a125094a041fc1.tar.gz
add Fix build on gcc 5.2.0
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 8 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dfb4e523cdc..d671d3fc6ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Mon Jan 18 16:36:32 UTC 2016
pkgbase = rhvoice-git
pkgdesc = free and open source speech synthesizer for Russian language
pkgver = 20141006
diff --git a/PKGBUILD b/PKGBUILD
index f7288b5d65a..d754bfb4eca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,6 +28,12 @@ build() {
msg "GIT checkout done or server timeout"
msg "Starting build..."
+cat << EOF | patch "$srcdir/$_gitname/SConstruct"
+157c157
+< env.AppendUnique(CXXFLAGS=["-std=c++03"])
+---
+> env.AppendUnique(CXXFLAGS=["-std=c++11"])
+EOF
cd "$srcdir/$_gitname"
scons prefix="/usr" sysconfdir="/etc" || return 1