From 72832d15655b49c2913f9ac136952e49c14df4d2 Mon Sep 17 00:00:00 2001 From: Denis Revin Date: Mon, 19 Dec 2016 10:23:27 +0400 Subject: [PATCH] New package: ksysguard-5.8.7 --- srcpkgs/ksysguard/patches/musl.patch | 13 +++++++++++++ srcpkgs/ksysguard/template | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 srcpkgs/ksysguard/patches/musl.patch create mode 100644 srcpkgs/ksysguard/template 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