[arch-commits] Commit in libaio/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Sun Nov 4 05:56:52 UTC 2018


    Date: Sunday, November 4, 2018 @ 05:56:51
  Author: allan
Revision: 337805

upgpkg: libaio 0.3.111-2

fix FTBFS

Modified:
  libaio/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 03:47:28 UTC (rev 337804)
+++ PKGBUILD	2018-11-04 05:56:51 UTC (rev 337805)
@@ -3,7 +3,7 @@
 
 pkgname=libaio
 pkgver=0.3.111
-pkgrel=1
+pkgrel=2
 pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
 arch=('x86_64')
 url="http://lse.sourceforge.net/io/aio.html"
@@ -21,6 +21,11 @@
 
 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
 }
 



More information about the arch-commits mailing list