diff options
| author | Stan Grishin <stangri@melmac.net> | 2021-05-29 20:12:08 +0000 |
|---|---|---|
| committer | Stan Grishin <stangri@melmac.net> | 2021-05-29 20:12:08 +0000 |
| commit | cf75ad2e6c5bde352dc57fd70f047e4bbe9fefe4 (patch) | |
| tree | 5553d8cee1f493d6a837b1deb81f19a4f62148ba /net/https-dns-proxy/patches | |
| parent | f8843d2458e7ab9294af10b60468d0aad3c219cf (diff) | |
https-dns-proxy: update to 2021-05-14-1; bugfixes for dhcp server backup
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'net/https-dns-proxy/patches')
| -rw-r--r-- | net/https-dns-proxy/patches/010-ninja.patch | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/net/https-dns-proxy/patches/010-ninja.patch b/net/https-dns-proxy/patches/010-ninja.patch index 2f29bdbd6..ffe108350 100644 --- a/net/https-dns-proxy/patches/010-ninja.patch +++ b/net/https-dns-proxy/patches/010-ninja.patch @@ -1,17 +1,7 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -5,7 +5,6 @@ set(CMAKE_BUILD_TYPE "Debug") - #set(CMAKE_BUILD_TYPE "Release") - - #set(CMAKE_C_FLAGS "-Wall -Wextra --pedantic -Wno-strict-aliasing") --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(notdir $<)\"'") - set(CMAKE_C_FLAGS_DEBUG "-g") - set(CMAKE_C_FLAGS_RELEASE "-O2") - --- a/src/logging.h +++ b/src/logging.h -@@ -34,6 +34,20 @@ enum _LogSeverity { - LOG_FATAL = 4, +@@ -36,6 +36,20 @@ enum _LogSeverity { + LOG_MAX }; +#define STRIPPATH(s)\ @@ -28,6 +18,6 @@ + +#define __FILENAME__ STRIPPATH(__FILE__) + - // Debug, Info, Warning, Error logging. #define DLOG(...) _log(__FILENAME__, __LINE__, LOG_DEBUG, __VA_ARGS__) #define ILOG(...) _log(__FILENAME__, __LINE__, LOG_INFO, __VA_ARGS__) + #define WLOG(...) _log(__FILENAME__, __LINE__, LOG_WARNING, __VA_ARGS__) |
