libmaa: update to 1.4.2.

This commit is contained in:
Piotr Wójcik 2018-12-01 10:32:26 +01:00 committed by maxice8
parent 88e0f567b1
commit fce76df60c
3 changed files with 39 additions and 7 deletions

View File

@ -2074,7 +2074,7 @@ libkasten3okteta1gui.so.1 okteta-0.25.1_1
libokteta2core.so.2 okteta-0.25.1_1
libokteta2gui.so.2 okteta-0.25.1_1
libhttp_parser.so.2.8 http-parser-2.8.0_1
libmaa.so.3 libmaa-1.3.2_1
libmaa.so.4 libmaa-1.4.2_1
libcodeblocks.so.0 codeblocks-13.12_1
liblept.so.5 leptonica-1.73_1
libtesseract.so.3 tesseract-ocr-3.02.02_1

View File

@ -0,0 +1,22 @@
From 08007ecd13798f752ef8c18f3cff25c0c0a6afc8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Sat, 1 Dec 2018 00:54:26 +0100
Subject: [PATCH] Fix Werror=format-truncation
diff --git maa/log.c maa/log.c
index 8c68546..c31708b 100644
--- maa/log.c
+++ 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] = "";
--
2.19.1

View File

@ -1,15 +1,25 @@
# Template file for 'libmaa'
pkgname=libmaa
version=1.3.2
version=1.4.2
revision=1
build_style=gnu-configure
hostmakedepends="flex libtool"
build_style=gnu-makefile
make_cmd=mkcmake
hostmakedepends="flex libtool mk-configure"
short_desc="Provides many low-level data structures useful for writing compilers"
maintainer="Christopher Brannon <chris@the-brannons.com>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://sourceforge.net/projects/dict/"
distfiles="${SOURCEFORGE_SITE}/dict/${pkgname}-${version}.tar.gz"
checksum=59a5a01e3a9036bd32160ec535d25b72e579824e391fea7079e9c40b0623b1c5
distfiles="${SOURCEFORGE_SITE}/dict/libmaa-${version}.tar.gz"
checksum=63de331c97a40efe8b64534fee4b7b7df161645b92636572ad248b0f13abc0db
do_build() {
awk -f maa/arggram2c < maa/arggram.txt > maa/arggram.c
mkcmake ${makejobs} PREFIX=/usr
}
do_check() {
:
}
libmaa-devel_package() {
depends="${makedepends} libmaa>=${version}_${revision}"