kdelibs: rebuild with gcc6

Also reduce log spam by adding -Wno-deprecated-declarations and
using _DEFAULT_SOURCE instead of _BSD_SOURCE.
This commit is contained in:
Jürgen Buchmüller 2017-01-18 04:57:53 +01:00
parent f4037e5d75
commit 3346cb89b6
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kdelibs'
pkgname=kdelibs
version=4.14.3
revision=6
revision=7
short_desc="KDE core libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0, LGPL-2.1, FDL"
@ -26,7 +26,11 @@ makedepends="libressl-devel libSM-devel libXext-devel libXScrnSaver-devel
depends="docbook-xsl media-player-info shared-mime-info
shared-desktop-ontologies hicolor-icon-theme ca-certificates"
CXXFLAGS="-std=gnu++98"
CXXFLAGS="-std=gnu++98 -Wno-deprecated-declarations"
pre_configure() {
sed -i cmake/modules/FindKDE4Internal.cmake -e"s;_BSD_SOURCE;_DEFAULT_SOURCE;g"
}
post_install() {
rm -f ${DESTDIR}/usr/share/apps/kssl/ca-bundle.crt