[arch-commits] Commit in libmaa/repos/community-x86_64 (3 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Jan 22 19:04:13 UTC 2021
Date: Friday, January 22, 2021 @ 19:04:13
Author: spupykin
Revision: 824868
archrelease: copy trunk to community-x86_64
Added:
libmaa/repos/community-x86_64/PKGBUILD
(from rev 824867, libmaa/trunk/PKGBUILD)
Deleted:
libmaa/repos/community-x86_64/PKGBUILD
libmaa/repos/community-x86_64/libmaa-gcc8.patch
-------------------+
PKGBUILD | 54 ++++++++++++++++++++++------------------------------
libmaa-gcc8.patch | 28 --------------------------
2 files changed, 23 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-22 19:04:05 UTC (rev 824867)
+++ PKGBUILD 2021-01-22 19:04:13 UTC (rev 824868)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=libmaa
-pkgver=1.3.2
-pkgrel=3
-pkgdesc="Provides many low-level data structures which are helpful for writing compilers"
-url="http://sourceforge.net/projects/dict/"
-license=('GPL')
-arch=('x86_64')
-depends=('glibc')
-makedepends=('flex')
-source=("https://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz" libmaa-gcc8.patch)
-sha256sums=('59a5a01e3a9036bd32160ec535d25b72e579824e391fea7079e9c40b0623b1c5'
- '7435ad846b1b3b6cb2a7473439d1e98986b83b050125c19eb263784eb2e4a2b6')
-
-prepare() {
- cd $pkgname-$pkgver
- patch -p2 -i ../libmaa-gcc8.patch # Fix build with GCC 8 (Debian)
-}
-
-build() {
- cd "${srcdir}/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/$pkgname-$pkgver"
- make DESTDIR="${pkgdir}" install
-}
Copied: libmaa/repos/community-x86_64/PKGBUILD (from rev 824867, libmaa/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-22 19:04:13 UTC (rev 824868)
@@ -0,0 +1,23 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=libmaa
+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/"
+license=('GPL')
+arch=('x86_64')
+depends=()
+makedepends=('flex' 'mk-configure' 'bmake')
+source=("https://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('4e01a9ebc5d96bc9284b6706aa82bddc2a11047fa9bd02e94cf8753ec7dcb98e')
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ mkcmake PREFIX=/usr
+}
+
+package() {
+ cd "${srcdir}/$pkgname-$pkgver"
+ mkcmake PREFIX=/usr DESTDIR="${pkgdir}" install
+}
Deleted: libmaa-gcc8.patch
===================================================================
--- libmaa-gcc8.patch 2021-01-22 19:04:05 UTC (rev 824867)
+++ libmaa-gcc8.patch 2021-01-22 19:04:13 UTC (rev 824868)
@@ -1,28 +0,0 @@
-From: Robert Luberda <robert at debian.org>
-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] = "";
-
-
More information about the arch-commits
mailing list