buildroot/package/dvb-apps
Fabrice Fontaine b88bcdc9aa package/dvb-apps: fix build with gcc >= 14
Workaround for glibc 2.31 added by commit
bbe170dbcf back in 2020 is incorrect as it
writes new_time (a pointer on time_t) into timespec.tv_sec (i.e. time_t).
This mistake raises the following build failure with gcc >= 14:

dvbdate.c: In function 'set_time':
dvbdate.c:313:18: error: assignment to '__time_t' {aka 'long int'} from 'time_t *' {aka 'long int *'} makes integer from pointer without a cast [-Wint-conversion]
  313 |         s.tv_sec = new_time;
      |                  ^

It shall be noted that gentoo also spotted this mistake:
https://gitweb.gentoo.org/repo/gentoo.git/commit/media-tv/linuxtv-dvb-apps/files?id=81e99f1c753d1cb564be29b22dcd8927830c4b9a

Fixes: bbe170dbcf
 - http://autobuild.buildroot.org/results/e99b9ebf602d307fbc32f2a367e95177f53a68f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit fcfc399b1d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-08-31 18:58:16 +02:00
..
0001-Fix-generate-keynames.patch
0002-Fix-compiler-warning-flags.patch
0003-handle-static-shared-only-build.patch
0004-Makefile-remove-test.patch
0005-utils-fix-build-with-kernel-headers-4.14.patch
0006-fix-glibc-2.31.patch
Config.in
dvb-apps.hash
dvb-apps.mk