FreeBSD Bugzilla – Attachment 217326 Details for
Bug 248741
net/mpd5: Fix build with -fno-common (clang 11 and gcc 10)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build with -fno-common (clang 11 and gcc 10)
net__mpd5-fix-common-1.diff (text/plain), 1.77 KB, created by
Dimitry Andric
on 2020-08-18 21:11:59 UTC
(
hide
)
Description:
Fix build with -fno-common (clang 11 and gcc 10)
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2020-08-18 21:11:59 UTC
Size:
1.77 KB
patch
obsolete
>Index: net/mpd5/files/patch-src_auth.c >=================================================================== >--- net/mpd5/files/patch-src_auth.c (nonexistent) >+++ net/mpd5/files/patch-src_auth.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/auth.c.orig 2016-01-06 15:42:06 UTC >++++ src/auth.c >+@@ -97,6 +97,8 @@ enum { >+ * GLOBAL VARIABLES >+ */ >+ >++struct radiusconf radius; /* RADIUS configuration */ >++ >+ const struct cmdtab AuthSetCmds[] = { >+ {"max-logins {num} [CI]", "Max concurrent logins", >+ AuthSetCommand, NULL, 2, (void *)SET_MAX_LOGINS}, > >Property changes on: net/mpd5/files/patch-src_auth.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net/mpd5/files/patch-src_auth.h >=================================================================== >--- net/mpd5/files/patch-src_auth.h (nonexistent) >+++ net/mpd5/files/patch-src_auth.h (working copy) >@@ -0,0 +1,11 @@ >+--- src/auth.h.orig 2016-01-06 15:42:06 UTC >++++ src/auth.h >+@@ -240,7 +240,7 @@ struct auth { >+ }; >+ typedef struct auth *Auth; >+ >+-struct radiusconf radius; /* RADIUS configuration */ >++extern struct radiusconf radius; /* RADIUS configuration */ >+ >+ /* >+ * Interface between the auth-backend (secret file, RADIUS, etc.) and Mpd's > >Property changes on: net/mpd5/files/patch-src_auth.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 248741
: 217326