From: Peter Korsgaard Date: Sun, 23 Feb 2020 17:35:03 +0100 Subject: [Buildroot] [PATCH] package/tpm2-tss: wip: bump to version 2.3.3 In-Reply-To: <20200223084000.GI8743@scaer> (Yann E. MORIN's message of "Sun, 23 Feb 2020 09:40:00 +0100") References: <20200220214530.20200-1-peter@korsgaard.com> <20200223084000.GI8743@scaer> Message-ID: <87o8tp1cug.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Yann" == Yann E MORIN writes: > Peter, All, > Title fixed. Thanks ;) > On 2020-02-20 22:45 +0100, Peter Korsgaard spake thusly: >> Bugfix release, fixing a number of issues: > [--SNIP--] >> Signed-off-by: Peter Korsgaard > [--SNIP--] >> diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk >> index 08090204ff..470020857a 100644 >> --- a/package/tpm2-tss/tpm2-tss.mk >> +++ b/package/tpm2-tss/tpm2-tss.mk > [--SNIP--] >> @@ -17,4 +17,13 @@ TPM2_TSS_AUTORECONF = YES >> # uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used >> TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" >> >> +# The 2.3.3 tarball accidently contains a Makefile-fuzz-generated.am >> +# with content from a fuzz testing run rather than an empty file, >> +# confusing autoreconf with >> +# 0001-configure-Only-use-CXX-when-fuzzing.patch >> +define TPM2_TSS_TRUNCATE_MAKEFILE_FUZZ_GENERATED_AM >> + truncate -s 0 $(@D)/Makefile-fuzz-generated.am > Use of truncate is rather heavy-handed here... > printf '' >$(@D)/Makefile-fuzz-generated.am True - But as truncate is part of coreutils it should be fine. > But I just applied to master as-is, thanks. Thanks! -- Bye, Peter Korsgaard