hardinfo: rebuild for metadata
This commit is contained in:
parent
4b1173ee4e
commit
64857e7569
|
@ -0,0 +1,35 @@
|
|||
From f11d5624be68e95e9c2a8c7779b182ef97b7973c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
|
||||
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
|
||||
|
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
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() {
|
||||
|
|
Loading…
Reference in New Issue