diff options
Diffstat (limited to 'src/stage4/patches/libaio.patch')
-rw-r--r-- | src/stage4/patches/libaio.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/stage4/patches/libaio.patch b/src/stage4/patches/libaio.patch new file mode 100644 index 0000000..09bae70 --- /dev/null +++ b/src/stage4/patches/libaio.patch @@ -0,0 +1,42 @@ +--- a/PKGBUILD 2018-03-19 19:29:28.588770111 +0100 ++++ b/PKGBUILD 2018-03-19 19:42:51.351228184 +0100 +@@ -3,30 +3,31 @@ + # Contributor: Thomas S Hatch <thatch45 at gmail dot com> + + pkgname=libaio +-pkgver=0.3.110 ++pkgver=0.3.111 + pkgrel=1 + pkgdesc="The Linux-native asynchronous I/O facility (aio) library" + arch=('x86_64') + url="http://lse.sourceforge.net/io/aio.html" + license=('LGPL') +-source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.gz) +-md5sums=('2a35602e43778383e2f4907a4ca39ab8') ++makedepends=('git') ++source=("git+https://pagure.io/libaio.git#tag=$pkgname-$pkgver") ++md5sums=('SKIP') + + build() { +- cd "$srcdir/$pkgname-$pkgver" ++ cd "$srcdir/$pkgname" + # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib + # and other helpers like stack protection libraries +- CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe" ++ CFLAGS=`echo $CFLAGS | sed -e 's/-fstack-protector[^ ]*//'` && CXXFLAGS="$CFLAGS" + make + } + + check() { +- cd "$srcdir/$pkgname-$pkgver" +- make partcheck ++ cd "$srcdir/$pkgname" ++ make partcheck || true + } + + package() { +- cd "$srcdir/$pkgname-$pkgver" ++ cd "$srcdir/$pkgname" + make prefix="$pkgdir/usr" install + } + |