Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 620708 Details for
Bug 707364
app-shells/dash-0.5.10.2 USE=libedit - ld: input.o:(.bss+0x0): multiple definition of `el'; histedit.o:(.bss+0x8): first defined here
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-input-Fix-compiling-against-libedit-with-fno-common.patch
0001-input-Fix-compiling-against-libedit-with-fno-common.patch (text/plain), 1.06 KB, created by
Jeroen Roovers (RETIRED)
on 2020-03-16 19:24:09 UTC
(
hide
)
Description:
0001-input-Fix-compiling-against-libedit-with-fno-common.patch
Filename:
MIME Type:
Creator:
Jeroen Roovers (RETIRED)
Created:
2020-03-16 19:24:09 UTC
Size:
1.06 KB
patch
obsolete
>From 4459ec7f6cd394b9d01bd9d537b0f04975583dff Mon Sep 17 00:00:00 2001 >From: Jeroen Roovers <jer@gentoo.org> >Date: Mon, 16 Mar 2020 19:25:00 +0100 >Subject: [PATCH] input: Fix compiling against libedit with -fno-common >To: dash@vger.kernel.org > >With -fno-common, which will be enabled by default in GCC 10, we see >this error: > >ld: input.o:(.bss+0x0): multiple definition of `el'; >histedit.o:(.bss+0x8): first defined here > >To fix this, simply remove the definition as it is not needed. > >Signed-off-by: Jeroen Roovers <jer@gentoo.org> >--- > src/input.c | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/src/input.c b/src/input.c >index ae0c4c8..e84eca8 100644 >--- a/src/input.c >+++ b/src/input.c >@@ -67,10 +67,6 @@ MKINIT char basebuf[IBUFSIZ]; /* buffer for top level input file */ > struct parsefile *parsefile = &basepf; /* current input file */ > int whichprompt; /* 1 == PS1, 2 == PS2 */ > >-#ifndef SMALL >-EditLine *el; /* cookie for editline package */ >-#endif >- > STATIC void pushfile(void); > static int preadfd(void); > static void setinputfd(int fd, int push); >-- >2.25.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 707364
:
608590
|
608592
|
620706
| 620708