* updated tzdata (2024a -> 2024b)
[t2sde.git] / package / xorg / xorg-server / hotfix-sbus-gcc14.patch
blob3c447b9fe5bbbfa9a67a46d51a62bf59a4a777de
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/xorg-server/hotfix-sbus-gcc14.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- xorg-server-21.1.12/hw/xfree86/common/xf86sbusBus.c.vanilla 2024-07-23 12:23:52.111676144 +0200
15 +++ xorg-server-21.1.12/hw/xfree86/common/xf86sbusBus.c 2024-07-23 12:26:06.832663163 +0200
16 @@ -748,10 +748,10 @@
17 sparcPromClose();
19 if (promPath) {
20 - XNFasprintf(&GDev->busID, "SBUS:%s", promPath);
21 + XNFasprintf((char**)&GDev->busID, "SBUS:%s", promPath);
22 free(promPath);
24 else {
25 - XNFasprintf(&GDev->busID, "SBUS:fb%d", sBus->fbNum);
26 + XNFasprintf((char**)&GDev->busID, "SBUS:fb%d", sBus->fbNum);