From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.benfm.de ([2a01:238:43b6:7d00:6e8f:5a82:3ff1:eb67] helo=h2734822.stratoserver.net) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3c3V-0004OX-Jk for ptxdist@pengutronix.de; Sun, 24 Jan 2021 10:51:38 +0100 From: flix.ptxdist@benfm.de Date: Sun, 24 Jan 2021 10:51:13 +0100 Message-Id: <20210124095113.13354-1-flix.ptxdist@benfm.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] Added patch to allow compiling ifplugd-0.28 using GCC10 (i.e. OSELAS.Toolchain 2020.08.0) List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Felix Mellmann , Felix Mellmann From: Felix Mellmann Signed-off-by: Felix Mellmann --- .../ifplugd-0.28/fix-GCC10-compatibility.patch | 15 +++++++++++++++ patches/ifplugd-0.28/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 patches/ifplugd-0.28/fix-GCC10-compatibility.patch diff --git a/patches/ifplugd-0.28/fix-GCC10-compatibility.patch b/patches/ifplugd-0.28/fix-GCC10-compatibility.patch new file mode 100644 index 000000000..d27657f2f --- /dev/null +++ b/patches/ifplugd-0.28/fix-GCC10-compatibility.patch @@ -0,0 +1,15 @@ +Index: ifplugd-0.28/src/interface.h +=================================================================== +--- ifplugd-0.28.orig/src/interface.h ++++ ifplugd-0.28/src/interface.h +@@ -21,8 +21,8 @@ + * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ + +-int interface_auto_up; +-int interface_do_message; ++extern int interface_auto_up; ++extern int interface_do_message; + + typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t; + diff --git a/patches/ifplugd-0.28/series b/patches/ifplugd-0.28/series index f093c5e62..1b2f70e44 100644 --- a/patches/ifplugd-0.28/series +++ b/patches/ifplugd-0.28/series @@ -1 +1,2 @@ ifplugd-fix-include.diff +fix-GCC10-compatibility.patch -- 2.25.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de