diff options
author | root <root@rshg054.dnsready.net> | 2013-05-24 00:06:06 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-24 00:06:06 -0700 |
commit | 0520c5091743d9910278e53fa32470b096825fb3 (patch) | |
tree | ce32603cb0eb8456aef2a5eb66fddc98f246857c /core/jfsutils | |
parent | e0c1bfae73539aac5627d73dd70a299d274a0c10 (diff) |
Fri May 24 00:06:06 PDT 2013
Diffstat (limited to 'core/jfsutils')
-rw-r--r-- | core/jfsutils/PKGBUILD | 23 | ||||
-rw-r--r-- | core/jfsutils/inttypes.patch | 12 |
2 files changed, 28 insertions, 7 deletions
diff --git a/core/jfsutils/PKGBUILD b/core/jfsutils/PKGBUILD index fee4867a2..dc7ed30a6 100644 --- a/core/jfsutils/PKGBUILD +++ b/core/jfsutils/PKGBUILD @@ -1,21 +1,30 @@ -# $Id: PKGBUILD 142848 2011-11-17 00:38:27Z bisson $ +# $Id: PKGBUILD 186264 2013-05-23 06:41:02Z bisson $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=jfsutils pkgver=1.1.15 -pkgrel=3 +pkgrel=4 pkgdesc='JFS filesystem utilities' -arch=('i686' 'x86_64') url='http://jfs.sourceforge.net' +arch=('i686' 'x86_64') license=('GPL') +depends=('util-linux') +source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz" + 'inttypes.patch') +sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50' + '88551e7d8418bab0df4643dce248110d4c9b0a53') + groups=('base') -depends=('util-linux-ng') -source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz") -sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p1 -i ../inttypes.patch +} build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --sbindir=/sbin + ./configure --prefix=/usr --sbindir=/usr/bin make } diff --git a/core/jfsutils/inttypes.patch b/core/jfsutils/inttypes.patch new file mode 100644 index 000000000..2018bb8a8 --- /dev/null +++ b/core/jfsutils/inttypes.patch @@ -0,0 +1,12 @@ +diff -Naur old/libfs/devices.h new/libfs/devices.h +--- old/libfs/devices.h 2005-11-23 07:43:55.000000000 +1100 ++++ new/libfs/devices.h 2013-01-06 11:30:25.381538024 +1100 +@@ -40,6 +40,8 @@ + #define ERROR_INVALID_PARAMETER 87 + #define ERROR_DISK_FULL 112 + ++#include <inttypes.h> ++ + struct stat; + + int ujfs_get_dev_size(FILE *, int64_t * size); |