From patchwork Thu Jun 25 00:58:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Urja Rannikko X-Patchwork-Id: 1316674 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.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.a=rsa-sha256 header.s=20161025 header.b=UEjfjle1; 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 49shV11s42z9sSJ for ; Thu, 25 Jun 2020 10:58:46 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 976E585F8C; Thu, 25 Jun 2020 00:58:44 +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 ljW3ZGmG0qOR; Thu, 25 Jun 2020 00:58:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 19325861A3; Thu, 25 Jun 2020 00:58:44 +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 5480A1BF980 for ; Thu, 25 Jun 2020 00:58:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4BBDF87860 for ; Thu, 25 Jun 2020 00:58:42 +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 4g-zgeDR-yho for ; Thu, 25 Jun 2020 00:58:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ej1-f67.google.com (mail-ej1-f67.google.com [209.85.218.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5B63287850 for ; Thu, 25 Jun 2020 00:58:41 +0000 (UTC) Received: by mail-ej1-f67.google.com with SMTP id p20so4220551ejd.13 for ; Wed, 24 Jun 2020 17:58:41 -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=ZfctV+ldq4oyZDzRcIAEfB/RT2bnjKK9iuKyWeUtfB0=; b=UEjfjle1rzxCd8jIVu+Edg8dNYKHe2/fY4LB57DgymwmixCEIHjJV8TmLnD5RL1q0T xiCw4SPNTbcOXeyryxsXVQlYu/eW+ZhBNuR9ugvzQvcPLfvqEhQbnejV+ZUtHDykOsoH m5yvU2b/pNShgwlOTe+VWm3IBLy+4K1Kb4QISCT37u5uu/snL7GNxhcENoR3o3xQoMZ4 sb/Ubw1r1/E244ICh17Fwws99rZM4r0SqECCmmpW/pJtl6daTN+7im7wIglcrzb6MRJ3 l5YfAQifJfjQooX/xyCfuwwFHYGTeLeqzLuGMtyPgl/YO0TdJuIWdtQrBrRPJ20Fecyd yqRg== 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=ZfctV+ldq4oyZDzRcIAEfB/RT2bnjKK9iuKyWeUtfB0=; b=Kgjd00FFe7HqqiojIGhYchHOBd5lHAcK+nBTk0YTg6b7MA5U11uWdFxatMC/Zv5bzN PFkqedLzWtKTVtvpkGBbQtg1M8MrNhhunQMK9U7KwfIcP2qadz6XwbwfIiLlSQrEsEce TFCdaDhP4HrNt6UhwVbuPbR7MfRwntwIJT2rC4ywieyz8NeZErnW+uT7mXmAKd3pJrG0 a2DdMNXzhPZdbRP2hzaD2JJEjHYyl1sqIcnYaDpG8+JEpAPS00ixjEVOG3vHpQB07BP2 32gNgiBAYUMqZdz0ldc2MHI2esWAjDiyzDnJCBYIeQWv+86To7+XUmn1tDycPI632eaw c2Lg== X-Gm-Message-State: AOAM532MGAUIdLCSU7UTyyb0Z7maxEzMDM/QAP6Q9fp9r4ESjqG+2HpU 5plFGCmMxfAeUxL+kwJx5adnjHc= X-Google-Smtp-Source: ABdhPJzdAkdkc2boiOTU24UI7o7Ca3PN2IPPNgHanijA3LKH7PrOk5g10KlYtYn/AwfAOfwFGfpLuA== X-Received: by 2002:a17:906:c831:: with SMTP id dd17mr27214598ejb.40.1593046719400; Wed, 24 Jun 2020 17:58:39 -0700 (PDT) Received: from phenom.bananas (esm-84-240-82-184.netplaza.fi. [84.240.82.184]) by smtp.gmail.com with ESMTPSA id cx13sm17124120edb.20.2020.06.24.17.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 17:58:38 -0700 (PDT) From: Urja Rannikko To: buildroot@buildroot.org Date: Thu, 25 Jun 2020 03:58:36 +0300 Message-Id: <20200625005836.2232591-1-urjaman@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/cdrkit: fix build with GCC 10 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: Urja Rannikko , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch adds a missing extern on the outfile variable in genisoimage.h. Signed-off-by: Urja Rannikko Tested-by: Heiko Thiery --- Note: I would like to see this applied to the LTS 2020.02 branch too, since it fixes building host-cdrkit for ISO9660 generation with a host GCC 10. .../cdrkit/0003-genisoimage-outfile-extern.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/cdrkit/0003-genisoimage-outfile-extern.patch diff --git a/package/cdrkit/0003-genisoimage-outfile-extern.patch b/package/cdrkit/0003-genisoimage-outfile-extern.patch new file mode 100644 index 0000000000..5a9f0363c9 --- /dev/null +++ b/package/cdrkit/0003-genisoimage-outfile-extern.patch @@ -0,0 +1,13 @@ +diff --git a/genisoimage/genisoimage.h b/genisoimage/genisoimage.h +index bbedfb0..82c859b 100644 +--- a/genisoimage/genisoimage.h ++++ b/genisoimage/genisoimage.h +@@ -376,7 +376,7 @@ extern int use_fileversion; + extern int split_SL_component; + extern int split_SL_field; + extern char *trans_tbl; +-char *outfile; ++extern char *outfile; + + #define JMAX 64 /* maximum Joliet file name length (spec) */ + #define JLONGMAX 103 /* out of spec Joliet file name length */