* update libaio to 0.3.113-3
This commit is contained in:
parent
6949fcc05a
commit
ab7472391a
@ -5,30 +5,28 @@
|
|||||||
|
|
||||||
pkgname=libaio
|
pkgname=libaio
|
||||||
pkgver=0.3.113
|
pkgver=0.3.113
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
|
pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
url="https://pagure.io/libaio"
|
url="https://pagure.io/libaio"
|
||||||
license=(LGPL2.1)
|
license=(LGPL-2.0-or-later)
|
||||||
depends=(glibc)
|
depends=(glibc)
|
||||||
provides=(libaio.so)
|
provides=(libaio.so)
|
||||||
source=(https://pagure.io/libaio/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz)
|
# LTO is not supported: https://pagure.io/libaio/issue/10
|
||||||
|
options=(!lto)
|
||||||
|
source=($url/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz)
|
||||||
sha512sums=('8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd')
|
sha512sums=('8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd')
|
||||||
b2sums=('e06c1c1cc118c15f6bed1abfa97368d7ccc0d2e716a233cd4141936fb382e40909c340a6c882b18ee9461aaa23dd77a6644a38bdb5a00c1444538a2e0ab816d4')
|
b2sums=('e06c1c1cc118c15f6bed1abfa97368d7ccc0d2e716a233cd4141936fb382e40909c340a6c882b18ee9461aaa23dd77a6644a38bdb5a00c1444538a2e0ab816d4')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# -Werror, not even once
|
# -Werror, not even once
|
||||||
sed 's/-Werror//' -i $pkgname-$pkgname-$pkgver/harness/Makefile
|
sed 's/-Werror//' -i $pkgname-$pkgname-$pkgver/harness/Makefile
|
||||||
|
|
||||||
|
# remove failing test until upstream fixes it
|
||||||
|
rm -frv $pkgname-$pkgname-$pkgver/harness/cases/21.t
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# libaio is a thin wrapper around kernel syscalls, it does not use stdlib and
|
|
||||||
# other helpers like stack protection libraries
|
|
||||||
|
|
||||||
case $CARCH in
|
|
||||||
x86_64) CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
|
|
||||||
esac
|
|
||||||
|
|
||||||
make -C $pkgname-$pkgname-$pkgver
|
make -C $pkgname-$pkgname-$pkgver
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user