{"id":806284,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806284/?format=json","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.0/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":""},"msgid":"<20170827173606.13144-5-romain.naour@gmail.com>","date":"2017-08-27T17:36:03","name":"[4/7] package/jsoncpp: fix build with glibc >= 2.26","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"1d9c4d8349cd58e605b08474dfb4facc05230d66","submitter":{"id":67942,"url":"http://patchwork.ozlabs.org/api/1.0/people/67942/?format=json","name":"Romain Naour","email":"romain.naour@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170827173606.13144-5-romain.naour@gmail.com/mbox/","series":[{"id":34,"url":"http://patchwork.ozlabs.org/api/1.0/series/34/?format=json","date":"2017-08-27T17:35:59","name":"glibc: bump to 2.26","version":1,"mbox":"http://patchwork.ozlabs.org/series/34/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806284/checks/","tags":{},"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.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"GUhY/dQN\"; dkim-atps=neutral"],"Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 3xgMWy5S1pz9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 03:36:30 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 6D448248EB;\n\tSun, 27 Aug 2017 17:36:28 +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 SXRSmJUaRvoj; Sun, 27 Aug 2017 17:36:26 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id EF63A2514E;\n\tSun, 27 Aug 2017 17:36:25 +0000 (UTC)","from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id D775F1C0D51\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:17 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D152B88EB1\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:17 +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 p9myOwLJrMKP for <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 17:36:17 +0000 (UTC)","from mail-wm0-f66.google.com (mail-wm0-f66.google.com\n\t[74.125.82.66])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 35D5688EAF\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 17:36:17 +0000 (UTC)","by mail-wm0-f66.google.com with SMTP id i76so4824781wme.1\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 10:36:17 -0700 (PDT)","from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\tk35sm1926217wre.95.2017.08.27.10.36.14\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 10:36:15 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=1GjHaBrPqIw24QHQ0+tQk8331zCJoqByh1UG1JbHqjU=;\n\tb=GUhY/dQNneqJSRittB99HIDR1vYGAKM0WQIbje7pe678Bv5jinczHTnNauOncYkg3Y\n\tXwVI6kTfhqNrEwWiqeRHtNmZaskC3mRdElKNAx7FMFNBRmdqTIUuPHJIfvU7nFyvi8WR\n\tVSN78GLw8DZ4uB+OfMudZP0sU65p3pMahj6Xk9f8+8SKOm8d9ExsC2VxBZisvkrOt1dI\n\tYAGxfIEzXB0pKmvpb45AxJxasSNfumnKP3O1k4HFUVQ9/zBMKRbKGjKihJv5uy0dKb8H\n\tpOTo6TSn5JNRsNT5Lo8Y9FUSf0xTqRpVQA3yK+gRhJxGf91cAd68PPhxHdqVstVuk13T\n\tUWQw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=1GjHaBrPqIw24QHQ0+tQk8331zCJoqByh1UG1JbHqjU=;\n\tb=jO/KRBmV+GcSjNsn8QCLajbXA6jLFTpvdwjlJbaCbSh0uAHfnDe0CsY5SaBXS8agyn\n\tQ9WZZxXcrNs5Q1qsCm8F3Hg1PLPjTXCm1TcRChbMW4GN7frVcHD76GHG6HYv6WVLOZ8/\n\trVYqSg9DynxIF920uHBwYiXToWHL/xjQKVVXo33Nqt87QxjzMT4BwbKytyh7BmY0SZdX\n\tGWsIPHpPd9M35irEPSh+So6tXEpXxQcsGmxZJ+hFcoz3/5Nif/hz479O6nWL1aZfkozR\n\tENzMRGlJq08cJVcKsaZ9CqpsVEp8xMNlNfXaCt2GIKX1cSMasjrokmFnGcRGEkhuCmtM\n\tQErQ==","X-Gm-Message-State":"AHYfb5jezITWmPT0UD81G96IkZtpaJlDoJvghB60O0QIXjci02EOeXbd\n\tEsv6mMSETcNnnEnRC/g=","X-Received":"by 10.28.74.218 with SMTP id n87mr2872930wmi.137.1503855375457; \n\tSun, 27 Aug 2017 10:36:15 -0700 (PDT)","From":"Romain Naour <romain.naour@gmail.com>","To":"buildroot@buildroot.org","Date":"Sun, 27 Aug 2017 19:36:03 +0200","Message-Id":"<20170827173606.13144-5-romain.naour@gmail.com>","X-Mailer":"git-send-email 2.9.5","In-Reply-To":"<20170827173606.13144-1-romain.naour@gmail.com>","References":"<20170827173606.13144-1-romain.naour@gmail.com>","Cc":"Romain Naour <romain.naour@gmail.com>","Subject":"[Buildroot] [PATCH 4/7] package/jsoncpp: fix build with glibc >=\n\t2.26","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":"Issue found while testing glibc 2.26 bump.\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\n---\n ...001-json_writer-fix-build-with-glibc-2.26.patch | 28 ++++++++++++++++++++++\n 1 file changed, 28 insertions(+)\n create mode 100644 package/jsoncpp/0001-json_writer-fix-build-with-glibc-2.26.patch","diff":"diff --git a/package/jsoncpp/0001-json_writer-fix-build-with-glibc-2.26.patch b/package/jsoncpp/0001-json_writer-fix-build-with-glibc-2.26.patch\nnew file mode 100644\nindex 0000000..90acb12\n--- /dev/null\n+++ b/package/jsoncpp/0001-json_writer-fix-build-with-glibc-2.26.patch\n@@ -0,0 +1,28 @@\n+From 8b7250335f1a1a4bb46f28846500e11148d78449 Mon Sep 17 00:00:00 2001\n+From: Romain Naour <romain.naour@gmail.com>\n+Date: Sat, 26 Aug 2017 19:39:03 +0200\n+Subject: [PATCH] json_writer: fix build with glibc >= 2.26\n+\n+Signed-off-by: Romain Naour <romain.naour@gmail.com>\n+---\n+ src/lib_json/json_writer.cpp | 4 +++-\n+ 1 file changed, 3 insertions(+), 1 deletion(-)\n+\n+diff --git a/src/lib_json/json_writer.cpp b/src/lib_json/json_writer.cpp\n+index 02f1cb1..db61988 100644\n+--- a/src/lib_json/json_writer.cpp\n++++ b/src/lib_json/json_writer.cpp\n+@@ -41,7 +41,9 @@\n+ #endif\n+ #else\n+ #include <cmath>\n+-#if !(defined(__QNXNTO__)) // QNX already defines isfinite\n++// QNX already defines isfinite\n++#if !(defined(__QNXNTO__)) && \\\n++    (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 25))\n+ #define isfinite std::isfinite\n+ #endif\n+ #endif\n+-- \n+2.9.5\n+\n","prefixes":["4/7"]}