diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-20 14:14:03 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-20 14:14:25 +0000 |
commit | d2304eb98c8947460d9838720ad3ed8a6d48fb86 (patch) | |
tree | c4cd38d99bbbc25074634a9047275e016cac6882 /main/util-linux/APKBUILD | |
parent | 1248355b4aa388274049dd00290701d2d7895ec1 (diff) | |
download | aports-d2304eb98c8947460d9838720ad3ed8a6d48fb86.tar.bz2 aports-d2304eb98c8947460d9838720ad3ed8a6d48fb86.tar.xz |
main/util-linux: fix build against musl
Diffstat (limited to 'main/util-linux/APKBUILD')
-rw-r--r-- | main/util-linux/APKBUILD | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/main/util-linux/APKBUILD b/main/util-linux/APKBUILD index 056726a8cc..ab81b7def0 100644 --- a/main/util-linux/APKBUILD +++ b/main/util-linux/APKBUILD @@ -8,7 +8,7 @@ case $pkgver in *.*) _v=$pkgver;; esac -pkgrel=0 +pkgrel=1 pkgdesc="Random collection of Linux utilities" url="http://kernel.org/~kzak/util-linux/" arch="all" @@ -20,6 +20,8 @@ install= source="http://www.kernel.org/pub/linux/utils/util-linux/v${_v}/util-linux-$pkgver.tar.xz program-invocation.patch gentoo-no-scanf.patch + util-linux-posix.patch + ttydefaults.h " subpackages="$pkgname-doc $pkgname-dev libuuid libblkid sfdisk cfdisk mcookie blkid" replaces="e2fsprogs util-linux-ng" @@ -28,11 +30,13 @@ _builddir="$srcdir/util-linux-$pkgver" prepare() { local i cd "$_builddir" + update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done + cp "$srcdir"/ttydefaults.h include/ libtoolize --force && aclocal -I m4 && autoconf \ && automake --add-missing } @@ -120,10 +124,16 @@ mcookie() { md5sums="b39fde897334a4858bb2098edcce5b3f util-linux-2.23.2.tar.xz 9682a6ddd5abe65434a145ebe512c123 program-invocation.patch -85125e2cc7d54dc2733bedc603886f81 gentoo-no-scanf.patch" +85125e2cc7d54dc2733bedc603886f81 gentoo-no-scanf.patch +43a03270b6e49fdf4c7fb0ab3390c242 util-linux-posix.patch +6196f1ce853dfaf717569c1e35555d6d ttydefaults.h" sha256sums="7c4042bd91f621250d7b3b2f34e3b11921a32c7f080c149dcc0c7ce62a8a7cac util-linux-2.23.2.tar.xz 2bfa27969effc77631e981bbbcd1bf261e61f3e51875db950883ddb2a90ea4fd program-invocation.patch -2a2429b59151a63a75d2ff46f60732c6a3fbe9b52e472802edcf4eedbe3e22f2 gentoo-no-scanf.patch" +2a2429b59151a63a75d2ff46f60732c6a3fbe9b52e472802edcf4eedbe3e22f2 gentoo-no-scanf.patch +d099d398d5e6649276d0ccd3b276aa762f52efec8295706370fef44287a2386f util-linux-posix.patch +46faf1198bd884d12c5d45019a5fec8dfdefeae6721d8c9f3da89921acdb2a6d ttydefaults.h" sha512sums="dcccf8e3a3892a2ac98eea0a7e1c24c1b612ef10b466a8b34d8ebe6c2d49778bc9e8bfb1866ce0daa6db387396659120c290c5b36f47864c4d513b5ed15f9618 util-linux-2.23.2.tar.xz 5a07e86fa84961f73e53677d202e7a2101704eacb698426e62da897af07c7f1227e841f79ff59deed50cfb0e9ef1816f7c3fd03382ae4aa46909b6cd41a95d4e program-invocation.patch -5f199511d3c6919c1a23248f2fd1d15343ee330e169b8440ca48bbbbc1aae243d8bd652ab504520c5d12dd0875e5e94a704d727d4b71bcd940d4ff51115b3981 gentoo-no-scanf.patch" +5f199511d3c6919c1a23248f2fd1d15343ee330e169b8440ca48bbbbc1aae243d8bd652ab504520c5d12dd0875e5e94a704d727d4b71bcd940d4ff51115b3981 gentoo-no-scanf.patch +4a5052caad3a9fb176283d49c486256453ede2a10d99c5f0a4e78a25a03f09a69c6d840756e07aaee581003b018c8b8279e6f727712edf03ff755d162544b729 util-linux-posix.patch +876bb9041eca1b2cca1e9aac898f282db576f7860aba690a95c0ac629d7c5b2cdeccba504dda87ff55c2a10b67165985ce16ca41a0694a267507e1e0cafd46d9 ttydefaults.h" |