Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xrdp for openSUSE:Factory checked in 
at 2026-05-20 15:25:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xrdp (Old)
 and      /work/SRC/openSUSE:Factory/.xrdp.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xrdp"

Wed May 20 15:25:19 2026 rev:61 rq:1354139 version:0.9.27

Changes:
--------
--- /work/SRC/openSUSE:Factory/xrdp/xrdp.changes        2026-05-19 
17:52:09.713081179 +0200
+++ /work/SRC/openSUSE:Factory/.xrdp.new.1966/xrdp.changes      2026-05-20 
15:26:37.179327280 +0200
@@ -1,0 +2,6 @@
+Wed May 20 03:22:14 UTC 2026 - Yifan Jiang <[email protected]>
+
+- Add xrdp-fix-old-gcc-error.patch to adapt the later xrdp
+  to be compatible with old gcc (e.g. the gcc in SLE 12).
+
+-------------------------------------------------------------------

New:
----
  xrdp-fix-old-gcc-error.patch

----------(New B)----------
  New:
- Add xrdp-fix-old-gcc-error.patch to adapt the later xrdp
  to be compatible with old gcc (e.g. the gcc in SLE 12).
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xrdp.spec ++++++
--- /var/tmp/diff_new_pack.SDeKmi/_old  2026-05-20 15:26:38.107365520 +0200
+++ /var/tmp/diff_new_pack.SDeKmi/_new  2026-05-20 15:26:38.107365520 +0200
@@ -78,6 +78,8 @@
 Patch1003:      xrdp-bsc965647-allow-admin-choose-desktop.patch
 # PATCH-NEEDS-REBASE xrdp-fate318398-change-expired-password.patch fate#318398 
- [email protected] -- enable user to update expired password via PAM. Was: 
PATCH-FEATURE-SLE
 Patch1004:      xrdp-fate318398-change-expired-password.patch
+# PATCH-FIX-SLE xrdp-fix-old-gcc-error.patch - [email protected] -- The '{0}' 
not accepted in older gcc before C++ as a universal zero initialiser
+Patch1005:      xrdp-fix-old-gcc-error.patch
 
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -148,6 +150,9 @@
 %patch -P 1002 -p1
 %patch -P 1003 -p1
 #%%patch -P 1004 -p1
+%if  0%{?sle_version} <= 120500 && !0%{?is_opensuse}
+%patch -P 1005 -p1
+%endif
 %endif
 
 %build


++++++ xrdp-fix-old-gcc-error.patch ++++++
Index: xrdp-0.9.27/common/guid.c
===================================================================
--- xrdp-0.9.27.orig/common/guid.c
+++ xrdp-0.9.27/common/guid.c
@@ -33,7 +33,7 @@
 struct guid
 guid_new(void)
 {
-    struct guid guid = {0};
+    struct guid guid = {{0}};
     g_random(guid.g, sizeof(guid.g));
     return guid;
 }

Reply via email to