Hello community, here is the log from the commit of package iio-sensor-proxy for openSUSE:Factory checked in at 2017-10-31 15:43:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iio-sensor-proxy (Old) and /work/SRC/openSUSE:Factory/.iio-sensor-proxy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iio-sensor-proxy" Tue Oct 31 15:43:50 2017 rev:10 rq:537538 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/iio-sensor-proxy/iio-sensor-proxy.changes 2017-09-28 12:34:14.537198306 +0200 +++ /work/SRC/openSUSE:Factory/.iio-sensor-proxy.new/iio-sensor-proxy.changes 2017-10-31 15:43:51.766072593 +0100 @@ -1,0 +2,11 @@ +Sat Oct 28 16:26:56 UTC 2017 - badshah...@gmail.com + +- Add iio-sensor-proxy-revert-cast-align-warnings-arm-fix.patch + Revert "iio-buffer-utils: Fix cast-align warnings on ARM" + because it caused rotations on all devices to have undefined + values; patch taken from upstream (boo#1061190, + gh#hadess/iio-sensor-proxy#191). +- Add relevant package Group for both iio-sensor-proxy + (System/Monitor) and iio-sensor-proxy-doc (Documentation/HTML). + +------------------------------------------------------------------- New: ---- iio-sensor-proxy-revert-cast-align-warnings-arm-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iio-sensor-proxy.spec ++++++ --- /var/tmp/diff_new_pack.1C1H5X/_old 2017-10-31 15:43:52.198056933 +0100 +++ /var/tmp/diff_new_pack.1C1H5X/_new 2017-10-31 15:43:52.202056788 +0100 @@ -21,12 +21,15 @@ Release: 0 Summary: Proxy for IIO and input subsystems License: GPL-3.0 +Group: System/Monitoring Url: https://github.com/hadess/iio-sensor-proxy Source0: https://github.com/hadess/iio-sensor-proxy/releases/download/%{version}/%{name}-%{version}.tar.xz Source99: iio-sensor-proxy-rpmlintrc # PATCH-FIX-UPSTREAM 0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch fcro...@suse.com -- Ensure we handle geoclue not running as geoclue user Patch0: 0001-data-fix-permissions-when-geoclue-runs-with-a-differ.patch +# PATCH-FIX-UPSTREAM iio-sensor-proxy-revert-cast-align-warnings-arm-fix.patch boo#1061190 gh#hadess/iio-sensor-proxy#191 badshah...@opensuse.org -- Revert "iio-buffer-utils: Fix cast-align warnings on ARM" because it caused rotations on all devices to have undefined values. # needed by patch0 +Patch1: iio-sensor-proxy-revert-cast-align-warnings-arm-fix.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: pkgconfig @@ -44,6 +47,7 @@ %package doc Summary: Documentation for %{name} +Group: Documentation/HTML BuildArch: noarch %description doc @@ -52,6 +56,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build # needed by patch0 ++++++ iio-sensor-proxy-revert-cast-align-warnings-arm-fix.patch ++++++ >From 70da85b8c31aa2db1e2471f5a0d62eb7589e454a Mon Sep 17 00:00:00 2001 From: Bastien Nocera <had...@hadess.net> Date: Wed, 11 Oct 2017 18:22:31 +0200 Subject: [PATCH] Revert "iio-buffer-utils: Fix cast-align warnings on ARM" This was causing unsigned buffer values to be read as signed. This reverts commit ebc348abfea241d02861c09ce05ff759d65b77a0. --- src/iio-buffer-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iio-buffer-utils.c b/src/iio-buffer-utils.c index 9df8137..6482a25 100644 --- a/src/iio-buffer-utils.c +++ b/src/iio-buffer-utils.c @@ -493,14 +493,14 @@ process_scan_1 (char *data, /* only a few cases implemented so far */ case 4: if (!buffer_data->channels[k]->is_signed) { - guint32 val = *(data + buffer_data->channels[k]->location); + guint32 val = *(guint32 *) (data + buffer_data->channels[k]->location); val = val >> buffer_data->channels[k]->shift; if (buffer_data->channels[k]->bits_used < 32) val &= ((guint32) 1 << buffer_data->channels[k]->bits_used) - 1; *ch_val = (int) val; *ch_present = TRUE; } else { - gint32 val = *(data + buffer_data->channels[k]->location); + gint32 val = *(gint32 *) (data + buffer_data->channels[k]->location); val = val >> buffer_data->channels[k]->shift; if (buffer_data->channels[k]->bits_used < 32) val &= ((guint32) 1 << buffer_data->channels[k]->bits_used) - 1;