Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806306/?format=api
{ "id": 806306, "url": "http://patchwork.ozlabs.org/api/patches/806306/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20170827220330.27544-1-romain.naour@gmail.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "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": "<20170827220330.27544-1-romain.naour@gmail.com>", "list_archive_url": null, "date": "2017-08-27T22:03:30", "name": "package/vde2: fix build issue with gcc 7.x", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "68389fe9f0a4760678a675c3da932f4331631890", "submitter": { "id": 67942, "url": "http://patchwork.ozlabs.org/api/people/67942/?format=api", "name": "Romain Naour", "email": "romain.naour@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20170827220330.27544-1-romain.naour@gmail.com/mbox/", "series": [ { "id": 48, "url": "http://patchwork.ozlabs.org/api/series/48/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=48", "date": "2017-08-27T22:03:30", "name": "package/vde2: fix build issue with gcc 7.x", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/48/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806306/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806306/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>)", "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=\"NRJsroMR\"; dkim-atps=neutral" ], "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 3xgTSM0MYxz9sN5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 08:03:45 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id BC5A088C63;\n\tSun, 27 Aug 2017 22:03:40 +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 V2znyb4-oImB; Sun, 27 Aug 2017 22:03:38 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id C853C88C55;\n\tSun, 27 Aug 2017 22:03:38 +0000 (UTC)", "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 731391C04A5\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 22:03:37 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 6C67D86B00\n\tfor <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 22:03:37 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Tvy2f8rZPgtO for <buildroot@lists.busybox.net>;\n\tSun, 27 Aug 2017 22:03:36 +0000 (UTC)", "from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 94B7A86AFB\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 22:03:36 +0000 (UTC)", "by mail-wm0-f67.google.com with SMTP id e67so5290520wmd.0\n\tfor <buildroot@buildroot.org>; Sun, 27 Aug 2017 15:03:36 -0700 (PDT)", "from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\tg26sm9034994wrb.21.2017.08.27.15.03.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 15:03:34 -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;\n\tbh=F61quJ6Si7iJbToYyFk3X33SMcM88gUZMcxeC8VJwG4=;\n\tb=NRJsroMRkys8ZV0rftcpN7or0yrrfEktEHfXMA/h9ClPKCg5XFz/EjKfvuOoU7KqpX\n\tMPKewma0bnrxoWMVcYL4Fmq1kItMuyKjsP+78fX9pLfsIKCRy912HJ0dFv9+1rekyqKV\n\t6o1frozav7x+vDHn8TsARXBHR4Biz5hbpchzeS43wG2Q4SMwgc36QP8AtjlyzX7y4BOo\n\t3qH9viRPY7quI4pDYpFkEP+U0UHbtTcZ4Y2fW/Pzx+mk5ADIRQ92fOc0eZ6+70yfj6oe\n\thXSmZ9uPinjgbS0ct8XSfXG51VtEqOSsJ1cmQ7Xk8a4tdK4A0q9BYvMU2IFGzgsLCsWX\n\tHlGQ==", "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;\n\tbh=F61quJ6Si7iJbToYyFk3X33SMcM88gUZMcxeC8VJwG4=;\n\tb=dUfQJKSL/+FB2yAJw0w/jIeyy61tykMoxVLfzvqCN8Q1AcHtFYCNXYzIg0ww4JYUtq\n\tb8/ZRxvAW6W/tRf1T33JseIvLB6ms9uxBCRzbBlOvmsI0TuiCkmL5olcvkznYd0aKipo\n\ti0AlI0bto+f50CUAkxfOcEqXaUa0cpz1lLqDiadPwxBTLy0f02uokBp4fM/gDGn9C29t\n\t36hJ05QKTc1+J8xPV+GS5drUazt3uth6bdqMfIO6EmBwloUoemEX69Va+h7TcxxvxY8r\n\tzd4yW9LfrqURZzZwpERJf6Jtsr97+40VuRePvrlk7c3sfkVuwGmVEpaa74ZavZrNLRz+\n\tcwLg==", "X-Gm-Message-State": "AHYfb5jWw3s9szsweU3ZTOLHJi6Mhm4IvPYp3GUBcykl4TSb5QdpEdPH\n\t/MLaSFU1nK4dt+1Z+B0=", "X-Received": "by 10.28.154.215 with SMTP id c206mr3003804wme.151.1503871414625;\n\tSun, 27 Aug 2017 15:03:34 -0700 (PDT)", "From": "Romain Naour <romain.naour@gmail.com>", "To": "buildroot@buildroot.org", "Date": "Mon, 28 Aug 2017 00:03:30 +0200", "Message-Id": "<20170827220330.27544-1-romain.naour@gmail.com>", "X-Mailer": "git-send-email 2.9.5", "Cc": "Romain Naour <romain.naour@gmail.com>,\n\t\"Yann E . MORIN\" <yann.morin.1998@free.fr>", "Subject": "[Buildroot] [PATCH] package/vde2: fix build issue with gcc 7.x", "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": "Like for dieharder package [1], add static to inline functions.\nhttps://git.buildroot.net/buildroot/commit/?id=21133ada326c87627f7bdee4493d8086587c3cca\n\nFixes:\nhttp://autobuild.buildroot.net/results/ed9/ed9abb1aed2ae87971ae119f4bca83cbf9861466\nhttp://autobuild.buildroot.net/results/2a1/2a1f73bfaf7097d42165d5c5f6c24d1aad72c929\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\nCc: Yann E. MORIN <yann.morin.1998@free.fr>\n---\n .../0002-fstp-Add-static-to-inline-functions.patch | 44 ++++++++++++++++++++++\n 1 file changed, 44 insertions(+)\n create mode 100644 package/vde2/0002-fstp-Add-static-to-inline-functions.patch", "diff": "diff --git a/package/vde2/0002-fstp-Add-static-to-inline-functions.patch b/package/vde2/0002-fstp-Add-static-to-inline-functions.patch\nnew file mode 100644\nindex 0000000..0dbe083\n--- /dev/null\n+++ b/package/vde2/0002-fstp-Add-static-to-inline-functions.patch\n@@ -0,0 +1,44 @@\n+From 67bc8443ac7e8144a78d84dee30a5cac3b5c99a4 Mon Sep 17 00:00:00 2001\n+From: Romain Naour <romain.naour@gmail.com>\n+Date: Sun, 27 Aug 2017 23:56:05 +0200\n+Subject: [PATCH] fstp: Add static to inline functions\n+\n+From [1]\n+\"This is needed to avoid a link error where the inline functions appear\n+missing at link time.\n+From c99 standard inline function should either be declared static or\n+have an extern instance in a c file for linking.\n+This fix is necessary to build with gcc 7; for some reason it was not\n+trigerred before.\"\n+\n+[1] https://git.buildroot.net/buildroot/commit/?id=21133ada326c87627f7bdee4493d8086587c3cca\n+\n+Signed-off-by: Romain Naour <romain.naour@gmail.com>\n+---\n+ src/vde_switch/fstp.c | 4 ++--\n+ 1 file changed, 2 insertions(+), 2 deletions(-)\n+\n+diff --git a/src/vde_switch/fstp.c b/src/vde_switch/fstp.c\n+index aab7324..b1e7ee8 100644\n+--- a/src/vde_switch/fstp.c\n++++ b/src/vde_switch/fstp.c\n+@@ -30,14 +30,14 @@ static int numports;\n+ #ifdef FSTP\n+ #include <fstp.h>\n+ /*********************** sending macro used by FSTP & Core ******************/\n+-void inline ltonstring(unsigned long l,unsigned char *s) {\n++static void inline ltonstring(unsigned long l,unsigned char *s) {\n+ \ts[3]=l; l>>=8;\n+ \ts[2]=l; l>>=8;\n+ \ts[1]=l; l>>=8;\n+ \ts[0]=l;\n+ }\n+ \n+-unsigned long inline nstringtol(unsigned char *s) {\n++static unsigned long inline nstringtol(unsigned char *s) {\n+ \treturn (s[0]<<24)+(s[1]<<16)+(s[2]<<8)+s[3];\n+ }\n+ \n+-- \n+2.9.5\n+\n", "prefixes": [] }