From patchwork Sat Aug 6 12:44:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 656363 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3s63KG5vpCz9t3m for ; Sat, 6 Aug 2016 22:44:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=rNXfHCKQ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E091F8683E; Sat, 6 Aug 2016 12:44:30 +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 DguBhmMwZoEZ; Sat, 6 Aug 2016 12:44:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CD3EB8598B; Sat, 6 Aug 2016 12:44:28 +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 D585A1C1035 for ; Sat, 6 Aug 2016 12:44:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D0A882D0D8 for ; Sat, 6 Aug 2016 12:44:26 +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 0H4rY7jUHpfs for ; Sat, 6 Aug 2016 12:44:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by silver.osuosl.org (Postfix) with ESMTPS id 86BFC2C857 for ; Sat, 6 Aug 2016 12:44:25 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id o80so7481521wme.0 for ; Sat, 06 Aug 2016 05:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=E4wLQzFiItZuPmYR6vsIqll7AXLGqX2j31EVABwYmbU=; b=rNXfHCKQzEb8+mfiQULnjoVk22Uz/TEW9+EzgDKO3zOR3kg9SNeu10UEQkrxL0ad0h 4QMOlFapKkYXAbC1IISmjmJ8SnqW+6PhduzkX+pt8nUHhAZZIw+xMB/0SRkyLR1kcPED SiM2Y4aqayVdLeRi3zYTAemEBhXf+PcRelgTLRLM6f/sYpSGAHreUIovzPkNRXwjG7ph b1gi0m2Hw6gOBxJQWFxiCTGH5bArWNa7ueR2udQqMhzu/cOh9SQpye0ykNojfRd760Lz 7AI+hgLoz1jgaLsQh1AKK5szE1iW10kuq0rtMeqFxNdzr7ql79cfJekNbiDZUv8gcviK qt7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=E4wLQzFiItZuPmYR6vsIqll7AXLGqX2j31EVABwYmbU=; b=c4knOTPLuC2hkSFEoZJHgHPhUoS6r2L9d0jzEVIVzrwUcmCzIDBbMHKxmhZXEOWI6i rNcFT8eSLiAUKRqcYA96Z+vzd8GR/g/bGlvIisP9syT1/1cDx+Q9XyhPJUKNWZwC2Cw+ IV9v+p3zDGoiTT89oakPJ/6/UYB80ZV8NpBO2OaB3TO3DbsMgblWcFpT5pOJ9HYm/pue rCbWJMcuwpTYCI1/eE6qcAE0L5hoUKeSSZg22yjVHrdlq6q7g2VWKxuYCVq4OglWT/uC KoJU409bYBkKnJQsV4JGs0FICiEs9IIB2y54d+lrD8clkBDfC0rtqKdFqor1KgQzxjGc mvxg== X-Gm-Message-State: AEkooutjE49i+lOCtLVt2Oe0pTE5SnSApTPYtqXrIC7pQ8R9bTuRPy6H7LKqhcuhSTXSqw== X-Received: by 10.28.208.206 with SMTP id h197mr7439187wmg.17.1470487464067; Sat, 06 Aug 2016 05:44:24 -0700 (PDT) Received: from gourin.bzh.lan (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id pm1sm22683192wjb.40.2016.08.06.05.44.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 06 Aug 2016 05:44:22 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 6 Aug 2016 14:44:18 +0200 Message-Id: <1470487458-29015-1-git-send-email-yann.morin.1998@free.fr> X-Mailer: git-send-email 2.7.4 Cc: "Yann E. MORIN" , Philippe Proulx Subject: [Buildroot] [PATCH] package/lttng-libust: fix build with musl 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Backport two patches from upstream to fix build with musl. Fixes: http://autobuild.buildroot.org/results/dcb/dcb6c3aadf6f955016cf3c3f9b917cbec6d29342/ http://autobuild.buildroot.org/results/deb/deb80eea5ceae3e7f8e0549596dce2fb6a1e7596/ http://autobuild.buildroot.org/results/91e/91e64477864825c39911e3f3d0a2459f2987c209/ [...and a lot more...] Signed-off-by: "Yann E. MORIN" Cc: Philippe Proulx Cc: Samuel Martin --- package/lttng-libust/lttng-libust.hash | 4 ++++ package/lttng-libust/lttng-libust.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/package/lttng-libust/lttng-libust.hash b/package/lttng-libust/lttng-libust.hash index 57c7e00..1494acf 100644 --- a/package/lttng-libust/lttng-libust.hash +++ b/package/lttng-libust/lttng-libust.hash @@ -1,2 +1,6 @@ # http://www.lttng.org/files/lttng-ust/lttng-ust-2.7.1.tar.bz2.sha1 sha1 597ebecb885debb58c263de57f30b1096d4eefc6 lttng-ust-2.7.1.tar.bz2 + +# Locally computed +sha1 2e79c98e458b2e052930fb81441e6ca8377a2ed7 787364e8bac9a146f9d65c763633c2b75eb76463.patch +sha1 cf77ec415111f77573be7917d9b62d8e49dc6304 30307a67b48641875b122d8f832bbfb454e95d92.patch diff --git a/package/lttng-libust/lttng-libust.mk b/package/lttng-libust/lttng-libust.mk index 4a65057..61ffed4 100644 --- a/package/lttng-libust/lttng-libust.mk +++ b/package/lttng-libust/lttng-libust.mk @@ -10,6 +10,10 @@ LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2 LTTNG_LIBUST_LICENSE = LGPLv2.1, MIT (system headers), GPLv2 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond) LTTNG_LIBUST_LICENSE_FILES = COPYING +LTTNG_LIBUST_PATCH = \ + https://github.com/lttng/lttng-ust/commit/787364e8bac9a146f9d65c763633c2b75eb76463.patch \ + https://github.com/lttng/lttng-ust/commit/30307a67b48641875b122d8f832bbfb454e95d92.patch + LTTNG_LIBUST_INSTALL_STAGING = YES LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux