Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xsession for openSUSE:Factory checked in at 2024-09-13 14:33:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xsession (Old) and /work/SRC/openSUSE:Factory/.xsession.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xsession" Fri Sep 13 14:33:35 2024 rev:17 rq:1200647 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xsession/xsession.changes 2014-10-06 22:04:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xsession.new.29891/xsession.changes 2024-09-13 14:36:11.872511277 +0200 @@ -1,0 +2,6 @@ +Thu Sep 12 12:20:22 UTC 2024 - Dominique Leuenberger <dims...@opensuse.org> + +- Add xsession-implicit-shutdown.patch: Fix build with GCC 14: + xsession.c:212:5: error: implicit declaration of function âshutdownâ + +------------------------------------------------------------------- New: ---- xsession-implicit-shutdown.patch BETA DEBUG BEGIN: New: - Add xsession-implicit-shutdown.patch: Fix build with GCC 14: xsession.c:212:5: error: implicit declaration of function âshutdownâ BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsession.spec ++++++ --- /var/tmp/diff_new_pack.cbxBD1/_old 2024-09-13 14:36:12.336530620 +0200 +++ /var/tmp/diff_new_pack.cbxBD1/_new 2024-09-13 14:36:12.336530620 +0200 @@ -1,7 +1,7 @@ # # spec file for package xsession # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -29,6 +29,7 @@ License: MIT Group: System/X11/Utilities Source: xsession-1.1.tar.gz +Patch0: xsession-implicit-shutdown.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} %if "%_exec_prefix" == "/usr/X11R6" @@ -50,15 +51,8 @@ Examples may be found under /usr/share/doc/packages/xsession/examples. - - -Authors: --------- - Alain Nissen <nis...@montefiore.ulg.ac.be> - Raphael Quinet <qui...@stud.montefiore.ulg.ac.be> - %prep -%setup -q +%autosetup -p1 %build xmkmf -a ++++++ xsession-implicit-shutdown.patch ++++++ Index: xsession-1.1/xsession.c =================================================================== --- xsession-1.1.orig/xsession.c +++ xsession-1.1/xsession.c @@ -52,6 +52,7 @@ #include <signal.h> #include "xsession.h" #include "resources.h" +#include <sys/socket.h> #ifdef SOUNDS #include <rplay.h>