From 3372080db4f5cc519a1f38e6bd7211cb6ab6ee53 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 4 Oct 2020 15:16:56 +0000
Subject: libaio: update to 0.3.112

---
 abs/core/libaio/PKGBUILD | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/abs/core/libaio/PKGBUILD b/abs/core/libaio/PKGBUILD
index 08d74db..43e23f7 100644
--- a/abs/core/libaio/PKGBUILD
+++ b/abs/core/libaio/PKGBUILD
@@ -1,16 +1,15 @@
-# $Id$
 # Maintainer:  Bartłomiej Piotrowski <barthalion@gmail.com>
 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
 
 pkgname=libaio
-pkgver=0.3.110
-pkgrel=1
+pkgver=0.3.112
+pkgrel=2
 pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
-arch=('i686' 'x86_64')
+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')
+source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.xz)
+md5sums=('66e3b7dd255581a73542ee851f8cd737')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
@@ -22,6 +21,11 @@ build() {
 
 check() {
   cd "$srcdir/$pkgname-$pkgver"
+
+  # work around gcc warning (-Werror) in test suite
+  sed -i '/strncpy/s#sizeof(TEMPLATE)#sizeof(template)#' harness/cases/19.t
+  sed -i '/strncpy/s#sizeof(TEMPLATE)#sizeof(temp_file)#' harness/cases/21.t
+
   make partcheck
 }
 
-- 
cgit v0.12