From patchwork Tue Mar 11 18:53:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 329203 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 9EE012C00C3 for ; Wed, 12 Mar 2014 05:55:04 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B00B032FA3; Tue, 11 Mar 2014 18:55:03 +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 QaVzJJPU2L15; Tue, 11 Mar 2014 18:55:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5877A32FA1; Tue, 11 Mar 2014 18:55:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A6F451CE63D for ; Tue, 11 Mar 2014 18:55:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9D77632FAB for ; Tue, 11 Mar 2014 18:55:00 +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 JLbLDM6SZcG4 for ; Tue, 11 Mar 2014 18:54:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from blu0-omc2-s3.blu0.hotmail.com (blu0-omc2-s3.blu0.hotmail.com [65.55.111.78]) by silver.osuosl.org (Postfix) with ESMTP id 59DFE32F93 for ; Tue, 11 Mar 2014 18:54:56 +0000 (UTC) Received: from BLU0-SMTP209 ([65.55.111.71]) by blu0-omc2-s3.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Mar 2014 11:54:56 -0700 X-TMN: [Kpxau4mctseFv4+/M7LyW0xdL899YVL0] X-Originating-Email: [berndkuhls@hotmail.com] Message-ID: Received: from fli4l.lan.fli4l ([79.247.133.11]) by BLU0-SMTP209.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Mar 2014 11:54:54 -0700 Received: from [192.168.1.122] (port=57173 helo=fli4lbuild64.lan.fli4l) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1WNRpD-0005PS-UR; Tue, 11 Mar 2014 19:54:52 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Tue, 11 Mar 2014 19:53:48 +0100 X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1394564029-528-1-git-send-email-berndkuhls@hotmail.com> References: <1394564029-528-1-git-send-email-berndkuhls@hotmail.com> X-OriginalArrivalTime: 11 Mar 2014 18:54:54.0269 (UTC) FILETIME=[63CC5ED0:01CF3D5B] MIME-Version: 1.0 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v5 5/6] pkgconf: rewrite variable sdkdir, needed by xdriver_xf86-video-intel X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Signed-off-by: Bernd Kuhls --- v2: no changes package/pkgconf/pkgconf-fix-variable.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/pkgconf/pkgconf-fix-variable.patch b/package/pkgconf/pkgconf-fix-variable.patch index e19f76c..4c213d6 100644 --- a/package/pkgconf/pkgconf-fix-variable.patch +++ b/package/pkgconf/pkgconf-fix-variable.patch @@ -7,17 +7,19 @@ This is sometimes used to find header files (E.G. in gst-plugins configure), so ensure the sysroot'ed files are used. Signed-off-by: Gustavo Zacarias +Signed-off-by: Bernd Kuhls diff -Nura pkgconf-0.8.9.orig/main.c pkgconf-0.8.9/main.c --- pkgconf-0.8.9.orig/main.c 2012-10-24 14:32:08.236508699 -0300 +++ pkgconf-0.8.9/main.c 2012-10-24 14:54:36.771070217 -0300 -@@ -298,7 +298,12 @@ +@@ -298,7 +298,13 @@ if (eflag != PKG_ERRF_OK) return false; - printf("%s\n", req.buf); + if ( !strcmp(req.variable, "includedir") || + !strcmp(req.variable, "mapdir") || ++ !strcmp(req.variable, "sdkdir") || + !strcmp(req.variable, "libdir")) + printf("%s%s\n", sysroot_dir, req.buf); + else