diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-04 23:48:55 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-04 23:48:55 -0500 |
commit | 5b10eb1740253ea189236fd59e36de7f25482881 (patch) | |
tree | 795a8f62af9ab89d3f28469e36253360435a22a3 | |
parent | 3652c268b97954b6e5c0429649bb4bdfe1d38b68 (diff) |
hardinfo: armv7h port
-rw-r--r-- | libre/hardinfo/PKGBUILD | 9 | ||||
-rw-r--r-- | libre/hardinfo/hardinfo-gnu89_inline.patch | 10 |
2 files changed, 16 insertions, 3 deletions
diff --git a/libre/hardinfo/PKGBUILD b/libre/hardinfo/PKGBUILD index 27913f3f0..fd469778e 100644 --- a/libre/hardinfo/PKGBUILD +++ b/libre/hardinfo/PKGBUILD @@ -6,7 +6,7 @@ pkgname=hardinfo pkgver=0.5.1 pkgrel=6.parabola1 pkgdesc="A system information and benchmark tool (Parabola rebranded)" -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64' 'armv7h') url="http://sourceforge.net/projects/hardinfo.berlios/" license=('GPL2') depends=('gtk2' 'libsoup') @@ -14,14 +14,17 @@ options=('!emptydirs') replaces=(${pkgname}-parabola) conflicts=(${pkgname}-parabola) source=(http://sourceforge.net/projects/hardinfo.berlios/files/${pkgname}-${pkgver}.tar.bz2 - fixsensors.patch hardinfo.distro) + fixsensors.patch hardinfo.distro + hardinfo-gnu89_inline.patch) sha1sums=('983f0445aa60e02156bc5a5eaedeffb30b8e4d64' 'd2151dce76dca238102937d0e15541f172bca530' - '9425e09191cd3a365a3afce57ca1973a6439fa57') + '9425e09191cd3a365a3afce57ca1973a6439fa57' + '861a60aa2bdc56f95f496383b80399167cfdf995') prepare() { cd ${pkgname}-${pkgver} patch -p1 -i "${srcdir}/fixsensors.patch" + patch -Np1 -i "${srcdir}/hardinfo-gnu89_inline.patch" sed -i 's|/usr/lib64|/usr/lib|' configure sed -i 's|lib64|lib|' binreloc.c sed -i 's|{ DB_PREFIX "debian_version", "deb" },|{ DB_PREFIX "hardinfo.distro", "parabola" },{ DB_PREFIX "debian_version", "deb" },|' computer.h diff --git a/libre/hardinfo/hardinfo-gnu89_inline.patch b/libre/hardinfo/hardinfo-gnu89_inline.patch new file mode 100644 index 000000000..eafb9903b --- /dev/null +++ b/libre/hardinfo/hardinfo-gnu89_inline.patch @@ -0,0 +1,10 @@ +--- hardinfo-0.5.1.orig/Makefile.in 2009-04-06 08:43:15.000000000 -0500 ++++ hardinfo-0.5.1/Makefile.in 2015-10-04 23:32:01.564864865 -0500 +@@ -1,6 +1,6 @@ + + CCFLAGS = -fPIC -pipe -Wall -g +-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. ++CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -std=gnu89 + CC = gcc $(ARCHOPTS) -g + CCSLOW = gcc -O0 -g + |