- u_gcc14-fix.patch
* fix build against gcc14 (boo#1221028) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=269
This commit is contained in:
parent
1a1ba489ef
commit
2e8a0fe6ec
12
u_gcc14-fix.patch
Normal file
12
u_gcc14-fix.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r -p xdm-1.1.14.old/chooser/chooser.c xdm-1.1.14/chooser/chooser.c
|
||||||
|
--- xdm-1.1.14.old/chooser/chooser.c 2024-03-06 09:11:44.928220105 +0000
|
||||||
|
+++ xdm-1.1.14/chooser/chooser.c 2024-03-06 09:18:17.760108455 +0000
|
||||||
|
@@ -277,7 +277,7 @@ RebuildTable (int size)
|
||||||
|
newTable[i] = names->fullname;
|
||||||
|
qsort (newTable, size, sizeof (char *), HostnameCompare);
|
||||||
|
}
|
||||||
|
- XawListChange (list, newTable, size, 0, TRUE);
|
||||||
|
+ XawListChange (list, (_Xconst char **) newTable, size, 0, TRUE);
|
||||||
|
free (NameTable);
|
||||||
|
NameTable = newTable;
|
||||||
|
NameTableSize = size;
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 6 09:21:36 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- u_gcc14-fix.patch
|
||||||
|
* fix build against gcc14 (boo#1221028)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 12:07:38 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Feb 26 12:07:38 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
4
xdm.spec
4
xdm.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xdm
|
# spec file for package xdm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# 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
|
||||||
@ -40,6 +40,7 @@ Patch1: xdm-tolerant-hostname-changes.diff
|
|||||||
Patch2: xdm-tarball.patch
|
Patch2: xdm-tarball.patch
|
||||||
Patch3: n_Allow-the-greeter-to-set-the-input-fields-bg-color.patch
|
Patch3: n_Allow-the-greeter-to-set-the-input-fields-bg-color.patch
|
||||||
Patch4: xinit-UsrEtcMove.patch
|
Patch4: xinit-UsrEtcMove.patch
|
||||||
|
Patch5: u_gcc14-fix.patch
|
||||||
BuildRequires: firewall-macros
|
BuildRequires: firewall-macros
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
@ -104,6 +105,7 @@ pushd xdm
|
|||||||
popd
|
popd
|
||||||
# reverse apply (boo#1130321)
|
# reverse apply (boo#1130321)
|
||||||
%patch -P 3 -p1 -R
|
%patch -P 3 -p1 -R
|
||||||
|
%patch -P 5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# needed for patch0
|
# needed for patch0
|
||||||
|
Loading…
Reference in New Issue
Block a user