From 64857e7569b1bd4d00b203b5a6e7f510fa910619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Fri, 30 Nov 2018 12:01:24 +0100 Subject: [PATCH] hardinfo: rebuild for metadata --- srcpkgs/hardinfo/patches/hardinfo-0.5.1.patch | 35 +++++++++++++++++++ srcpkgs/hardinfo/template | 6 ++-- 2 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/hardinfo/patches/hardinfo-0.5.1.patch diff --git a/srcpkgs/hardinfo/patches/hardinfo-0.5.1.patch b/srcpkgs/hardinfo/patches/hardinfo-0.5.1.patch new file mode 100644 index 00000000000..1808a89d8ba --- /dev/null +++ b/srcpkgs/hardinfo/patches/hardinfo-0.5.1.patch @@ -0,0 +1,35 @@ +From f11d5624be68e95e9c2a8c7779b182ef97b7973c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= +Date: Fri, 30 Nov 2018 11:29:13 +0100 +Subject: [PATCH] Fix inline strend + + +diff --git hardinfo.h hardinfo.h +index 9f52f63..6c7044d 100644 +--- hardinfo.h ++++ hardinfo.h +@@ -65,7 +65,7 @@ struct _ModuleAbout { + + /* String utility functions */ + inline void remove_quotes(gchar *str); +-inline char *strend(gchar *str, gchar chr); ++char *strend(gchar *str, gchar chr); + inline void remove_linefeed(gchar *str); + gchar *strreplace(gchar *string, gchar *replace, gchar new_char); + +diff --git util.c util.c +index 266ce4e..068889f 100644 +--- util.c ++++ util.c +@@ -123,7 +123,7 @@ inline gchar *size_human_readable(gfloat size) + return g_strdup_printf("%.1f GiB", size / GiB); + } + +-inline char *strend(gchar * str, gchar chr) ++char *strend(gchar * str, gchar chr) + { + if (!str) + return NULL; +-- +2.19.1 + diff --git a/srcpkgs/hardinfo/template b/srcpkgs/hardinfo/template index af330dee9f3..75808339dfb 100644 --- a/srcpkgs/hardinfo/template +++ b/srcpkgs/hardinfo/template @@ -1,18 +1,18 @@ # Template file for 'hardinfo' pkgname=hardinfo version=0.5.1 -revision=4 -lib32disabled=yes +revision=5 build_style=gnu-configure hostmakedepends="pkg-config" makedepends="gtk+-devel libsoup-devel desktop-file-utils" depends="desktop-file-utils" short_desc="A system information and benchmark tool" maintainer="Juan RP " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://sourceforge.net/projects/hardinfo.berlios/" distfiles="${SOURCEFORGE_SITE}/${pkgname}.berlios/${pkgname}-${version}.tar.bz2" checksum=a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a +lib32disabled=yes nocross=yes pre_configure() {