aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/gd/gd_2.2.5.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-06-20 15:18:31 +0800
committerKhem Raj <raj.khem@gmail.com>2018-06-20 10:07:41 -0700
commit639af7f74220b85b75d1eb5ebf29268ab1839b86 (patch)
tree2ea5aa31209ee623e1c8b8b462d1db83478c392f /meta-oe/recipes-support/gd/gd_2.2.5.bb
parent6457b3d77dde964a01833c6904a42092150edea5 (diff)
downloadmeta-openembedded-contrib-639af7f74220b85b75d1eb5ebf29268ab1839b86.tar.gz
gd: Replace strncpy with memccpy to fix -Wstringop-truncation.
Fixed for gcc8: git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gd/gd_2.2.5.bb')
-rw-r--r--meta-oe/recipes-support/gd/gd_2.2.5.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gd/gd_2.2.5.bb b/meta-oe/recipes-support/gd/gd_2.2.5.bb
index 63d9acf05d..62d0df0081 100644
--- a/meta-oe/recipes-support/gd/gd_2.2.5.bb
+++ b/meta-oe/recipes-support/gd/gd_2.2.5.bb
@@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=07384b3aa2e0d39afca0d6c40286f545"
DEPENDS = "freetype libpng jpeg zlib tiff"
SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \
+ file://0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch \
"
SRCREV = "8255231b68889597d04d451a72438ab92a405aba"