From patchwork Thu Oct 1 21:09:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1375464 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.133; helo=hemlock.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=b6ld3Ptt; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C2Qjj2FmFz9sSC for ; Fri, 2 Oct 2020 07:09:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D69FD87247; Thu, 1 Oct 2020 21:09:26 +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 tpjhhcA3vfgD; Thu, 1 Oct 2020 21:09:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7FF2687258; Thu, 1 Oct 2020 21:09:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F35911BF389 for ; Thu, 1 Oct 2020 21:09:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EEA5B86B1A for ; Thu, 1 Oct 2020 21:09:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rB7KBRzWlBwH for ; Thu, 1 Oct 2020 21:09:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 8E8268442D for ; Thu, 1 Oct 2020 21:09:16 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id x23so94314wmi.3 for ; Thu, 01 Oct 2020 14:09:16 -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=7W3Alhrq5IpWo+bMNQxUJzXPmp7bFd+Q95ICL5BJstc=; b=b6ld3PttTFOQh4JjBU0lxtXIn6qLA9SifmDIO80BPUnvHc1w+eU0q4AN4FuoL5GuoX rjSQI57RGnQVJLr4wb13DCXbfqJWaUb43eKRfM1dxqkTxVmBl7m/GsCdV7a6fU+GWBaV 8syxc8fKPVArm/nRtLZ0dVaDb3J7cJKv0ASAeq4aUoVTPbaKjl9p1Thmw/FEUzzxlM7n S/thCP74+XW1iXQcXAu4jYwg4bNN8179X1r76WoBaMK85BnooOviZRVMDigUiJpN6yZp +05dfFE8+iodOfzGtjeIoh/TrIjeimU6Bx13LJYMGFQxqUbi8zH2n9V4wpCk4Pf49k9E bRGA== 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=7W3Alhrq5IpWo+bMNQxUJzXPmp7bFd+Q95ICL5BJstc=; b=Q3U0HUSUqfYH5DWKvRuaGNjOORnyoCRjR/Xby04F3jpmDg5cy0Uocy2MepFIj+UAFL 5g35BB+pq/eXVg3nymSZS6mY5zjkiEJrPCY3rSG/KxKS1VIqFBHQS7NkzY43xOyx4iPb OWb43ZVTiKna61m8Bt5rbR7IN9DT23pUyWunhq2hBu27vaxzlr9DZS0UCGMRE/e7HWSL zPdTsjn5MYaT3xhd1Mc9jYYvQBRUI4qJoDih72TDX2Kjx6U6Cul47gHcsIKuher3vS9u zg2kZhj5qhwrXkExEpkmTf3VIfckqmisldmiD40EEzvy9qhkb8p0vaAWgx0aChTESu0U IH2A== X-Gm-Message-State: AOAM530FB//KnkVvf2p/KS7NDG+KewfwiE+PP+SUN5brE0Ztl0nJhx8z UZxGRfRwTdx2vRmXpnZxTJYUqPGvaOz7Pg== X-Google-Smtp-Source: ABdhPJwOD4q26BAqQ36aiD+gPrgoey8TpWAfo742JKqJTlyGl7SqDEWGDruxzFiab019p2cWts705A== X-Received: by 2002:a05:600c:2155:: with SMTP id v21mr1993559wml.118.1601586554622; Thu, 01 Oct 2020 14:09:14 -0700 (PDT) Received: from kali.home (lfbn-ren-1-336-106.w2-10.abo.wanadoo.fr. [2.10.17.106]) by smtp.gmail.com with ESMTPSA id y207sm1668098wmc.17.2020.10.01.14.09.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 14:09:13 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Thu, 1 Oct 2020 23:09:08 +0200 Message-Id: <20201001210908.2025791-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/netatalk: 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 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/c3381fd3072901871fdd491dc3d4f66e403c7a70 Signed-off-by: Fabrice Fontaine --- ...iple-def-of-invalid_dircache_entries.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch diff --git a/package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch b/package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch new file mode 100644 index 0000000000..e7ccc52553 --- /dev/null +++ b/package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch @@ -0,0 +1,25 @@ +From 32df6e155ccfc83216321925273c3e75e631ebe6 Mon Sep 17 00:00:00 2001 +From: Andrew Bauer +Date: Wed, 22 Jan 2020 09:59:47 -0600 +Subject: [PATCH] fix ftbs multiple def of invalid_dircache_entries + +[Retrieved from: +https://github.com/Netatalk/Netatalk/pull/125/commits/32df6e155ccfc83216321925273c3e75e631ebe6] +Signed-off-by: Fabrice Fontaine +--- + etc/afpd/directory.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/afpd/directory.h b/etc/afpd/directory.h +index eb89c606..81bfa9cb 100644 +--- a/etc/afpd/directory.h ++++ b/etc/afpd/directory.h +@@ -91,7 +91,7 @@ struct maccess { + #define AR_UWRITE (1<<2) + #define AR_UOWN (1<<7) + +-q_t *invalid_dircache_entries; ++extern q_t *invalid_dircache_entries; + + typedef int (*dir_loop)(struct dirent *, char *, void *); +