From patchwork Thu Dec 21 23:19:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Folkesson X-Patchwork-Id: 852174 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Zxn1GoBX"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z2ngC1pkkz9s1h for ; Fri, 22 Dec 2017 10:20:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7A22788FF2; Thu, 21 Dec 2017 23:20:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wfersSb1va4X; Thu, 21 Dec 2017 23:20:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id CFCE688F98; Thu, 21 Dec 2017 23:20:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 060431C0957 for ; Thu, 21 Dec 2017 23:20:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 028FD8863A for ; Thu, 21 Dec 2017 23:20:11 +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 ZFafpYwVl-9g for ; Thu, 21 Dec 2017 23:20:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) by hemlock.osuosl.org (Postfix) with ESMTPS id 2B162892B0 for ; Thu, 21 Dec 2017 23:20:10 +0000 (UTC) Received: by mail-lf0-f41.google.com with SMTP id g63so7622625lfl.11 for ; Thu, 21 Dec 2017 15:20:10 -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=RcowZDd7I5wE1CtrjytGiKVdy7mqk476POPxVXgJwM4=; b=Zxn1GoBX/w4MAoXAvkkavX/KXaGUtL/ZNr1cMsx0LVySlKfS6/lcOc3sldb+iPzrjJ t6gbxJ0mFbZIaHTzx7CBc1KvaXZ4IYQZa8RCZ52a71EnsWGALNvCioNkRfh/UzlDzu6c 5WSZ4VZIHnMRB2uujJa94OsMLzy2flkDa1HMtWdJ6YpqipwqkQ4K872sx3cALZOkn1hi 45kCq9CaTfxyxQmBDI7EyX6cHCvHgAJc6OC/Tj8Tbl4R8faxCYTdcP1WJEcjkb2Oqrs+ 1qBBXjJsg8GqG8PfYLtDoDPKrbjMqpAy5Fwt00deugqGHzXHBLjuX+nypfM+/AslnUl2 8LfA== 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=RcowZDd7I5wE1CtrjytGiKVdy7mqk476POPxVXgJwM4=; b=sUJzbPk/SlryYcANI7mWMR0cYOVcBB3M+s9bdP/uIEKE8JK8bElOsekLYTZ3ilmKG9 ovDfX2aHP7ZakBZMoLlI/5XsddcjXiZDwhYLHBWwQM9E7rkLFXftCbSzPX51pL286Z7L dS6k0xHLLWNWsirQPGGx3NMSyCjctorkareZ+UBzzVO2RMtK33MI7FGL6d2FUzp5qSnq pRYUIsw3LuOgAY1x8huYl3Xx3/BNse8MV3oT3BQMWT24VIkIOCLJRhM46v0UzzOvo3Wr 2wxPtVtRusbJC8dC9Exxb48qZRN8deskG0OiK4fm1L4NaguJw6WAZJ/RXXCDS0WFItOa AJXA== X-Gm-Message-State: AKGB3mJUeOUH5WYvqTwCvj04GKzncXFuJcwuxlXGS2jSKFlr8oTKZXj3 ipvqGoQJpkIkZEceaD5nLDKHVA== X-Google-Smtp-Source: ACJfBosEUoKHc1K2vDH+B72bDgTc2dbnOqT9f8BxW49yhQAAbxPcTbFkq+WSunYGJpNIPS+piynaBw== X-Received: by 10.46.21.79 with SMTP id 15mr7286473ljv.27.1513898408115; Thu, 21 Dec 2017 15:20:08 -0800 (PST) Received: from localhost.localdomain (c-2ec26bf4-74736162.cust.telenor.se. [46.194.107.244]) by smtp.gmail.com with ESMTPSA id f42sm935502lfi.18.2017.12.21.15.20.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 15:20:07 -0800 (PST) From: Marcus Folkesson To: buildroot@buildroot.org Date: Fri, 22 Dec 2017 00:19:59 +0100 Message-Id: <20171221231959.31974-1-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.15.1 Subject: [Buildroot] [PATCH] libostree: add patch to fix compilation error X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marcus Folkesson MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fix the following compilation error: src/libostree/ostree-repo-pull.c:1493:1: error: no previous prototype for '_ostree_repo_verify_bindings' [-Werror=missing-prototypes] The patch is submitted upstreams (8d3d14503b3105f93db635022e881e02688f2db4) and should be removed in the next version bump. Fixes: http://autobuild.buildroot.net/results/3fc91565cb2d0fabe566c109257a616bd57cb08c Signed-off-by: Marcus Folkesson Tested-by: Matt Weber --- ...llways-include-ostree-repo-pull-private.h.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/libostree/0001-lib-pull-allways-include-ostree-repo-pull-private.h.patch diff --git a/package/libostree/0001-lib-pull-allways-include-ostree-repo-pull-private.h.patch b/package/libostree/0001-lib-pull-allways-include-ostree-repo-pull-private.h.patch new file mode 100644 index 0000000000..8c1e149013 --- /dev/null +++ b/package/libostree/0001-lib-pull-allways-include-ostree-repo-pull-private.h.patch @@ -0,0 +1,37 @@ +From af58eb62038202eb1082a66af1be7d405c8a2de1 Mon Sep 17 00:00:00 2001 +From: Marcus Folkesson +Date: Thu, 21 Dec 2017 10:20:48 +0100 +Subject: [PATCH] lib/pull: allways include ostree-repo-pull-private.h + +Allways include ostree-repo-pull-private.h to get rid of the following +build error when HAVE_LIBCURL_OR_LIBSOUP is not defined: + +src/libostree/ostree-repo-pull.c:1493:1: error: no previous prototype +for '_ostree_repo_verify_bindings' [-Werror=missing-prototypes] + +Signed-off-by: Marcus Folkesson +--- + src/libostree/ostree-repo-pull.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c +index 2e6e308c..b2a00ea2 100644 +--- a/src/libostree/ostree-repo-pull.c ++++ b/src/libostree/ostree-repo-pull.c +@@ -27,12 +27,12 @@ + #include "libglnx.h" + #include "ostree.h" + #include "otutil.h" ++#include "ostree-repo-pull-private.h" + + #ifdef HAVE_LIBCURL_OR_LIBSOUP + + #include "ostree-core-private.h" + #include "ostree-repo-private.h" +-#include "ostree-repo-pull-private.h" + #include "ostree-repo-static-delta-private.h" + #include "ostree-metalink.h" + #include "ostree-fetcher-util.h" +-- +2.15.1 +