From patchwork Tue Dec 25 01:31:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadym Kochan X-Patchwork-Id: 1018325 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZHmktUL2"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43NyzM4K9Cz9sBZ for ; Tue, 25 Dec 2018 12:23:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5B46E85405; Tue, 25 Dec 2018 01:23:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kXco8cZtKU6S; Tue, 25 Dec 2018 01:23:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 0AEA885381; Tue, 25 Dec 2018 01:23:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 326801C2B5F for ; Tue, 25 Dec 2018 01:23:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 300F521FA8 for ; Tue, 25 Dec 2018 01:23:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VTUTSG01L2Or for ; Tue, 25 Dec 2018 01:23:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by silver.osuosl.org (Postfix) with ESMTPS id 966912107D for ; Tue, 25 Dec 2018 01:23:09 +0000 (UTC) Received: by mail-lf1-f65.google.com with SMTP id v5so8900116lfe.7 for ; Mon, 24 Dec 2018 17:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=S3tIlfK6maUnMYkuKGewzhIUCUDzxSqVtDncCF7lADY=; b=ZHmktUL2Po7Yyj/jbuZxlyscsmbta8KBMBkHAXavhLn9aNKs1axrmoQjenGc0AaqXq vQADOAgmYQeR/9bfSdvxlyuZDo0/rcKNiWYMJI2+/u+7ektkeZqK4PaCNGy/A8CGVZH0 W/Se6egcGDGm26DqnxX0U9JcAiWDrTofjWFF/fEJNfD+1GrBAeWzkFjODf5w/kfQxEBU hmYXYJ1ryzT4JJil4FsYUZncMNjXbgqFObmyRyoigA1425jTSPNy/5tMz7nGnALmabfW zgu5gU39TDz3BsLMUQg3KlY/QK/xHmZlR/DtIpdO9tEW/bj5RGBmRoYD96oQY64bNtXI 3xCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=S3tIlfK6maUnMYkuKGewzhIUCUDzxSqVtDncCF7lADY=; b=YZwU8ScbIFH+npRBvvkzBUACTvnUAsaBt6N6tuwaa7eNbuo+tEnIXkijPxIEt1vryK j5CuQjZTqjRGXJ33V7x6UpwpmBwc+Bky1u6OSv6S773vX+QkEFAunEzUg0GPnsWDvNXy ENySPLXKuff4lDu7UU4OqLvrASuZGkxMGuWJgqmHAnoe+1OH8IRD7EJ+BY8j2h0ZnjQ2 cEJVzHwS8iEnAlqQsH7mhCFwAs3g+Ylz1ghUR4hlv92jsESahhn0Emt2n7DDxaOP5LPu giBm4e7VbgvCiZaS7L8+74d7PZ2Hwig4hs3KDLCVJG1K0onFuC5h8oeD8ILLhakIj+ri QuRw== X-Gm-Message-State: AA+aEWaafxnwoRoK5LdQSl3Gw0M66PV7OOmU458KI1CuQmDC3w6F2+0h Oxm3E/Hp/u9ZlgZSCJHJ1cBfZUn+ X-Google-Smtp-Source: AFSGD/VPwVnOpxxOV7TpZaNKE3lZoFpZ0k0VYeXyWOiWK38YMIeJC78DPyZEPHBSkEzA0mjgclVxRw== X-Received: by 2002:a19:2755:: with SMTP id n82mr6895864lfn.94.1545700987306; Mon, 24 Dec 2018 17:23:07 -0800 (PST) Received: from vkochan-ThinkPad-T470p.lan ([213.109.80.185]) by smtp.gmail.com with ESMTPSA id p19-v6sm6792915ljb.47.2018.12.24.17.23.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Dec 2018 17:23:06 -0800 (PST) From: Vadim Kochan To: buildroot@buildroot.org Date: Tue, 25 Dec 2018 03:31:25 +0200 Message-Id: <20181225013125.31787-1-vadim4j@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] package/lua-curl: Fix define for lcurl_mime_t for curl 7.56.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vadim Kochan MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Remove ';' at the end of #define for lcurl_mime_t, which looks like a typo. It fixes failing of lua-curl for build results: http://autobuild.buildroot.net/results/f3c0c1aa8f860fddc1312823530ab369b198820c/config Signed-off-by: Vadim Kochan --- ...x-define-for-lcurl_mime_t-for-curl-7.56.0.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch diff --git a/package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch b/package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch new file mode 100644 index 0000000000..f96ad88bf7 --- /dev/null +++ b/package/lua-curl/0002-lceasy.h-Fix-define-for-lcurl_mime_t-for-curl-7.56.0.patch @@ -0,0 +1,29 @@ +From 2e2bc60abaf426e32e667108b27805be0f6ffeb3 Mon Sep 17 00:00:00 2001 +From: Vadim Kochan +Date: Tue, 25 Dec 2018 03:17:29 +0200 +Subject: [PATCH] lceasy.h: Fix define for lcurl_mime_t for curl >= 7.56.0 + +Remove ';' at the end of #define for lcurl_mime_t which looks like +a typo if it was used via 'typedef'. + +Signed-off-by: Vadim Kochan +--- + src/lceasy.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lceasy.h b/src/lceasy.h +index d6ccefd..7c95668 100644 +--- a/Lua-cURLv3-0.3.8/src/lceasy.h ++++ b/Lua-cURLv3-0.3.8/src/lceasy.h +@@ -47,7 +47,7 @@ struct lcurl_multi_tag; + #define lcurl_multi_t struct lcurl_multi_tag + #if LCURL_CURL_VER_GE(7,56,0) + struct lcurl_mime_tag; +-#define lcurl_mime_t struct lcurl_mime_tag; ++#define lcurl_mime_t struct lcurl_mime_tag + #endif + #endif + +-- +2.14.1 +