From 0d79e7b4373053a7f20f18ed962c5a17a969e57e Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Fri, 29 Jul 2016 03:47:41 -0400 Subject: groff_1.18.1.4: fix narrowing conversion error While gcc6 used, build old groff (for anti-GPLv3 reasons) failed: ..... |groff-1.18.1.4/src/devices/grolbp/charset.h:69:1: error: narrowing conversion of '130' from 'int' to 'char' inside { } [-Wnarrowing] ...... In upstream git://git.savannah.gnu.org/groff.git, the following commit fix the issue, but the license is GPLV3, we could not backport it to the old groff which license is GPLV2. ... commit d180038ae0da19655bc2760ae2043efa0550a76c Author: Werner LEMBERG Date: Wed Apr 16 21:11:07 2003 +0000 * src/devices/grolbp/charset.h (symset): Use `unsigned char'. ... We use another different way to fix the issue. [YOCTO #9896] Signed-off-by: Hongxu Jia Signed-off-by: Ross Burton --- meta/recipes-extended/groff/groff_1.18.1.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/groff/groff_1.18.1.4.bb') diff --git a/meta/recipes-extended/groff/groff_1.18.1.4.bb b/meta/recipes-extended/groff/groff_1.18.1.4.bb index bd786a30aa..fc7eb44781 100644 --- a/meta/recipes-extended/groff/groff_1.18.1.4.bb +++ b/meta/recipes-extended/groff/groff_1.18.1.4.bb @@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/old/${BP}.tar.gz \ file://man-local.patch \ file://mdoc-local.patch \ file://groff-1.18.1.4-fix-bindir.patch \ + file://fix-narrowing-conversion-error.patch \ " inherit autotools texinfo -- cgit 1.2.3-korg