Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 639800 Details for
Bug 706684
app-portage/conf-update-1.0.3-r1 : 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]
conf-update-1.0.3-fno-common.patch
conf-update-1.0.3-fno-common.patch (text/plain), 1.67 KB, created by
Jeroen Roovers (RETIRED)
on 2020-05-17 10:27:32 UTC
(
hide
)
Description:
conf-update-1.0.3-fno-common.patch
Filename:
MIME Type:
Creator:
Jeroen Roovers (RETIRED)
Created:
2020-05-17 10:27:32 UTC
Size:
1.67 KB
patch
obsolete
>--- a/config.h >+++ b/config.h >@@ -1,6 +1,6 @@ > #define CONF_UPDATE_CONFIG_FILE "/etc/conf-update/conf-update.conf" > >-struct configuration { >+extern struct configuration { > bool automerge_trivial; > bool automerge_unmodified; > bool check_actions; >--- a/helpers.c >+++ b/helpers.c >@@ -184,7 +184,6 @@ > } > } > void sanity_checks() { >- extern struct configuration config; > unsigned int i; > FILE *pipe; > char *cmd = NULL; >--- a/core.c >+++ b/core.c >@@ -73,7 +73,6 @@ > } > > int show_diff(char *update) { >- extern struct configuration config; > char *realfile = get_real_filename(update); > char *esc_realfile = g_shell_quote(realfile); > char *esc_update = g_shell_quote(update); >@@ -98,7 +97,6 @@ > } > > int edit_update(char *update) { >- extern struct configuration config; > char *esc_update = g_shell_quote(update); > char *cmd = calloc(strlen(config.edit_tool) + strlen(" ") + strlen(esc_update), sizeof(char)); > int ret; >@@ -116,7 +114,6 @@ > char **merge_interactively(char *update, char **index) { > // customized versions are ._cfg????- with a minus instead of a underscore > // that way get_real_filename() works without modification >- extern struct configuration config; > char *realfile = get_real_filename(update); > char *esc_realfile = g_shell_quote(realfile); > char *esc_update = g_shell_quote(update); >--- a/config.c >+++ b/config.c >@@ -1,5 +1,7 @@ > #include "conf-update.h" > >+struct configuration config; >+ > bool get_boolean(GKeyFile *conffile, const char *key, bool default_value) { > GError *error = NULL; > bool value, invalid_value, key_not_found; >@@ -26,7 +28,6 @@ > } > > void read_config() { >- extern struct configuration config; > GKeyFile *conffile; > > // set reasonable defaults
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 706684
:
605334
|
605336
|
605338
|
605340
|
605342
|
605344
| 639800