From patchwork Sun May 9 13:34:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1475968 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=smtp1.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.a=rsa-sha256 header.s=20161025 header.b=jMZ2fXxe; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FdQCs4Lj3z9tkD for ; Sun, 9 May 2021 23:35:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D0E3E83A8E; Sun, 9 May 2021 13:35:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id il4XZ9CXn9a7; Sun, 9 May 2021 13:35:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 2D79D83A6F; Sun, 9 May 2021 13:34:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 67AB91BF2C3 for ; Sun, 9 May 2021 13:34:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 56CBA4041D for ; Sun, 9 May 2021 13:34:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6hV-EhhtEacX for ; Sun, 9 May 2021 13:34:53 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by smtp4.osuosl.org (Postfix) with ESMTPS id 75B59403E9 for ; Sun, 9 May 2021 13:34:53 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id l13so13828189wru.11 for ; Sun, 09 May 2021 06:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hTzBCtKxLsIHV4v9attPVcld0eOINmHklpzIJ0bjU8o=; b=jMZ2fXxemMioVyb90UTz6I3foynGwNC2LTB/VCbP6LsWlQ85/kE42b35DU9N1ivl11 0K/k/RsdC655Ou5cn4va02sIrw2TflJr4kZ4evF+1YlbFCTzax8NQBeBBNiNHHAFLKIK owiOaIQYOFPdK9AJozEhtnkHUrpd6hnSMD+TEkf5Kd9Y4wOOJDoM/FNgKonAK7mhw5lr CsQcnMRwOcofe9xqu73sV8ylTvly8Fqr2Usc2iB17xIFtSauLZds+KD/9U2Z+Z07H0GP Uz55aCHne5qA9OXJSNPyvZGSJYri3umTVSY58HBhG3Q6ee/Y+/Ufp6VO0GwmmnfShDcm sZvw== 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:mime-version :content-transfer-encoding; bh=hTzBCtKxLsIHV4v9attPVcld0eOINmHklpzIJ0bjU8o=; b=eK+cl+aZlYZIJmzncaDcHWJrCPHcgZnZp1PpMeNYO/c7iOGq4E+UDNb1KJnXniSAwZ SEZD3NMzm8h02OFoUJZn2MtfTViRSmWbEK9tNIHFw33tBW5ZYtQUh/+z9GLSEPDtwqNH Ld4oleNcvT6q9jFK67g26kmx0FJohXt14tyLfTO3ndeFjN3vNozXii+KsLcnVhcJi7C3 GPausC0pkz1oEFHevgX8sKYOJhJyqZVFSbXYKztb7TgIZnhFhVdgKVsjhPwYFeGVoWV9 LLbPETfuM1xucvdg6Lel3Ml7RdcPdl5/p9rzAtdxphTggiJP0KjUuayaq/g0gpJGX+k0 ohaA== X-Gm-Message-State: AOAM53225qQmGgTZyHea9k6xwGrhiA+RBMo4QZkcksNHiP20VQ9ahBt8 36PGahwM4wcIr703SB0jF7Xe71YpmsM= X-Google-Smtp-Source: ABdhPJxh+z8c3TUqzIB4x5oAV6pBTetz4bzDbWXZqvcSczKOSaD3JNMa35UkTsznM8j3+2Fx+e6u1Q== X-Received: by 2002:adf:e40c:: with SMTP id g12mr24662678wrm.11.1620567291477; Sun, 09 May 2021 06:34:51 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id n124sm22550485wmn.40.2021.05.09.06.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 May 2021 06:34:51 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 9 May 2021 15:34:12 +0200 Message-Id: <20210509133412.1116330-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/putty: fix build on uclibc 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: Alexander Dahl , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fix build failure on uclibc raised since bump to version 0.75 in commit d562009f7b9701cb20bc4b1d389d19f9a647cc3b Fixes: - http://autobuild.buildroot.org/results/726f7c5ce13e78ed91e827b872e9d7ccfa13f298 Signed-off-by: Fabrice Fontaine --- ...1-unix-uxutils.h-fix-build-on-uclibc.patch | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch diff --git a/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch b/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch new file mode 100644 index 0000000000..78cef8b908 --- /dev/null +++ b/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch @@ -0,0 +1,41 @@ +From 3f30f3a7e3f07f5ca3cef0f405b02e22a018c6e4 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 9 May 2021 15:22:29 +0200 +Subject: [PATCH] unix/uxutils.h: fix build on uclibc + +Build on uclibc is broken since version 0.75 and commit +65383082bf0c49cec63f4b36001a40bd9b13edf6 because AT_HWCAP2 is used +even if is not available: + +unix/uxutils.c: In function 'platform_aes_hw_available': +unix/uxutils.c:13:22: error: 'AT_HWCAP2' undeclared (first use in this function) + 13 | return getauxval(AT_HWCAP2) & HWCAP2_AES; + | ^~~~~~~~~ + +To fix this build failure, include + +Fixes: + - http://autobuild.buildroot.org/results/726f7c5ce13e78ed91e827b872e9d7ccfa13f298 + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to Simon Tatham ] +--- + unix/uxutils.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/unix/uxutils.h b/unix/uxutils.h +index c9acff53..b80bf972 100644 +--- a/unix/uxutils.h ++++ b/unix/uxutils.h +@@ -18,6 +18,8 @@ + + #if defined __arm__ || defined __aarch64__ + ++#include ++ + #ifdef HAVE_SYS_TYPES_H + #include + #endif +-- +2.30.2 +