From patchwork Thu Dec 13 21:02:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1013154 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.137; helo=fraxinus.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="V0W6mIOT"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43G5jD5Fl4z9s4s for ; Fri, 14 Dec 2018 08:02:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4F52F80C92; Thu, 13 Dec 2018 21:02:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xuW0-tw9ZRok; Thu, 13 Dec 2018 21:02:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B6EC780E9F; Thu, 13 Dec 2018 21:02:22 +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 E4BC41BF366 for ; Thu, 13 Dec 2018 21:02:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E227185EBB for ; Thu, 13 Dec 2018 21:02: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 dawslUOVhPhB for ; Thu, 13 Dec 2018 21:02:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 32BDA85DDA for ; Thu, 13 Dec 2018 21:02:21 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id s12so2982130wrt.4 for ; Thu, 13 Dec 2018 13:02:21 -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=mrZiuNN6w+DjkxHZWoJTj9AQNPbB9VYGb9upC8iTZkQ=; b=V0W6mIOTR7VfJF96ZG9Q5r2+6H5kBYQuu3aLWzpMvpzxGDGPI8vjccmgFB/KAOmjJh YBN1EKWdQG8pz+L0A59a5XN/2JEY3Hp7TJ6Du6DAE9/oPuEYNheWvVwhmcaYTIDckslW nYepQFrZQpGJbWx98WASfKNUm3tDjysIuqcy2ihglUkRiVOxSGYZvHOekPw+F1iRUs8m N//pn+7QKziXX/L18ITbKg+K/Es/qfg3tHRePDljyPJCAi08tbzm/qe/MOmA8Z7F473o lbCcb4/0VQxRb+KPQkL998KDKvGMy4ZWNJi3+s7Ewj6N1AQHNnwajzl+IYRag/HdX7Zf 0xrA== 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=mrZiuNN6w+DjkxHZWoJTj9AQNPbB9VYGb9upC8iTZkQ=; b=lpwZKVd3A/rUpz3FmDO7x03NVd5FPwoDhHcr81RLx/YWo+f1F1VWBD2HeUxo5R3Rw0 R9n1Ka+yIeHrQrULpVlTTXYgHhYVuIJB27kYn6Lxsu7jqfGsJazBm10sLtx/QMemv3xS ojxoklLg8xKjVk3IDg+mOsiUu44e5mgcUYS/jFSFiM87JeuF1aTCoAtO7RHDNycjZDgR 7vPI+SFdUs8jAjopppNXQDHpbW0ToJ71AMQajocXQ78FQIoNxNbTDZPTpcaQpYFGp8mX mMGnT1emDfgeQCZFthQqxrZPWKdssLDDyXoXgzguy/Xpem7JVTVhP9M/4LQupUWNg0M2 yqcg== X-Gm-Message-State: AA+aEWZwpsVzSj/6NUIjU4v1F7UAp4ojsLDNm2xdSeXeve4yNY2x+YcM Aghu3RiT7TBzQYsQRGzb8DAobntV X-Google-Smtp-Source: AFSGD/XrNwwlNmSMcl6B3J+RIcCZ0nnfp6CjRIO6XNcdwS9rarH9H5To0jiBKMbsiCQVIh7oMiO/mQ== X-Received: by 2002:a05:6000:10d1:: with SMTP id b17mr295759wrx.306.1544734939321; Thu, 13 Dec 2018 13:02:19 -0800 (PST) Received: from localhost.localdomain ([80.12.33.74]) by smtp.gmail.com with ESMTPSA id x12sm2374496wrt.20.2018.12.13.13.02.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Dec 2018 13:02:18 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 13 Dec 2018 22:02:09 +0100 Message-Id: <20181213210209.29224-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] xapp_bitmap: fix build with pkgconf 1.5.3 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: Bernd Kuhls , Fabrice Fontaine MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute paths found in the .pc file. This is correct when the paths refer to something in STAGING_DIR (e.g. libdir, includedir), but not when it refers to something used for the target. xapp_bitmap uses the appdefaultdir variable from xt.pc to decide where to install things. Since DESTDIR is prepended to the install destination, this will end up in the wrong location. Until a better solution is found in pkgconf, pass the appdefaultdir to use explicitly instead of relying on xt.pc. Fixes: - http://autobuild.buildroot.org/results/44bed7a9251e108f0c3bc8654b757ccc031a1187 Signed-off-by: Fabrice Fontaine --- package/x11r7/xapp_bitmap/xapp_bitmap.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/x11r7/xapp_bitmap/xapp_bitmap.mk b/package/x11r7/xapp_bitmap/xapp_bitmap.mk index 851af31382..1ee2880adc 100644 --- a/package/x11r7/xapp_bitmap/xapp_bitmap.mk +++ b/package/x11r7/xapp_bitmap/xapp_bitmap.mk @@ -10,5 +10,6 @@ XAPP_BITMAP_SITE = http://xorg.freedesktop.org/releases/individual/app XAPP_BITMAP_LICENSE = MIT XAPP_BITMAP_LICENSE_FILES = COPYING XAPP_BITMAP_DEPENDENCIES = xlib_libX11 xlib_libXaw xlib_libXmu xdata_xbitmaps +XAPP_BITMAP_CONF_OPTS = --with-appdefaultdir=/usr/share/X11/app-defaults $(eval $(autotools-package))