liblouis: update to 3.7.0.
This commit is contained in:
parent
20a4b994ee
commit
6f018e1e2b
2 changed files with 3 additions and 30 deletions
srcpkgs/liblouis
|
@ -1,27 +0,0 @@
|
|||
From dbfa58bb128cae86729578ac596056b3385817ef Mon Sep 17 00:00:00 2001
|
||||
From: Christian Egli <christian.egli@sbs.ch>
|
||||
Date: Wed, 6 Jun 2018 16:41:53 +0200
|
||||
Subject: [PATCH] Check index before writing to result->chars
|
||||
|
||||
Fixes #595
|
||||
---
|
||||
liblouis/compileTranslationTable.c | 2 +-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/liblouis/compileTranslationTable.c b/liblouis/compileTranslationTable.c
|
||||
index e3ca96075..c02821214 100644
|
||||
--- a/liblouis/compileTranslationTable.c
|
||||
+++ b/liblouis/compileTranslationTable.c
|
||||
@@ -1127,11 +1127,11 @@ parseChars(FileInfo *nested, CharsString *result, CharsString *token) {
|
||||
}
|
||||
in++;
|
||||
}
|
||||
- result->chars[out++] = (widechar)ch;
|
||||
if (out >= MAXSTRING) {
|
||||
result->length = out;
|
||||
return 1;
|
||||
}
|
||||
+ result->chars[out++] = (widechar)ch;
|
||||
continue;
|
||||
}
|
||||
lastOutSize = out;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'liblouis'
|
||||
pkgname=liblouis
|
||||
version=3.6.0
|
||||
revision=2
|
||||
version=3.7.0
|
||||
revision=1
|
||||
patch_args="-Np1"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ucs4"
|
||||
|
@ -14,7 +14,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|||
license="GPL-3.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="http://liblouis.org/"
|
||||
distfiles="https://github.com/liblouis/liblouis/releases/download/v${version}/liblouis-${version}.tar.gz"
|
||||
checksum=003f5bf9d0fa827513d6f97a81a174ecba7afc0be94e880da259be88c133848c
|
||||
checksum=842a86091d78979cd8d1705936de1735b8ff6b9c961781d292fa9783f3f6335c
|
||||
disable_parallel_build=yes
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
|
|
Loading…
Reference in a new issue