Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 657758 Details for
Bug 739898
dev-libs/light-1.2-r1 w/ gcc-10: multiple definition of `light_loglevel'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch fixing the problem
light-1.2-gcc-10.patch (text/plain), 793 bytes, created by
Petr Zima
on 2020-09-01 14:49:23 UTC
(
hide
)
Description:
patch fixing the problem
Filename:
MIME Type:
Creator:
Petr Zima
Created:
2020-09-01 14:49:23 UTC
Size:
793 bytes
patch
obsolete
>diff -ur light-1.2.orig/src/helpers.c light-1.2/src/helpers.c >--- light-1.2.orig/src/helpers.c 2018-09-23 20:51:11.000000000 +0200 >+++ light-1.2/src/helpers.c 2020-09-01 16:31:59.401674083 +0200 >@@ -9,6 +9,8 @@ > #include <errno.h> // errno > #include <libgen.h> // dirname > >+light_loglevel_t light_loglevel; >+ > > bool light_file_read_uint64(char const *filename, uint64_t *val) > { >diff -ur light-1.2.orig/src/helpers.h light-1.2/src/helpers.h >--- light-1.2.orig/src/helpers.h 2018-09-23 20:51:11.000000000 +0200 >+++ light-1.2/src/helpers.h 2020-09-01 16:31:47.304750289 +0200 >@@ -21,7 +21,7 @@ > LIGHT_NOTE_LEVEL > } light_loglevel_t; > >-light_loglevel_t light_loglevel; >+extern light_loglevel_t light_loglevel; > > #define LIGHT_LOG(lvl, fp, fmt, args...)\ > if (light_loglevel >= lvl)\
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 739898
: 657758