The package rpms/xrdp.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/xrdp.git/commit/?id=f3a9fedf29e44....
Change:
-ExcludeArch: s390x
Thanks.
Full change:
============
commit f3a9fedf29e446974b5ecf7e163571c8758e827f
Author: Bojan Smojver <bojan(a)rexursive.com>
Date: Tue Sep 1 18:19:43 2020 +1000
Add a patch for uninitialised variables, courtesy of Dan Horák.
diff --git a/xrdp-0.9.14-vnc-uninit.patch b/xrdp-0.9.14-vnc-uninit.patch
new file mode 100644
index 0000000..375938c
--- /dev/null
+++ b/xrdp-0.9.14-vnc-uninit.patch
@@ -0,0 +1,25 @@
+diff -ruN xrdp-0.9.14-v/vnc/vnc.c xrdp-0.9.14/vnc/vnc.c
+--- xrdp-0.9.14-v/vnc/vnc.c 2020-08-26 12:32:22.000000000 +1000
++++ xrdp-0.9.14/vnc/vnc.c 2020-09-01 18:16:37.404290027 +1000
+@@ -1423,7 +1423,7 @@
+ {
+ int error;
+ struct vnc_screen_layout layout = {0};
+- int response_code;
++ int response_code = 0;
+
+ error = find_matching_extended_rect(v,
+ rect_is_reply_to_us,
+@@ -1485,9 +1485,9 @@
+ int srcy;
+ unsigned int encoding;
+ int pixel;
+- int r;
+- int g;
+- int b;
++ int r = 0;
++ int g = 0;
++ int b = 0;
+ int error;
+ int need_size;
+ struct stream *s;
diff --git a/xrdp.spec b/xrdp.spec
index 51f086a..2ae6069 100644
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server
Name: xrdp
Epoch: 1
Version: 0.9.14
-Release: 2%{?dist}
+Release: 3%{?dist}
License: ASL 2.0 and GPLv2+ and MIT
URL:
http://www.xrdp.org/
Source0:
https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%...
@@ -34,8 +34,7 @@ Patch6: xrdp-0.9.14-log-snprintf.patch
Patch7: xrdp-0.9.14-xfree86-evdev.patch
Patch8: xrdp-0.9.14-fuse-pointer.patch
Patch9: xrdp-0.9.14-arch.patch
-
-ExcludeArch: s390x
+Patch10: xrdp-0.9.14-vnc-uninit.patch
BuildRequires: gcc
BuildRequires: libX11-devel
@@ -281,6 +280,9 @@ fi
%{_datadir}/selinux/*/%{name}.pp
%changelog
+* Tue Sep 1 2020 Bojan Smojver <bojan(a)rexurive.com> - 1:0.9.14-3
+- Add a patch for uninitialised variables, courtesy of Dan Horák
+
* Mon Aug 31 2020 Bojan Smojver <bojan(a)rexurive.com> - 1:0.9.14-2
- Bump up to 0.9.14
- Add a set of patches to deal with new GCC warnings/errors