{"id":810727,"url":"http://patchwork.ozlabs.org/api/patches/810727/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906163904.14432-1-bernd.kuhls@t-online.de/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170906163904.14432-1-bernd.kuhls@t-online.de>","list_archive_url":null,"date":"2017-09-06T16:39:04","name":"[1/1] package/pngquant: fix target build","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"c761c848e876e1ab42210d13715d003f70845917","submitter":{"id":62613,"url":"http://patchwork.ozlabs.org/api/people/62613/?format=json","name":"Bernd Kuhls","email":"bernd.kuhls@t-online.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906163904.14432-1-bernd.kuhls@t-online.de/mbox/","series":[{"id":1852,"url":"http://patchwork.ozlabs.org/api/series/1852/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1852","date":"2017-09-06T16:39:04","name":"[1/1] package/pngquant: fix target build","version":1,"mbox":"http://patchwork.ozlabs.org/series/1852/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810727/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810727/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnTnM6Xb1z9s9Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 02:39:19 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9D27789BAF;\n\tWed,  6 Sep 2017 16:39:14 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id SQdQHldxx58x; Wed,  6 Sep 2017 16:39:12 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 7524689BAE;\n\tWed,  6 Sep 2017 16:39:12 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id EA96F1BFA45\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 16:39:10 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id E0F9930B38\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 16:39:10 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id irGEMjRCOFUG for <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 16:39:09 +0000 (UTC)","from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 4CEE330B31\n\tfor <buildroot@buildroot.org>; Wed,  6 Sep 2017 16:39:09 +0000 (UTC)","from fwd27.aul.t-online.de (fwd27.aul.t-online.de [172.20.26.132])\n\tby mailout05.t-online.de (Postfix) with SMTP id A130F4234CC0\n\tfor <buildroot@buildroot.org>; Wed,  6 Sep 2017 18:39:06 +0200 (CEST)","from fli4l.lan.fli4l\n\t(Zenl8eZDohzw5mNlVHfLGTP2LnTYEaxGlOvpN12eW6U9oF6lWPXZvI7mpW5DdsNQVl@[79.228.31.212])\n\tby fwd27.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dpdM2-3TXrqi0; Wed, 6 Sep 2017 18:39:06 +0200","from mahler.lan.fli4l ([192.168.1.1]:60548 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>) id 1dpdM1-00058j-8A\n\tfor buildroot@buildroot.org; Wed, 06 Sep 2017 18:39:05 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Bernd Kuhls <bernd.kuhls@t-online.de>","To":"buildroot@buildroot.org","Date":"Wed,  6 Sep 2017 18:39:04 +0200","Message-Id":"<20170906163904.14432-1-bernd.kuhls@t-online.de>","X-Mailer":"git-send-email 2.11.0","X-ID":"Zenl8eZDohzw5mNlVHfLGTP2LnTYEaxGlOvpN12eW6U9oF6lWPXZvI7mpW5DdsNQVl","X-TOI-MSGID":"6993dcb1-3be1-4270-af4b-13fab7bd6688","Subject":"[Buildroot] [PATCH 1/1] package/pngquant: fix target build","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"Pngquant 2.10 introduced a bundled library libimagequant, Makefile\npasses $LIQCONFIGUREFLAGS to the configure script of libimagequant\nbefore building this library:\nhttps://github.com/pornel/pngquant/blob/master/Makefile#L27\n\nThis variable is filled by configure with the content of $LIQCONFIGURE\nhttps://github.com/pornel/pngquant/blob/master/configure#L553\n\nWe need to pass CC/CFLAGS/LDFLAGS as parameter to configure to fill\n$LIQCONFIGURE with correct values in order to use the target toolchain\nfor building libimagequant:\nhttps://github.com/pornel/pngquant/blob/master/configure#L56\n\nFixes\nhttp://autobuild.buildroot.net/results/ab1/ab1193db9d76adc02be44d6f273e0986952df3e2/\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/pngquant/pngquant.mk | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/package/pngquant/pngquant.mk b/package/pngquant/pngquant.mk\nindex a602cbef5..1ce8359d4 100644\n--- a/package/pngquant/pngquant.mk\n+++ b/package/pngquant/pngquant.mk\n@@ -22,6 +22,7 @@ define PNGQUANT_CONFIGURE_CMDS\n \t\t./configure --prefix=/usr \\\n \t\t$(if $(BR2_PACKAGE_LCMS2),--with-lcms2,--without-lcms2) \\\n \t\t$(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \\\n+\t\t$(TARGET_CONFIGURE_OPTS) \\\n \t)\n endef\n \n","prefixes":["1/1"]}