Hello community, here is the log from the commit of package freerdp for openSUSE:Factory checked in at 2018-03-19 23:32:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freerdp (Old) and /work/SRC/openSUSE:Factory/.freerdp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freerdp" Mon Mar 19 23:32:56 2018 rev:28 rq:587433 version:2.0.0~rc1 Changes: -------- --- /work/SRC/openSUSE:Factory/freerdp/freerdp.changes 2018-01-16 09:40:47.330131384 +0100 +++ /work/SRC/openSUSE:Factory/.freerdp.new/freerdp.changes 2018-03-19 23:32:59.501012300 +0100 @@ -1,0 +2,15 @@ +Thu Mar 15 07:33:40 UTC 2018 - [email protected] + +- Added no_connection_to_windows_10_17101.patch to fix + Windows-connection-problem after Windows march 2018 updates. + This fix is related to boo#1085416 + +------------------------------------------------------------------- +Mon Mar 12 19:26:30 UTC 2018 - [email protected] + +- Do not use xorg-x11-devel, instead buildrequire individual + x components. +- Only attempt to ge rid of __DATE__ and __TIME__ if + SOURCE_DATE_EPOCH is not set. + +------------------------------------------------------------------- New: ---- no_connection_to_windows_10_17101.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freerdp.spec ++++++ --- /var/tmp/diff_new_pack.tWiM9J/_old 2018-03-19 23:33:00.888962231 +0100 +++ /var/tmp/diff_new_pack.tWiM9J/_new 2018-03-19 23:33:00.896961942 +0100 @@ -26,8 +26,10 @@ Summary: Remote Desktop Viewer Client License: Apache-2.0 Group: Productivity/Networking/Other -URL: http://www.freerdp.com/ +Url: http://www.freerdp.com/ Source0: https://github.com/FreeRDP/FreeRDP/archive/%{version_file}.tar.gz#/FreeRDP-%{version_file}.tar.gz +# PATCH-FIX-UPSTREAM no_connection_to_windows_10_17101.patch boo#1085416 +Patch0: no_connection_to_windows_10_17101.patch BuildRequires: chrpath BuildRequires: cmake >= 2.8 BuildRequires: cups-devel @@ -39,7 +41,6 @@ BuildRequires: libjpeg-devel BuildRequires: pkgconfig BuildRequires: xmlto -BuildRequires: xorg-x11-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(gstreamer-1.0) @@ -53,8 +54,17 @@ BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xcursor) +BuildRequires: pkgconfig(xdamage) +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xkbfile) +BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(xrender) +BuildRequires: pkgconfig(xtst) +BuildRequires: pkgconfig(xv) %description FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP) @@ -142,12 +152,15 @@ %prep %setup -q -n FreeRDP-%{version_file} +%patch0 -p1 %if 0%{?sles_version} == 11 cp %{SOURCE1} cmake/ %endif %build +if [ -z "$SOURCE_DATE_EPOCH" ]; then find . -type f -name "*.c" -exec perl -i -pe 's{__(DATE|TIME)__}{""}g' "{}" "+" +fi export LDFLAGS="-pie" export CFLAGS="%{optflags} -fPIE -pie" @@ -155,7 +168,6 @@ %cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ - -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DWITH_ALSA=ON \ -DWITH_PCSC=ON \ ++++++ no_connection_to_windows_10_17101.patch ++++++ diff -ur FreeRDP-2.0.0-rc1-orig/libfreerdp/core/nla.c FreeRDP-2.0.0-rc1/libfreerdp/core/nla.c --- FreeRDP-2.0.0-rc1-orig/libfreerdp/core/nla.c 2017-11-28 15:26:30.000000000 +0100 +++ FreeRDP-2.0.0-rc1/libfreerdp/core/nla.c 2018-03-14 16:25:02.230620541 +0100 @@ -1663,14 +1663,17 @@ static int nla_decode_ts_request(rdpNla* nla, wStream* s) { int length; + UINT32 version = 0; /* TSRequest */ if (!ber_read_sequence_tag(s, &length) || !ber_read_contextual_tag(s, 0, &length, TRUE) || - !ber_read_integer(s, &nla->version)) + !ber_read_integer(s, &version)) { return -1; } + if (version < nla->version) + nla->version = version; /* [1] negoTokens (NegoData) */ if (ber_read_contextual_tag(s, 1, &length, TRUE) != FALSE)
