From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/mongrel2: fix build with gcc 10
Date: Sat, 5 Sep 2020 14:42:03 +0200 [thread overview]
Message-ID: <20200905124203.560735-2-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20200905124203.560735-1-fontaine.fabrice@gmail.com>
Fixes:
- http://autobuild.buildroot.org/results/858488774503c6cc6a5489bc1e080562f5fc6461
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...ition-error-when-building-with-gcc10.patch | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 package/mongrel2/0004-fix-multiple-definition-error-when-building-with-gcc10.patch
diff --git a/package/mongrel2/0004-fix-multiple-definition-error-when-building-with-gcc10.patch b/package/mongrel2/0004-fix-multiple-definition-error-when-building-with-gcc10.patch
new file mode 100644
index 0000000000..e1b5788494
--- /dev/null
+++ b/package/mongrel2/0004-fix-multiple-definition-error-when-building-with-gcc10.patch
@@ -0,0 +1,25 @@
+From c51815b10c39c6e802bd1b56549f1d479b480fcc Mon Sep 17 00:00:00 2001
+From: Andrew Sun <adsun701@gmail.com>
+Date: Sat, 18 Jul 2020 09:11:11 -0400
+Subject: [PATCH] fix multiple definition error when building with gcc10
+
+[Retrieved from:
+https://github.com/mongrel2/mongrel2/pull/343/commits/c51815b10c39c6e802bd1b56549f1d479b480fcc]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ src/unixy.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/unixy.h b/src/unixy.h
+index 045e7c28..4225220c 100644
+--- a/src/unixy.h
++++ b/src/unixy.h
+@@ -38,7 +38,7 @@
+ #include <bstring.h>
+ #include <unistd.h>
+
+-char *m2program;
++extern char *m2program;
+
+ int Unixy_chroot(bstring path);
+
--
2.28.0
next prev parent reply other threads:[~2020-09-05 12:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-05 12:42 [Buildroot] [PATCH 1/2] package/mongrel2: renumber patches Fabrice Fontaine
2020-09-05 12:42 ` Fabrice Fontaine [this message]
2020-09-09 20:39 ` [Buildroot] [PATCH 2/2] package/mongrel2: fix build with gcc 10 Peter Korsgaard
2020-09-06 7:50 ` [Buildroot] [PATCH 1/2] package/mongrel2: renumber patches Yann E. MORIN
2020-09-09 20:39 ` Peter Korsgaard
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=20200905124203.560735-2-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/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