[arch-commits] Commit in pinentry/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jun 9 08:57:29 UTC 2015
Date: Tuesday, June 9, 2015 @ 10:57:28
Author: foutrelis
Revision: 240438
Add -std=c++11 to fix FTBFS
Modified:
pinentry/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-09 08:51:11 UTC (rev 240437)
+++ PKGBUILD 2015-06-09 08:57:28 UTC (rev 240438)
@@ -10,7 +10,7 @@
depends=('ncurses' 'libcap>=2.16')
makedepends=('gtk2' 'qt4')
optdepends=('gtk2: for gtk2 backend'
- 'qt4: for qt4 backend')
+ 'qt4: for qt4 backend')
source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2{,.sig})
install=pinentry.install
md5sums=('d224d031130aedb44b05164cb04ed88b'
@@ -22,6 +22,10 @@
#for file in qt4/*.moc; do
# moc-qt4 ${file/.moc/.h} > ${file}
# done
+
+ # https://bugs.gnupg.org/gnupg/issue1961
+ CXXFLAGS+=' -std=c++11'
+
./configure --prefix=/usr \
--enable-pinentry-curses \
--enable-pinentry-gtk2 \
@@ -32,5 +36,5 @@
package() {
cd $srcdir/$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} install
}
More information about the arch-commits
mailing list