aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosh/APKBUILD
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-04-04 16:46:50 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-04-04 22:27:40 +0200
commit17ee07c9a8e698ee9c06a435eddcccae27ae1bbd (patch)
treea3939b02275e56e5df7c373f41b90f2716789301 /main/mosh/APKBUILD
parent810a128f4c1ea41d37f7887c2641faf0c0c5aa25 (diff)
downloadaports-17ee07c9a8e698ee9c06a435eddcccae27ae1bbd.tar.bz2
aports-17ee07c9a8e698ee9c06a435eddcccae27ae1bbd.tar.xz
main/mosh: fix build with musl on ppc64le
mosh was breaking when building in ppc64le using musl, because ioctl() is defined as ioctl(int, int) in musl and mosh is using TIOCSWINSZ macro as parameter. This was triggering a gcc warning and make the build fail. This patch does an explicit integer conversion in TIOCSWINSZ, as no bits get lost.
Diffstat (limited to 'main/mosh/APKBUILD')
-rw-r--r--main/mosh/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/mosh/APKBUILD b/main/mosh/APKBUILD
index feb923be1c..78c9fb2b6f 100644
--- a/main/mosh/APKBUILD
+++ b/main/mosh/APKBUILD
@@ -14,7 +14,8 @@ makedepends="ncurses-dev zlib-dev libressl-dev perl-dev perl-io-tty
subpackages="$pkgname-doc $pkgname-client $pkgname-server
$pkgname-bash-completion:bashcomp:noarch"
source="https://mosh.org/$pkgname-$pkgver.tar.gz
- disable-utf8-check.patch"
+ disable-utf8-check.patch
+ fix-ppc64le-build-with-musl.patch"
builddir="$srcdir"/$pkgname-$pkgver
@@ -75,4 +76,5 @@ client() {
}
sha512sums="2b43e3e3fb2ccf6c29a889f10dfc0d5504dbca6fabaf10419f4e355e4b73d64cc1e632324e447b25ac24ee18bb88d8a9a23f9c4824b267343fb86e26e7d5c54b mosh-1.3.0.tar.gz
-802afc138a31155352e403e61204c552107c624cd4f1da3141a956ea68a4c652df9b02baf72397e97af032c70feb5396a4262a80d5d3762cba9afd9acf9da660 disable-utf8-check.patch"
+802afc138a31155352e403e61204c552107c624cd4f1da3141a956ea68a4c652df9b02baf72397e97af032c70feb5396a4262a80d5d3762cba9afd9acf9da660 disable-utf8-check.patch
+a276dde98a2dab63ad9c9c05468c55983a95f482878c5694713810b561eae1ea5618efc72431a17ee5b5014b12ee9709c6a8cbf582620294e7888cc837cd073c fix-ppc64le-build-with-musl.patch"