Return-Path: Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by mail.openembedded.org (Postfix) with ESMTP id 3803A770FF for ; Fri, 12 Aug 2016 15:12:07 +0000 (UTC) Received: by mail-qk0-f195.google.com with SMTP id o1so2145330qkd.2 for ; Fri, 12 Aug 2016 08:12:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ip6c4tKecKBYkT9TK12SZ1spDuEJo8Oe4lTEvbE88EY=; b=W0PDVQ/Dqlvae7Ku5jwp6HrzalJ4gScY2grhHPeN7iuJBHtzJB5MPp56HrdKsWU5Ld DGQZYI5CeCgQt0jd03qxfNQIg3a1Aq1gvYENykRIOgtyz8NE+/I35JO9H2TY3g5pmq9n DnZzoKTpxvHkD+360j3k6Z6GeKEViLzhL6qumTMrtUX/1eh3J1LxlxndEMaSf5dh8g9U yR+lra1UAK1NcZtcbXgwMKlRN9/nDIOWsXKfdYrVXkIDW8NwxTZ/+BfKV6rFHhjNDrB4 LDAEGoP6uh6grTRnskpDucRfb6gZwE/GQABXOZ9VJNdtJ/0nIkSLj4BpWkXkZFZdIlQb StKQ== X-Gm-Message-State: AEkoouuV3TqiVfo04kbB1O7GFo0swUZAPIgdCOk5mLsljEd/EsD+CuOvZGr2hgP3A/qA/w== X-Received: by 10.55.23.12 with SMTP id i12mr18505044qkh.213.1471014728409; Fri, 12 Aug 2016 08:12:08 -0700 (PDT) Received: from argos.minotaurinc.com (c-73-172-178-168.hsd1.md.comcast.net. [73.172.178.168]) by smtp.gmail.com with ESMTPSA id d2sm4606971qtd.44.2016.08.12.08.12.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Aug 2016 08:12:07 -0700 (PDT) From: Derek Straka To: openembedded-devel@lists.openembedded.org Date: Fri, 12 Aug 2016 11:11:02 -0400 Message-Id: <1471014662-28320-1-git-send-email-derek@asterius.io> X-Mailer: git-send-email 1.9.1 Subject: [meta-oe][PATCH] gd: update to version 2.2.3 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2016 15:12:09 -0000 Signed-off-by: Derek Straka --- .../gd/files/fix-gcc-unused-functions.patch | 43 ++++++++++++++++++++++ .../gd/{gd_2.1.1.bb => gd_2.2.3.bb} | 11 +++--- 2 files changed, 48 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch rename meta-oe/recipes-support/gd/{gd_2.1.1.bb => gd_2.2.3.bb} (82%) diff --git a/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch new file mode 100644 index 0000000..02cb5ad --- /dev/null +++ b/meta-oe/recipes-support/gd/files/fix-gcc-unused-functions.patch @@ -0,0 +1,43 @@ +gdft.c: remove functions that cause warnings about being unused + +Upstream-Status: Backport (Fixed in master branch) + +Signed-off-by: Derek Straka +--- git/src/gdft.c.orig 2016-08-12 10:20:41.418440091 -0400 ++++ git/src/gdft.c 2016-08-12 10:22:34.226442987 -0400 +@@ -139,16 +139,6 @@ + } + #else + +-#ifndef HAVE_LIBFONTCONFIG +-static char * font_pattern(char **fontpath, char *fontpattern) +-{ +- (void)fontpath; +- (void)fontpattern; +- +- return "libgd was not built with FontConfig support\n"; +-} +-#endif /* HAVE_LIBFONTCONFIG */ +- + #include "gdcache.h" + /* 2.0.16 Christophe Thomas: starting with FreeType 2.1.6, this is + mandatory, and it has been supported for a long while. */ +@@ -446,16 +436,15 @@ + return (strcmp (a->fontlist, b->fontlist) == 0 && a->flags == b->flags); + } + ++#ifdef HAVE_LIBFONTCONFIG + static int useFontConfig(int flag) + { +-#ifdef HAVE_LIBFONTCONFIG + if (fontConfigFlag) { + return (!(flag & gdFTEX_FONTPATHNAME)); + } +-#endif + return flag & gdFTEX_FONTCONFIG; + } +- ++#endif + static void * + fontFetch (char **error, void *key) + { diff --git a/meta-oe/recipes-support/gd/gd_2.1.1.bb b/meta-oe/recipes-support/gd/gd_2.2.3.bb similarity index 82% rename from meta-oe/recipes-support/gd/gd_2.1.1.bb rename to meta-oe/recipes-support/gd/gd_2.2.3.bb index 85c7e6a..74e265e 100644 --- a/meta-oe/recipes-support/gd/gd_2.1.1.bb +++ b/meta-oe/recipes-support/gd/gd_2.2.3.bb @@ -12,12 +12,12 @@ LICENSE = "GD" LIC_FILES_CHKSUM = "file://COPYING;md5=c97638cafd3581eb87abd37332137669" DEPENDS = "freetype libpng jpeg zlib tiff" -SRC_URI = "https://bitbucket.org/libgd/gd-libgd/downloads/libgd-${PV}.tar.bz2 \ -" -SRC_URI[md5sum] = "d3f1a992ac9c550ebc6da89c147f89af" -SRC_URI[sha256sum] = "895ea9c6fcab187b0a908ae3e9e6b06423756f8a643d362349b0caab4014bd0d" +SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \ + file://fix-gcc-unused-functions.patch" -S = "${WORKDIR}/libgd-${PV}" +SRCREV = "46ceef5970bf3a847ff61d1bdde7501d66c11d0c" + +S = "${WORKDIR}/git" inherit autotools binconfig gettext pkgconfig @@ -27,7 +27,6 @@ EXTRA_OECONF += " --disable-rpath \ --without-fontconfig \ --without-xpm \ --without-x \ - --without-vpx \ " EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"' -- 1.9.1