From patchwork Sat Jan 2 00:13:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?UTF-8?q?No=C3=A9=20Rubinstein?= X-Patchwork-Id: 562070 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id C1100140B04 for ; Sat, 2 Jan 2016 22:14:00 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=fgO3Pcua; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1A082320AB; Sat, 2 Jan 2016 11:13:59 +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 sPSs8rCKwcdF; Sat, 2 Jan 2016 11:13:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 32EF3310AB; Sat, 2 Jan 2016 11:13:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 0D5FF1C0B99 for ; Sat, 2 Jan 2016 11:13:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 05A6886DC3 for ; Sat, 2 Jan 2016 11:13:54 +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 WVpNiK121v_o for ; Sat, 2 Jan 2016 11:13:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 54EB086D9D for ; Sat, 2 Jan 2016 11:13:52 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id l65so119186768wmf.1 for ; Sat, 02 Jan 2016 03:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=wTC5l4kAeht5GTA9SEDSSBuDv1X7+cixTzQvLRXilgU=; b=fgO3Pcuakb9JnW+j4IBlC95E9qJ8Aonb1xoXytBgVFVYGgYEi2+3xwfDczyqr5Cc3z D5MUMZ0mSEp2pHfLceVXd8xH5nRJ5h7PFR2Tsxy1xGEtVSM3+XgQHRwd9nt7Zt1omTQ9 XcZnlpAuNOV7v7YHRB+0Ovaz7nsSyp9SEzl3hp2Jr5fBRsuorkvpI4niniuLhDqQKzZK VQsP/lIyZikQJP+67IPgTDzW/57XPH4q5JsSCG3xjTw1cJAdjF9kFfCSD9+8Fa59VdH0 w7i+TcFOrZBDFZdv9k5+o34yeB69khtRPv21U8wER0YQGQxA9LwMVRVUbUwQd74yg83N vxZA== X-Received: by 10.194.185.42 with SMTP id ez10mr100440155wjc.82.1451733230991; Sat, 02 Jan 2016 03:13:50 -0800 (PST) Received: from localhost.localdomain ([37.163.188.197]) by smtp.gmail.com with ESMTPSA id jm4sm76703178wjb.7.2016.01.02.03.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Jan 2016 03:13:50 -0800 (PST) From: =?UTF-8?q?No=C3=A9=20Rubinstein?= To: buildroot@buildroot.org Date: Sat, 2 Jan 2016 12:13:30 +0100 Message-Id: <1451733210-11293-1-git-send-email-noe.rubinstein@gmail.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Cc: Thomas Petazzoni , =?UTF-8?q?No=C3=A9=20Rubinstein?= Subject: [Buildroot] [PATCH v2] tpm-tools: fix build failures caused by -Werror 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 fixes this build failure (and many others): http://autobuild.buildroot.org/results/d56/d56bfc69ef0a478219c959d50fb96d526fc2155e/ The build failure is caused by the build system using -Werror; this is already patched upstream, so this commit just imports the upstream patch. Signed-off-by: NoƩ Rubinstein --- .../0002-configure.in-remove-Werror.patch | 27 ++++++++++++++++++++++ package/tpm-tools/tpm-tools.mk | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 package/tpm-tools/0002-configure.in-remove-Werror.patch diff --git a/package/tpm-tools/0002-configure.in-remove-Werror.patch b/package/tpm-tools/0002-configure.in-remove-Werror.patch new file mode 100644 index 0000000..c101a95 --- /dev/null +++ b/package/tpm-tools/0002-configure.in-remove-Werror.patch @@ -0,0 +1,27 @@ +From b060873f444d79f3f5aa388427cb1ede6665834a Mon Sep 17 00:00:00 2001 +From: Kent Yoder +Date: Mon, 5 Nov 2012 14:58:31 -0600 +Subject: [PATCH] configure.in: remove -Werror + +Signed-off-by: Kent Yoder +Signed-off-by: Noe Rubinstein +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index da170d0..0f175be 100644 +--- a/configure.in ++++ b/configure.in +@@ -138,7 +138,7 @@ AC_TYPE_SIZE_T + AC_TYPE_SIGNAL + AC_TYPE_UID_T + +-CFLAGS="$CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare" ++CFLAGS="$CFLAGS -Wall -Wreturn-type -Wsign-compare" + + AC_CONFIG_FILES(./Makefile \ + po/Makefile.in \ +-- +2.1.4 + diff --git a/package/tpm-tools/tpm-tools.mk b/package/tpm-tools/tpm-tools.mk index 9dd844d..d196e89 100644 --- a/package/tpm-tools/tpm-tools.mk +++ b/package/tpm-tools/tpm-tools.mk @@ -12,7 +12,7 @@ TPM_TOOLS_LICENSE = Common Public License Version 1.0 TPM_TOOLS_LICENSE_FILES = LICENSE TPM_TOOLS_DEPENDENCIES = trousers openssl \ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) -# lib/Makefile.am is patched +# configure.in and lib/Makefile.am is patched TPM_TOOLS_AUTORECONF = YES TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support