From patchwork Mon Aug 31 19:57:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1354565 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=umH9mmBy; 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 4BgLbf0g9hz9sPB for ; Tue, 1 Sep 2020 05:58:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 81F8385FA3; Mon, 31 Aug 2020 19:58:02 +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 Wah7rXbRu_D1; Mon, 31 Aug 2020 19:58:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DC3F185F93; Mon, 31 Aug 2020 19:58:00 +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 590D21BF300 for ; Mon, 31 Aug 2020 19:57:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 29050228EA for ; Mon, 31 Aug 2020 19:57: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 XnNNYxPDwN8g for ; Mon, 31 Aug 2020 19:57:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by silver.osuosl.org (Postfix) with ESMTPS id 956FD20512 for ; Mon, 31 Aug 2020 19:57:57 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id a17so6280360wrn.6 for ; Mon, 31 Aug 2020 12:57:57 -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=6zeEJa4dQXqos9XWpYUaynMGuZvng0l8s7ab9LTaBUo=; b=umH9mmBynIIv452yCca5GN6JZ6Bo90F1bBjeglpngJL1+Tp/VV6QRoQkSn5UgJl126 sMwyPoP1NJyUYNl8U+QHmHOF9TzdAXoHhpSGWrw20LgthVGA1iyy4oNZBguVJmYQ9A6l 4uEi3n2YUTeNMM2GmCN7axDcO5LEJs0CntXz9zMJ7A/oxf4DQ/lHPPWk3OGdKRJ/H6+K xQUUFAzgC46Zkxp0shqcJXdT/nLAuY8bq+0imCgJP4bYoGrv+Rlc/Dq+T5/xc0H72d8h wjALY+okdtQgQocJ5oCGQeWfo1sUCjYu/1XAnyDf1sKv7u8GjfXxkxHbCSWXJE5qBALC cujw== 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=6zeEJa4dQXqos9XWpYUaynMGuZvng0l8s7ab9LTaBUo=; b=ovBVBOxXYVooe263ZPhpaHEBqjL8WEPhXaq6LTot/j0iHE2HpvmxSHZM38mR69m1rN imq9Ku0rgQN39LsVdJLD/Rc0VdrWCo+MWDKxVBXsl7TVw2CsKzwxvwwKJjxNc2AzSBLB Ip+zZpc2eqBQ0JsxkaBDKTAZhc8jRF9HzugDvGUtzdY/CK6jQXxtSG0UhpIzgtgl3ng4 Hrqow9c4ih+MiU4MKnduXNFJZ2BRrMFg51Utjtm/C6eP2E8CsJQkeG0WvJoh+S3pG2+H gsZfJgU6ayvxMbsSahIb1xWF3UVV+OZZedg0UTObdKuoC88WZOW6LcWSk4K+9SNNQvZm kYRg== X-Gm-Message-State: AOAM53148Rl1QbwWl+TihMQbazRy1gLhR9dUgFUmc2iPiBXM7WHfNt2Q WQDYZHa7G7bnyK228Gq9D4Q+i+39qrI= X-Google-Smtp-Source: ABdhPJwtlEHNicejy2KIuy7RpTaH+ggsLYAYmK2fq4leTgx5hA8+pZmmSXA1YOTpjkcw8W78sjHlIQ== X-Received: by 2002:a5d:494b:: with SMTP id r11mr3186618wrs.419.1598903875604; Mon, 31 Aug 2020 12:57:55 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id p16sm13365553wro.71.2020.08.31.12.57.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 12:57:54 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Mon, 31 Aug 2020 21:57:44 +0200 Message-Id: <20200831195744.2044864-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/pixz: 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: Fabrice Fontaine , =?utf-8?q?Vincent_Stehl?= =?utf-8?q?=C3=A9?= Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/0c61743d4a022215317e57e35a00f0fa3d16ad62 Signed-off-by: Fabrice Fontaine --- package/pixz/0001-fix-linkage.patch | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 package/pixz/0001-fix-linkage.patch diff --git a/package/pixz/0001-fix-linkage.patch b/package/pixz/0001-fix-linkage.patch new file mode 100644 index 0000000000..712c280ec2 --- /dev/null +++ b/package/pixz/0001-fix-linkage.patch @@ -0,0 +1,41 @@ +From f385e7be8adb620ca7eb89f84abe4d1df94c1029 Mon Sep 17 00:00:00 2001 +From: Dave Vasilevsky +Date: Sat, 25 Apr 2020 19:16:05 -0400 +Subject: [PATCH] fix linkage + +[Retrieved from: +https://github.com/vasi/pixz/commit/f385e7be8adb620ca7eb89f84abe4d1df94c1029] +Signed-off-by: Fabrice Fontaine +--- + src/common.c | 2 +- + src/pixz.h | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/common.c b/src/common.c +index 59d3273..5938633 100644 +--- a/src/common.c ++++ b/src/common.c +@@ -7,7 +7,7 @@ + + #pragma mark UTILS + +-FILE *gInFile = NULL; ++FILE *gInFile = NULL, *gOutFile = NULL; + lzma_stream gStream = LZMA_STREAM_INIT; + + +diff --git a/src/pixz.h b/src/pixz.h +index 0fa60f2..0939a9a 100644 +--- a/src/pixz.h ++++ b/src/pixz.h +@@ -54,8 +54,8 @@ void pixz_read(bool verify, size_t nspecs, char **specs); + + #pragma mark UTILS + +-FILE *gInFile, *gOutFile; +-lzma_stream gStream; ++extern FILE *gInFile, *gOutFile; ++extern lzma_stream gStream; + + extern lzma_index *gIndex; +