Date: Friday, January 22, 2021 @ 19:04:05 Author: spupykin Revision: 824867
upgpkg: libmaa 1.4.7-1 Modified: libmaa/trunk/PKGBUILD Deleted: libmaa/trunk/libmaa-gcc8.patch -------------------+ PKGBUILD | 11 +++++------ libmaa-gcc8.patch | 28 ---------------------------- 2 files changed, 5 insertions(+), 34 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-01-22 19:03:50 UTC (rev 824866) +++ PKGBUILD 2021-01-22 19:04:05 UTC (rev 824867) @@ -1,7 +1,7 @@ # Maintainer: Sergej Pupykin <[email protected]> pkgname=libmaa -pkgver=1.4.2 +pkgver=1.4.7 pkgrel=1 pkgdesc="Provides many low-level data structures which are helpful for writing compilers" url="https://sourceforge.net/projects/dict/" @@ -8,17 +8,16 @@ license=('GPL') arch=('x86_64') depends=() -makedepends=('flex') +makedepends=('flex' 'mk-configure' 'bmake') source=("https://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz") -sha256sums=('63de331c97a40efe8b64534fee4b7b7df161645b92636572ad248b0f13abc0db') +sha256sums=('4e01a9ebc5d96bc9284b6706aa82bddc2a11047fa9bd02e94cf8753ec7dcb98e') build() { cd "${srcdir}/$pkgname-$pkgver" - ./configure --prefix=/usr - make + mkcmake PREFIX=/usr } package() { cd "${srcdir}/$pkgname-$pkgver" - make DESTDIR="${pkgdir}" install + mkcmake PREFIX=/usr DESTDIR="${pkgdir}" install } Deleted: libmaa-gcc8.patch =================================================================== --- libmaa-gcc8.patch 2021-01-22 19:03:50 UTC (rev 824866) +++ libmaa-gcc8.patch 2021-01-22 19:04:05 UTC (rev 824867) @@ -1,28 +0,0 @@ -From: Robert Luberda <[email protected]> -Date: Sun, 3 Jun 2018 16:28:38 +0200 -Subject: Fix FTBFS with gcc-8 - -Increase buffer size to fix build failures like the one below: - ../log.c:328:40: error: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3838 and 4093 -[-Werror=format-truncation=] - snprintf (buf, sizeof (buf), "%s(%s) %s\n", - -Bugs-Debian: https://bugs.debian.org/897789 ---- - maa/log.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/maa/log.c b/maa/log.c -index 8c68546..c31708b 100644 ---- a/maa/log.c -+++ b/maa/log.c -@@ -297,7 +297,7 @@ static void _log_base_va( - { - va_list ap_copy; - time_t t; -- static char buf [4096] = ""; -+ static char buf [8192] = ""; - static char buf_main [4096] = ""; - static char buf_preamble [256] = ""; - -
