diff --git a/srcpkgs/kde-runtime/patches/shared_ptr.patch b/srcpkgs/kde-runtime/patches/shared_ptr.patch new file mode 100644 index 00000000000..9c216bd8b92 --- /dev/null +++ b/srcpkgs/kde-runtime/patches/shared_ptr.patch @@ -0,0 +1,20 @@ +--- kwalletd/backend/backendpersisthandler.h 2014-10-31 00:50:20.000000000 +0100 ++++ kwalletd/backend/backendpersisthandler.h 2016-10-10 16:29:11.650257634 +0200 +@@ -22,6 +22,7 @@ + #define KWMAGIC_LEN 12 + ++#include + #include + + class QFile; + class KSaveFile; +--- kwalletd/kwalletwizard.h 2014-10-31 00:50:20.000000000 +0100 ++++ kwalletd/kwalletwizard.h 2016-10-10 16:38:29.298085470 +0200 +@@ -19,6 +19,7 @@ + #ifndef KWALLETWIZARD_H + #define KWALLETWIZARD_H + ++#include + #include + #ifdef HAVE_QGPGME + #include diff --git a/srcpkgs/kde-runtime/template b/srcpkgs/kde-runtime/template index b08e8c766e8..02f29e84478 100644 --- a/srcpkgs/kde-runtime/template +++ b/srcpkgs/kde-runtime/template @@ -1,7 +1,7 @@ # Template file for 'kde-runtime' pkgname=kde-runtime version=4.14.3 -revision=5 +revision=6 build_style=cmake configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF DWITH_QNtrack=OFF -DWITH_NepomukCore=OFF" # XXX OpenSLP @@ -20,6 +20,8 @@ homepage="http://www.kde.org" distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz" checksum=78a74e519b4e897ffcee14be98eebd7b672ad2bb6e71a4aa2fe77682b5bc8605 +CXXFLAGS="-std=c++11" + post_install() { rm -f ${DESTDIR}/usr/share/icons/hicolor/index.theme ln -sf /usr/lib/kde4/libexec/kdesu ${DESTDIR}/usr/bin