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:
parent
f4037e5d75
commit
3346cb89b6
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kdelibs'
|
# Template file for 'kdelibs'
|
||||||
pkgname=kdelibs
|
pkgname=kdelibs
|
||||||
version=4.14.3
|
version=4.14.3
|
||||||
revision=6
|
revision=7
|
||||||
short_desc="KDE core libraries"
|
short_desc="KDE core libraries"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2.0, LGPL-2.1, FDL"
|
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
|
depends="docbook-xsl media-player-info shared-mime-info
|
||||||
shared-desktop-ontologies hicolor-icon-theme ca-certificates"
|
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() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/share/apps/kssl/ca-bundle.crt
|
rm -f ${DESTDIR}/usr/share/apps/kssl/ca-bundle.crt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue