mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
crtmpserver: Switch to CMake and uClibc++
Smaller size. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
--- a/builders/cmake/CMakeLists.txt
|
||||
+++ b/builders/cmake/CMakeLists.txt
|
||||
@@ -140,8 +124,6 @@ ADD_DEFINITIONS(-DHAS_LUA)
|
||||
#ADD_DEFINITIONS(-DUSE_MEM_POOL)
|
||||
#ADD_DEFINITIONS(-DDEBUG_MEM_POOL)
|
||||
|
||||
-SET(GENERIC_FLAGS "-Wall -Werror")
|
||||
-
|
||||
#add 64 bit support for 32 but platforms
|
||||
ADD_DEFINITIONS(-D__USE_FILE_OFFSET64)
|
||||
ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
|
||||
--- a/sources/thelib/src/streaming/streamcapabilities.cpp
|
||||
+++ b/sources/thelib/src/streaming/streamcapabilities.cpp
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#define CHECK_BA_LIMITS(name,length) \
|
||||
if(ba.AvailableBits()<length) { \
|
||||
- FATAL("Unable to read `"name"` value. Not enough bits. Wanted: %u; Have: %u", \
|
||||
+ FATAL("Unable to read \"name\" value. Not enough bits. Wanted: %u; Have: %u", \
|
||||
(uint32_t)length, ba.AvailableBits()); \
|
||||
return false; \
|
||||
}
|
||||
@@ -43,7 +43,7 @@ if(ba.AvailableBits()<length) { \
|
||||
{ \
|
||||
uint64_t ___value___=0; \
|
||||
if(!ba.ReadExpGolomb(___value___)) { \
|
||||
- FATAL("Unable to read `"name"` value"); \
|
||||
+ FATAL("Unable to read \"name\" value"); \
|
||||
return false; \
|
||||
} \
|
||||
v[name]=(type)___value___; \
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/sources/common/src/utils/logging/syslogloglocation.cpp
|
||||
+++ b/sources/common/src/utils/logging/syslogloglocation.cpp
|
||||
@@ -35,8 +35,6 @@ SyslogLogLocation::SyslogLogLocation(Variant &configuration, string identifier,
|
||||
_priorities[_WARNING_] = LOG_WARNING;
|
||||
_priorities[_ERROR_] = LOG_ERR;
|
||||
_priorities[_FATAL_] = LOG_ERR;
|
||||
- _priorities[_PROD_ACCESS_] = LOG_ERR;
|
||||
- _priorities[_PROD_ERROR_] = LOG_ERR;
|
||||
_specificLevel = specificLevel;
|
||||
_enforceLoggerName = (_configuration[CONF_LOG_APPENDER_NAME] != "");
|
||||
_pDefualtFormatter = NULL;
|
||||
Reference in New Issue
Block a user