mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
* Add patch to fix meaning of USE udev * Fix file collisions * Fix fno-fcommon build issue Closes: https://bugs.gentoo.org/673520 Closes: https://bugs.gentoo.org/709636 Closes: https://bugs.gentoo.org/739896 Reported-by: Petr Zima <zima@matfyz.cz> Signed-off-by: Aaron Bauman <bman@gentoo.org>
23 lines
483 B
Diff
23 lines
483 B
Diff
--- a/src/helpers.c
|
|
+++ b/src/helpers.c
|
|
@@ -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)
|
|
{
|
|
--- a/src/helpers.h
|
|
+++ b/src/helpers.h
|
|
@@ -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)\
|