-------------------------------------------------------------------------------
* 31602a48ca2a Makefile: Add -fcommon to CFLAGS
* 90979cf89bec app: ListAccess: sqlite: Ignore false return-local-addr warning
* c774379484a9 app: appcmbs: Fix inconsistent/misleading indentation
* b1694cb4a5fe Fix compilation with 64-bit time_t
* 56435633a6b4 Fix for setting extension_id for handset
-------------------------------------------------------------------------------
commit 31602a48ca2aee60d70a770834021100d4a17e6f
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-28 08:36:08 +0200
Makefile: Add -fcommon to CFLAGS
Add -fcommon to CFLAGS. Newer GCC and clang use -fno-common as default.
Unfortunately, a larger part of third-party code defines variables in
header-files. Explicitly set -fcommon for now to make the code compile with
newer compilers. In the long term, the code should be fixed.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
app/Makefile | 5 +++++
1 file changed, 5 insertions(+)
-------------------------------------------------------------------------------
commit 90979cf89beccb55eff24519034179fa197182ce
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-28 08:32:23 +0200
app: ListAccess: sqlite: Ignore false return-local-addr warning
The vendored copy of sqlite emits a -Wreturn-local-addr in its
sqlite3SelectNew function. It has been fixed in sqlite 3.33, but this copy
of sqlite is version 3.8.2 from 2013. ignore the warning using gcc-pragmas,
because we know it is not a problem.
See also: https://www.sqlite.org/src/vinfo/04e1edd8e5821a37
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
app/ListAccess/sqlite3.c | 3 +++
1 file changed, 3 insertions(+)
-------------------------------------------------------------------------------
commit c774379484a9dbfe8dbdd11218786b7cda715b82
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-28 08:28:47 +0200
app: appcmbs: Fix inconsistent/misleading indentation
Fixes warning caused by inconsistent and misleading intentation.
./appcmbs/appcmbs.c: In function 'appcmbs_WaitForContainer':
./appcmbs/appcmbs.c:348:6: error: this 'if' clause does not guard...
[-Werror=misleading-indentation]
348 | if (g_stSwupSetup.inProgress == false)
| ^~
./appcmbs/appcmbs.c:351:9: note: ...this statement, but the latter is
misleadingly indented as if it were guarded by the 'if'
351 | while (bo_Run)
| ^~~~~
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
app/appcmbs/appcmbs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
commit b1694cb4a5fe12394238f56a1db8a61441bae946
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-28 08:24:19 +0200
Fix compilation with 64-bit time_t
Fix compilation with 64-bit time_t introduced in musl 1.2.0.
https://musl.libc.org/time64.html
Most likely, this can also be reproduced using -D_TIME_BITS=64 on
glibc-based systems.
* ListAccess/ListsApp.c:882:107: error: format '%ld' expects argument of
type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [Werror=format=]
* ListAccess/ListsApp.c:1015:107: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [Werror=format=]
* ListAccess/ListsApp.c:1274:107: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* ListAccess/ListsApp.c:1783:107: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* ListAccess/ListsApp.c:2126:107: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* ListAccess/ListsApp.c:2589:107: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* tcx_hostlog.c:478:94: error: format '%ld' expects argument of type
'long int', but argument 9 has type 'suseconds_t'
{aka 'long long int'} [-Werror=format=]
* tcx_hostlog.c:525:94: error: format '%ld' expects argument of type
'long int', but argument 9 has type 'suseconds_t'
{aka 'long long int'} [-Werror=format=]
* tcx_log.c:392:93: error: format '%ld' expects argument of type 'long
int', but argument 9 has type 'suseconds_t'
{aka 'long long int'} [-Werror=format=]
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
app/ListAccess/ListsApp.c | 13 +++++++------
app/tcx_hostlog.c | 9 +++++----
app/tcx_log.c | 5 +++--
3 files changed, 15 insertions(+), 12 deletions(-)
-------------------------------------------------------------------------------
commit 56435633a6b4f711ccfe7a4a6917b506d71ed3b4
Author: Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
Date: 2022-06-24 07:21:16 +0000
Fix for setting extension_id for handset
Base directory -> /
app/dect_common.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
OpenWrt 22.03 switched to a new nftables-based firewall, fw4. For now,
we would like to stick to legacy iptables and the old fw3 which, for
now, is still supported.
Once functionality has been verified on non-upstream targets such as
Broadcom and Airoha/Econet, we can switch to nftables and fw4.
Unfortunately, luci-app-firewall pulls in fw4, so we need to disable it
for now until we have investigated and resolved that problem.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Fixes error: 'uloop_timeout_remaining' is deprecated: use
uloop_timeout_remaining64 [-Werror=deprecated-declarations].
For now, deliver this as a patch until we have found a nice
way to support both uloop-versions.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
-------------------------------------------------------------------------------
* 96a575aa896e cmdufrag: Fix compile error due to 64bit time_t
-------------------------------------------------------------------------------
commit 96a575aa896e67530e10072f27de30d74ce3f0d0
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-23 13:16:17 +0200
cmdufrag: Fix compile error due to 64bit time_t
Fix compilation with 64-bit time_t introduced in musl 1.2.0.
https://musl.libc.org/time64.html
* cmdufrag.c:293:17: error: format '%lu' expects argument of type 'long
unsigned int', but argument 14 has type 'time_t' {aka 'long long int'}
[-Werror=format=]
* cmdufrag.c:293:17: error: format '%lu' expects argument of type 'long
unsigned int', but argument 15 has type 'suseconds_t' {aka 'long long
int'} [-Werror=format=]
* cmdufrag.c:432:43: error: format '%lu' expects argument of type 'long
unsigned int', but argument 3 has type 'time_t' {aka 'long long int'}
[-Werror=format=]
* cmdufrag.c:432:47: error: format '%lu' expects argument of type 'long
unsigned int', but argument 4 has type 'suseconds_t' {aka 'long long
int'} [-Werror=format=]
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
src/cmdufrag.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 8ff341e2a126 treewide: Fix compilation with 64-bit time_t
-------------------------------------------------------------------------------
commit 8ff341e2a126dfcf55c217fc09425119cbff5e55
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-23 14:48:28 +0200
treewide: Fix compilation with 64-bit time_t
Fix compilation with 64-bit time_t introduced in musl 1.2.0.
https://musl.libc.org/time64.html
* libbbf_api/dmubus.c:133:79: error: format '%lu' expects argument of
type 'long unsigned int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* libbbf_api/dmubus.c:133:84: error: format '%lu' expects argument of
type 'long unsigned int', but argument 5 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* dmtree/tr181/dynamicdns.c:68:55: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
dmtree/tr181/dynamicdns.c | 2 +-
libbbf_api/dmubus.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
Fixes error: 'uloop_timeout_remaining' is deprecated: use
uloop_timeout_remaining64 [-Werror=deprecated-declarations].
For now, deliver this as a patch until we have found a nice
way to support both uloop-versions.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Fixes error: 'uloop_timeout_remaining' is deprecated: use
uloop_timeout_remaining64 [-Werror=deprecated-declarations].
For now, deliver this as a patch until we have found a nice way to
support both uloop-versions.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
-------------------------------------------------------------------------------
* 0b3c0f131517 treewide: Fix compilation with 64-bit time_t
-------------------------------------------------------------------------------
commit 0b3c0f1315174139220efd29311447ba0ff4def6
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-23 14:48:28 +0200
treewide: Fix compilation with 64-bit time_t
Fix compilation with 64-bit time_t introduced in musl 1.2.0.
https://musl.libc.org/time64.html
* libbbf_api/dmubus.c:133:79: error: format '%lu' expects argument of
type 'long unsigned int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* libbbf_api/dmubus.c:133:84: error: format '%lu' expects argument of
type 'long unsigned int', but argument 5 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* dmtree/tr181/dynamicdns.c:68:55: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
dmtree/tr181/dynamicdns.c | 2 +-
libbbf_api/dmubus.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
* 5c880229e307 treewide: Fix compilation with 64-bit time_t
-------------------------------------------------------------------------------
commit 5c880229e30701c4ee72e1fdc385752e5e2c96d6
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2022-06-23 14:48:28 +0200
treewide: Fix compilation with 64-bit time_t
Fix compilation with 64-bit time_t introduced in musl 1.2.0.
https://musl.libc.org/time64.html
* libbbf_api/dmubus.c:133:79: error: format '%lu' expects argument of
type 'long unsigned int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* libbbf_api/dmubus.c:133:84: error: format '%lu' expects argument of
type 'long unsigned int', but argument 5 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
* dmtree/tr181/dynamicdns.c:68:55: error: format '%ld' expects argument
of type 'long int', but argument 4 has type 'time_t'
{aka 'long long int'} [-Werror=format=]
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Base directory -> /
dmtree/tr181/dynamicdns.c | 2 +-
libbbf_api/dmubus.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-------------------------------------------------------------------------------
Workaround a bug in the OpenWrt build system that was introduced when
the installed target path had been moved to target/linux/feeds.
Config.in and Makefile from installed targets are not properly included
from the new location. This hack is to be removed once the issues are
fixed.
Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.