Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lightdm for openSUSE:Factory checked 
in at 2021-02-11 12:44:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lightdm (Old)
 and      /work/SRC/openSUSE:Factory/.lightdm.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lightdm"

Thu Feb 11 12:44:58 2021 rev:106 rq:870324 version:1.30.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes  2020-12-10 
15:57:33.538821810 +0100
+++ /work/SRC/openSUSE:Factory/.lightdm.new.28504/lightdm.changes       
2021-02-11 12:45:19.849309222 +0100
@@ -1,0 +2,6 @@
+Mon Feb  8 16:04:34 UTC 2021 - Martin Li??ka <[email protected]>
+
+- Add lightdm-glibc-2.33-fix.patch that fixes issue with glibc 2.33
+  (boo#1181778).  The patch was suggested as gh#168.
+
+-------------------------------------------------------------------

New:
----
  lightdm-glibc-2.33-fix.patch

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

Other differences:
------------------
++++++ lightdm.spec ++++++
--- /var/tmp/diff_new_pack.ePpBLf/_old  2021-02-11 12:45:20.793310596 +0100
+++ /var/tmp/diff_new_pack.ePpBLf/_new  2021-02-11 12:45:20.797310602 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lightdm
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2011 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -61,6 +61,7 @@
 Patch4:         lightdm-use-run-dir.patch
 # PATCH-FIX-OPENSUSE ignore-known-symlink-sessions.patch boo#1030873 -- Ignore 
known synlink sessions.
 Patch5:         lightdm-ignore-known-symlink-sessions.patch
+Patch6:         lightdm-glibc-2.33-fix.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++


++++++ lightdm-glibc-2.33-fix.patch ++++++
>From 32521675ded7cabda7e5619708afd0181780ad3e Mon Sep 17 00:00:00 2001
From: Martin Liska <[email protected]>
Date: Thu, 4 Feb 2021 11:18:05 +0100
Subject: [PATCH] Glibc 2.33 fix.

The library does not declare __fxstatat64 and friends in a header file.
Thus the following warning appears:

```
libsystem.c:333:1: error: no previous prototype for '__xstat' 
[-Werror=missing-prototypes]
  333 | __xstat (int version, const char *path, struct stat *buf)
      | ^~~~~~~
libsystem.c:342:1: error: no previous prototype for '__xstat64' 
[-Werror=missing-prototypes]
  342 | __xstat64 (int version, const char *path, struct stat64 *buf)
      | ^~~~~~~~~
libsystem.c:351:1: error: no previous prototype for '__fxstatat' 
[-Werror=missing-prototypes]
  351 | __fxstatat(int ver, int dirfd, const char *pathname, struct stat *buf, 
int flags)
      | ^~~~~~~~~~
libsystem.c:360:1: error: no previous prototype for '__fxstatat64' 
[-Werror=missing-prototypes]
  360 | __fxstatat64(int ver, int dirfd, const char *pathname, struct stat64 
*buf, int flags)
      | ^~~~~~~~~~~~
```

Fixed #167.
---
 tests/src/libsystem.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c
index b47b4523..aed3b8cf 100644
--- a/tests/src/libsystem.c
+++ b/tests/src/libsystem.c
@@ -329,6 +329,10 @@ stat64 (const char *path, struct stat64 *buf)
     return _stat64 (new_path, buf);
 }
 
+// glibc 2.33 and newer does not declare these functions in a header file
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmissing-prototypes"
+
 int
 __xstat (int version, const char *path, struct stat *buf)
 {
@@ -365,6 +369,8 @@ __fxstatat64(int ver, int dirfd, const char *pathname, 
struct stat64 *buf, int f
     return ___fxstatat64 (ver, dirfd, new_path, buf, flags);
 }
 
+#pragma GCC diagnostic pop
+
 DIR *
 opendir (const char *name)
 {
-- 
2.30.0

Reply via email to