Update to 0.2.11b and add a patch for llvm22. ok tb@

This commit is contained in:
matthieu
2026-05-23 17:08:28 +00:00
parent 202f0b8c2a
commit 1ed3dbc9c4
4 changed files with 30 additions and 11 deletions
+2 -3
View File
@@ -1,14 +1,13 @@
COMMENT = lightweight WM with an original look and feel
DISTNAME = uwm-0.2.11a
DISTNAME = uwm-0.2.11b
CATEGORIES = x11
REVISION = 1
HOMEPAGE = https://udeproject.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB = ICE SM X11 Xext Xmu Xpm c iconv intl jpeg pthread
WANTLIB = ICE SM X11 Xext Xmu Xpm c iconv intl jpeg
SITES = ${SITE_SOURCEFORGE:=udeproject/}
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (uwm-0.2.11a.tar.gz) = 3QVoV8mLdckgOGGRfbM7yvh7oHS90gTPcyzky3d8tAg=
SIZE (uwm-0.2.11a.tar.gz) = 633259
SHA256 (uwm-0.2.11b.tar.gz) = Zh8p8sFxjlwbBGsr0W4zW85yO31n8iCbki4OxH7NmO4=
SIZE (uwm-0.2.11b.tar.gz) = 705000
+20
View File
@@ -0,0 +1,20 @@
Fix build with llvm22 - actual bug.
Index: uwm/init.c
--- uwm/init.c.orig
+++ uwm/init.c
@@ -984,11 +984,11 @@ void ReadConfigFile(FILE *uwmrc)
ActiveWorkSpace][UDE_Shadow].pixel);
AllocColors(r,g,b,\
&TheScreen.Colors[TheScreen.desktop.\
- ActiveWorkSpace][UDE_Back],\
+ ActiveWorkSpace][UDE_Back].pixel,\
&TheScreen.Colors[TheScreen.desktop.\
- ActiveWorkSpace][UDE_Light],\
+ ActiveWorkSpace][UDE_Light].pixel,\
&TheScreen.Colors[TheScreen.desktop.\
- ActiveWorkSpace][UDE_Shadow]);
+ ActiveWorkSpace][UDE_Shadow].pixel);
break;
case FontColor:
if(ParseColor(p,&r,&g,&b)) {
+6 -6
View File
@@ -7,12 +7,12 @@ Index: uwm/workspaces.h
// These three lists will be declared in workspaces.c, and declared static
// so that no other module has direct access to them
-NodeList Workspaces;
-NodeList Layers;
-NodeList WS_Layer_Defaults; // This will be the list which handles setting up
+//NodeList Workspaces;
+//NodeList Layers;
+//NodeList WS_Layer_Defaults; // This will be the list which handles setting up
-extern NodeList Workspaces;
-extern NodeList Layers;
-extern NodeList WS_Layer_Defaults; // This will be the list which handles setting up
+//extern NodeList Workspaces;
+//extern NodeList Layers;
+//extern NodeList WS_Layer_Defaults; // This will be the list which handles setting up
// defaults for where windows will be mapped to.
// End three listings