From patchwork Thu Dec 4 10:18:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Serafini X-Patchwork-Id: 417695 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 76AFC1400EA for ; Thu, 4 Dec 2014 21:19:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4D713951E9; Thu, 4 Dec 2014 10:19:40 +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 2S50cgdECIAH; Thu, 4 Dec 2014 10:19:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 69C8994E12; Thu, 4 Dec 2014 10:19:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id CB1A61C1E7A for ; Thu, 4 Dec 2014 10:19:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C763F94E12 for ; Thu, 4 Dec 2014 10:19:36 +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 AP5+sMw+h3tL for ; Thu, 4 Dec 2014 10:19:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.aswsp.com (mail.aswsp.com [193.34.35.150]) by hemlock.osuosl.org (Postfix) with ESMTPS id 3870F94E0D for ; Thu, 4 Dec 2014 10:19:32 +0000 (UTC) Received: from nserafini-N550JK.sensefly.localdomain (194.209.160.178) by smtp.aswsp.com (193.34.32.148) with Microsoft SMTP Server (TLS) id 14.2.342.3; Thu, 4 Dec 2014 11:19:32 +0100 From: Nicolas Serafini To: Date: Thu, 4 Dec 2014 11:18:14 +0100 Message-ID: <1417688294-3397-1-git-send-email-nicolas.serafini@sensefly.com> X-Mailer: git-send-email 2.1.3 MIME-Version: 1.0 X-Originating-IP: [194.209.160.178] Subject: [Buildroot] [PATCH] exiv2: add patch to fix build error with some toolchains X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch remove a header inclusion that is not required an can create build error with some toolchains. The patch is pushed on the upstream for the next release. http://dev.exiv2.org/issues/1007 Fixes: http://autobuild.buildroot.net/results/09d/09d9b525eeee458247e10a7948070c00bbabb964/ Signed-off-by: Nicolas Serafini Tested-by: Thomas Petazzoni --- package/exiv2/exiv2-0001-remove-useless-header.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/exiv2/exiv2-0001-remove-useless-header.patch diff --git a/package/exiv2/exiv2-0001-remove-useless-header.patch b/package/exiv2/exiv2-0001-remove-useless-header.patch new file mode 100644 index 0000000..96a3734 --- /dev/null +++ b/package/exiv2/exiv2-0001-remove-useless-header.patch @@ -0,0 +1,19 @@ +version.cpp: remove useless header inclusion + +The inclusion of link.h header is not required and can create build +error with some toolchains. +The patch is pushed on the upstream for the next release. +http://dev.exiv2.org/issues/1007 + +Signed-off-by: Nicolas Serafini + +--- exiv2-0.24.orig/src/version.cpp 2013-12-01 13:13:42.000000000 +0100 ++++ exiv2-0.24/src/version.cpp 2014-12-04 09:30:39.667234130 +0100 +@@ -116,7 +116,6 @@ typedef string_v::iterator string_i; + #elif defined(__linux__) + # include + // http://syprog.blogspot.com/2011/12/listing-loaded-shared-objects-in-linux.html +-# include "link.h" + # include + struct something + {