Date: Friday, June 26, 2015 @ 06:41:13 Author: foutrelis Revision: 135887
Fix build with GCC 5.1 and C++11 ABI Force the old C++ ABI to avoid "reference to 'list' is ambiguous" errors. Modified: kicad/trunk/PKGBUILD ----------+ PKGBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-06-26 04:04:09 UTC (rev 135886) +++ PKGBUILD 2015-06-26 04:41:13 UTC (rev 135887) @@ -13,7 +13,7 @@ license=('GPL') depends=('glu' 'wxgtk2.8' 'hicolor-icon-theme' 'desktop-file-utils' 'libsm') makedepends=('cmake' 'zlib' 'mesa') -optdepends=('kicad-docs-bzr: for documentation' +optdepends=('kicad-docs-bzr: for documentation' 'kicad-library-bzr: for footprints') install=kicad.install source=(http://iut-tice.ujf-grenoble.fr/cao/${pkgname}-sources-stable_${_pkgver}_BZR${_pkgbzr}.zip @@ -43,6 +43,10 @@ # FS#31559 sed -i 's/-O2/-O1/' CMakeLists.txt + # Fix build with GCC 5.1 and C++11 ABI + CXXFLAGS+=' -D_GLIBCXX_USE_CXX11_ABI=0' + CXXFLAGS+=' -Wno-deprecated-declarations -Wno-unused-local-typedefs' + # build and install kicad mkdir -p build/Release cd build/Release