Hello community, here is the log from the commit of package v4l-utils for openSUSE:Factory checked in at 2019-11-08 15:23:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/v4l-utils (Old) and /work/SRC/openSUSE:Factory/.v4l-utils.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "v4l-utils" Fri Nov 8 15:23:03 2019 rev:35 rq:745219 version:1.14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/v4l-utils/v4l-utils.changes 2019-09-20 14:36:30.919078330 +0200 +++ /work/SRC/openSUSE:Factory/.v4l-utils.new.2990/v4l-utils.changes 2019-11-08 15:23:07.246829417 +0100 @@ -1,0 +2,5 @@ +Mon Nov 4 13:37:03 UTC 2019 - Stefan Seyfried <seife+...@b1-systems.com> + +- add v4l-utils-32bitfix.patch (boo#1109541) + +------------------------------------------------------------------- New: ---- v4l-utils-32bitfix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ v4l-utils.spec ++++++ --- /var/tmp/diff_new_pack.Tcm1su/_old 2019-11-08 15:23:07.938830149 +0100 +++ /var/tmp/diff_new_pack.Tcm1su/_new 2019-11-08 15:23:07.938830149 +0100 @@ -37,6 +37,7 @@ Source100: baselibs.conf Patch0: sysmacros.patch Patch1: use_system_v4l_for_qv4l.patch +Patch2: v4l-utils-32bitfix.patch BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: pkgconfig @@ -198,6 +199,7 @@ %setup -q -n %{sname}-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %if "%{flavor}" == "qv4l2" ++++++ v4l-utils-32bitfix.patch ++++++ Index: b/lib/libdvbv5/dvb-file.c =================================================================== --- a/lib/libdvbv5/dvb-file.c +++ b/lib/libdvbv5/dvb-file.c @@ -589,7 +589,8 @@ static int fill_entry(struct dvb_entry * n_prop = entry->n_props; entry->props[n_prop].cmd = i; if (!attr_name || !*attr_name) - entry->props[n_prop].u.data = atol(value); + /* some put stream_id=4294967295 (-1) which is more than LONG_MAX on 32bit... */ + entry->props[n_prop].u.data = (uint32_t)atoll(value); else { for (j = 0; attr_name[j]; j++) if (!strcasecmp(value, attr_name[j])) @@ -708,7 +709,8 @@ static int fill_entry(struct dvb_entry * /* FIXME: this works only for integer values */ n_prop = entry->n_props; entry->props[n_prop].cmd = cmd; - entry->props[n_prop].u.data = atol(value); + /* some put stream_id=4294967295 (-1) which is more than LONG_MAX on 32bit... */ + entry->props[n_prop].u.data = (uint32_t)atoll(value); entry->n_props++; return 0;