Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 610148 Details for
Bug 707618
net-ftp/frox-0.7.18-r6: stabilisation (was: fails to build with -fno-common or gcc-10)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
frox-0.7.18-no-common.patch
frox-no-common.patch (text/plain), 1.61 KB, created by
Marek Behún
on 2020-02-01 01:11:18 UTC
(
hide
)
Description:
frox-0.7.18-no-common.patch
Filename:
MIME Type:
Creator:
Marek Behún
Created:
2020-02-01 01:11:18 UTC
Size:
1.61 KB
patch
obsolete
>Fix compilation with -fno-common (default for GCC 10) > >Signed-off-by: Marek Behún kabel@blackhole.sk> >--- >diff --git a/lib/sstrlib/sstr_private.h b/lib/sstrlib/sstr_private.h >--- a/lib/sstrlib/sstr_private.h >+++ b/lib/sstrlib/sstr_private.h >@@ -32,6 +32,6 @@ struct _sstr { > }; > > int sstr_alloc_space(sstr * p, int len); >-void (*on_error) (void); >+extern void (*on_error) (void); > > #endif /*SSTR_PRIVATE_H */ >diff --git a/src/common.h b/src/common.h >--- a/src/common.h >+++ b/src/common.h >@@ -184,7 +184,7 @@ typedef struct _session_info { > /******************* > **Global Variables** > ********************/ >-session_info *info; >+extern session_info *info; > extern pid_t cmgrpid, tdatapid; > > #endif /* COMMON_H */ >diff --git a/src/ftp-cmds.c b/src/ftp-cmds.c >--- a/src/ftp-cmds.c >+++ b/src/ftp-cmds.c >@@ -38,6 +38,8 @@ void xfer_command(sstr * cmd, sstr * arg > void cwd_command(sstr * cmd, sstr * arg); > void pasv_reply(sstr * msg); > >+struct cmd_struct *ftp_cmds; >+ > void ftpcmds_init() > { > static struct cmd_struct list[] = { /*Pinched in part SUSE */ >diff --git a/src/ftp-cmds.h b/src/ftp-cmds.h >--- a/src/ftp-cmds.h >+++ b/src/ftp-cmds.h >@@ -33,7 +33,7 @@ struct cmd_struct { > void (*cmd) (sstr * cmd, sstr * arg); > }; > >-struct cmd_struct *ftp_cmds; >+extern struct cmd_struct *ftp_cmds; > void user_munge(sstr * cmd, sstr * arg); > > >diff --git a/src/main.c b/src/main.c >--- a/src/main.c >+++ b/src/main.c >@@ -62,6 +62,8 @@ static struct client_info { > void add_client(pid_t, struct sockaddr_in client); > void rm_client(pid_t pid); > >+session_info *info; >+ > #ifdef ENABLE_CHANGEPROC > int main(int argc, char *argv[], char *envp[]) > #else
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 707618
:
609704
|
609706
|
609708
|
609710
|
609712
|
609714
|
609716
| 610148