From: flix.ptxdist@benfm.de
To: ptxdist@pengutronix.de
Cc: Felix Mellmann <flix@benfm.de>, Felix Mellmann <flix.ptxdist@benfm.de>
Subject: [ptxdist] [PATCH] Added patch to allow compiling ifplugd-0.28 using GCC10 (i.e. OSELAS.Toolchain 2020.08.0)
Date: Sun, 24 Jan 2021 10:51:13 +0100 [thread overview]
Message-ID: <20210124095113.13354-1-flix.ptxdist@benfm.de> (raw)
From: Felix Mellmann <flix@benfm.de>
Signed-off-by: Felix Mellmann <flix.ptxdist@benfm.de>
---
.../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
next reply other threads:[~2021-01-24 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 9:51 flix.ptxdist [this message]
2021-01-25 7:17 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210124095113.13354-1-flix.ptxdist@benfm.de \
--to=flix.ptxdist@benfm.de \
--cc=flix@benfm.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox