- Add xsession-implicit-shutdown.patch: Fix build with GCC 14:
xsession.c:212:5: error: implicit declaration of function ‘shutdown’ OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xsession?expand=0&rev=6
This commit is contained in:
parent
2de90daf7c
commit
3069416d92
12
xsession-implicit-shutdown.patch
Normal file
12
xsession-implicit-shutdown.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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>
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 12 12:20:22 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Add xsession-implicit-shutdown.patch: Fix build with GCC 14:
|
||||||
|
xsession.c:212:5: error: implicit declaration of function ‘shutdown’
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 1 23:21:28 UTC 2014 - crrodriguez@opensuse.org
|
Wed Oct 1 23:21:28 UTC 2014 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xsession
|
# spec file for package xsession
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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 @@ Summary: A session manager
|
|||||||
License: MIT
|
License: MIT
|
||||||
Group: System/X11/Utilities
|
Group: System/X11/Utilities
|
||||||
Source: xsession-1.1.tar.gz
|
Source: xsession-1.1.tar.gz
|
||||||
|
Patch0: xsession-implicit-shutdown.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||||
%if "%_exec_prefix" == "/usr/X11R6"
|
%if "%_exec_prefix" == "/usr/X11R6"
|
||||||
@ -50,15 +51,8 @@ applications from the xsession menus.
|
|||||||
|
|
||||||
Examples may be found under /usr/share/doc/packages/xsession/examples.
|
Examples may be found under /usr/share/doc/packages/xsession/examples.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Alain Nissen <nissen@montefiore.ulg.ac.be>
|
|
||||||
Raphael Quinet <quinet@stud.montefiore.ulg.ac.be>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
xmkmf -a
|
xmkmf -a
|
||||||
|
Loading…
Reference in New Issue
Block a user