diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-05 00:48:43 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-01-05 00:48:43 +0100 |
commit | 4c76f29b450b5bfaf546ca7ae49569dd3e320882 (patch) | |
tree | 194c116e00980e81615b8b78d67b4114be65fb20 /main/jfsutils/APKBUILD | |
parent | c9cdaa7f7816a5cd724ed077071697844e6a2506 (diff) | |
download | aports-4c76f29b450b5bfaf546ca7ae49569dd3e320882.tar.bz2 aports-4c76f29b450b5bfaf546ca7ae49569dd3e320882.tar.xz |
main/jfsutils: fix build on eglibc 2.17
Diffstat (limited to 'main/jfsutils/APKBUILD')
-rw-r--r-- | main/jfsutils/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/main/jfsutils/APKBUILD b/main/jfsutils/APKBUILD index 19c28838fc..86bbd721ee 100644 --- a/main/jfsutils/APKBUILD +++ b/main/jfsutils/APKBUILD @@ -11,11 +11,19 @@ depends= install= makedepends="e2fsprogs-dev" # pkgconfig is pulled in externally. subpackages="$pkgname-doc" -source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz" +source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz + missing-stdinth.patch" _builddir="$srcdir"/$pkgname-$pkgver + prepare() { - cd "$_builddir" + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build () { @@ -31,4 +39,5 @@ package() { make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install || return 1 } -md5sums="8809465cd48a202895bc2a12e1923b5d jfsutils-1.1.15.tar.gz" +md5sums="8809465cd48a202895bc2a12e1923b5d jfsutils-1.1.15.tar.gz +da6e6be4d89d5652d9c1e99424634e42 missing-stdinth.patch" |