## ../chalk/plugins/filters/colorsfilters/kis_brightness_contrast_filter.cpp:243:40: error: non-constant-expression cannot be narrowed from type 'int' to 'TQ_UINT8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
## ../../../../krusader/DiskUsage/radialMap/map.cpp:329:26: error: non-constant-expression cannot be narrowed from type 'uint' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
## int a[3] = { (*it)->start(), (*it)->length(), 0 };
## ^~~~~~~~~~~~~~
## commit 57f84ff
patch -p0 -N << EOF || true
--- krusader/DiskUsage/radialMap/map.cpp
+++ krusader/DiskUsage/radialMap/map.cpp
@@ -329,1 +329,1 @@
- int a[3] = { (*it)->start(), (*it)->length(), 0 };
## ../plugins/infowidget/chunkbar.cpp:210:16: error: non-constant-expression cannot be narrowed from type 'bt::Uint32' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing]
# commit 3ce1e1c
patch -p0 -N << EOF || true
--- plugins/infowidget/chunkbar.cpp
+++ plugins/infowidget/chunkbar.cpp
@@ -210,1 +210,1 @@
- Range r = {i,i,0};
+ Range r = {(int)i,(int)i,0};
@@ -222,1 +222,1 @@
- Range r = {i,i,0};
+ Range r = {(int)i,(int)i,0};
@@ -259,1 +259,1 @@
- Range r = {i,i,fac};
+ Range r = {(int)i,(int)i,fac};
@@ -271,1 +271,1 @@
- Range r = {i,i,fac};
+ Range r = {(int)i,(int)i,fac};
EOF
# set support for additional language(s) as per I18N variable
# set support for additional language(s) as per I18N variable
# but only for languages available with this package
# but only for languages available with this package
langs="";for Lang in $I18N;do [[ -e translations/$Lang ]] && langs="$langs $Lang";done
langs="";for Lang in $I18N;do [[ -e translations/$Lang ]] && langs="$langs $Lang";done
## work-around for clang build failure - flag applied to kmilo generic build only
## ...kmilo/generic/generic_monitor.cpp:78:16: error: non-constant-expression cannot be narrowed from type 'int' to 'uint' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
## ...kmilo/generic/generic_monitor.cpp:78:16: error: non-constant-expression cannot be narrowed from type 'int' to 'uint' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
## invalid suffix on literal; C++11 requires a space between literal and identifier
sed -i 's|"LIBMPV42_STRINGIFY|" LIBMPV42_STRINGIFY|' src/mp4util.h
#
## ../src/mp4.cpp:873:20: error: cannot initialize return object of type 'mp4v2_ismacrypParams *' (aka 'mp4v2_ismacryp_session_params *') with an rvalue of type 'MP4TrackId' (aka 'unsigned int')
## thanks to github.com/palmerc/mp4v2.git, commit 16eb774806e9a0c87162b9e24a633c34c90c0732