diff --git a/srcpkgs/ksysguard/patches/musl.patch b/srcpkgs/ksysguard/patches/musl.patch new file mode 100644 index 00000000000..cead379ea79 --- /dev/null +++ b/srcpkgs/ksysguard/patches/musl.patch @@ -0,0 +1,13 @@ +--- ksysguardd/Linux/netstat.c.orig 2016-12-20 14:11:50.955834485 +0400 ++++ ksysguardd/Linux/netstat.c 2016-12-20 14:12:42.736385772 +0400 +@@ -32,6 +32,10 @@ + #include "ccont.h" + #include "netstat.h" + ++#if !defined(__GLIBC__) ++typedef unsigned int uint; ++#endif ++ + static CONTAINER TcpSocketList = 0; + static CONTAINER UdpSocketList = 0; + static CONTAINER UnixSocketList = 0; diff --git a/srcpkgs/ksysguard/template b/srcpkgs/ksysguard/template new file mode 100644 index 00000000000..80853b9b4b9 --- /dev/null +++ b/srcpkgs/ksysguard/template @@ -0,0 +1,15 @@ +# Template file for 'ksysguard' +pkgname=ksysguard +version=5.8.7 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules" +makedepends="kdoctools knewstuff-devel libksysguard-devel kinit-devel libsensors-devel" +depends="hicolor-icon-theme lm_sensors" +short_desc="KDE program to monitor various elements of your system" +maintainer="Denis Revin " +license="GPL-2" +homepage="https://projects.kde.org/projects/plasma/ksysguard" +distfiles="http://download.kde.org/stable/plasma/${version}/${pkgname}-${version}.tar.xz" +checksum=ab69a8f3c8d21422b17e689dc0cf1b2137723dafded343ad3ea8db1802014080