From 4163556f79ff74407e8760a06dc88f775b7c703f Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 10 Jan 2024 17:27:48 +0300 Subject: [PATCH] xorg-server rebuild --- x11/server/xorg-server/files/34a430.patch | 39 +++++++++++++++++++++++ x11/server/xorg-server/pspec.xml | 9 +++++- 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 x11/server/xorg-server/files/34a430.patch diff --git a/x11/server/xorg-server/files/34a430.patch b/x11/server/xorg-server/files/34a430.patch new file mode 100644 index 0000000000..89ccacc88c --- /dev/null +++ b/x11/server/xorg-server/files/34a430.patch @@ -0,0 +1,39 @@ +From 34a430a16ec2cb9851b1f2bc7fc2117e19b9fcc7 Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Thu, 13 Apr 2023 15:45:58 +0200 +Subject: [PATCH] fb: Declare wfbFinishScreenInit, wfbScreenInit for + !FB_ACCESS_WRAPPER + +xf86-video-nouveau calls wfbScreenInit without defining +FB_ACCESS_WRAPPER (which has other unintended side effects). +Presently, this compiles and links because compilers still support +implicit function declarations, but this is going to change fairly +soon. This seems to be the most straightforward change to keep +the driver building. +--- + fb/fb.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/fb/fb.h b/fb/fb.h +index 08143a0d49..309f15294c 100644 +--- a/fb/fb.h ++++ b/fb/fb.h +@@ -1027,7 +1027,6 @@ extern _X_EXPORT Bool + int dpiy, int width, /* pixel width of frame buffer */ + int bpp); /* bits per pixel of frame buffer */ + +-#ifdef FB_ACCESS_WRAPPER + extern _X_EXPORT Bool + wfbFinishScreenInit(ScreenPtr pScreen, + void *pbits, +@@ -1049,7 +1048,6 @@ wfbScreenInit(ScreenPtr pScreen, + int width, + int bpp, + SetupWrapProcPtr setupWrap, FinishWrapProcPtr finishWrap); +-#endif + + extern _X_EXPORT Bool + fbFinishScreenInit(ScreenPtr pScreen, +-- +GitLab + diff --git a/x11/server/xorg-server/pspec.xml b/x11/server/xorg-server/pspec.xml index b13cff06f9..3c9411bc71 100755 --- a/x11/server/xorg-server/pspec.xml +++ b/x11/server/xorg-server/pspec.xml @@ -69,7 +69,7 @@ xorg-server-1.12-unloadsubmodule.patch xorg-server-1.18-support-multiple-Files-sections.patch - + 34a430.patch @@ -318,6 +318,13 @@ + + 2024-01-10 + 21.1.10 + Rebuild. + Mustafa Cinasal + muscnsl@gmail.com + 2023-12-13 21.1.10