View | Details | Raw Unified | Return to bug 281830
Collapse All | Expand All

(-)b/x11-wm/picom/Makefile (+1 lines)
Lines 1-6 Link Here
1
PORTNAME=	picom
1
PORTNAME=	picom
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	12.1
3
DISTVERSION=	12.1
4
PORTREVISION=	1
4
CATEGORIES=	x11-wm
5
CATEGORIES=	x11-wm
5
6
6
MAINTAINER=	yukiteruamano@volfread.xyz
7
MAINTAINER=	yukiteruamano@volfread.xyz
(-)b/x11-wm/picom/files/patch-src_transition_script.h (+12 lines)
Added Link Here
1
# Official fixes for 32-bit compilation
2
--- src/transition/script.h.orig	2024-09-28 23:22:13 UTC
3
+++ src/transition/script.h
4
@@ -45,8 +45,6 @@ typedef struct config_setting_t config_setting_t;
5
 	SCRIPT_EVAL_OK,
6
 };
7
 typedef struct config_setting_t config_setting_t;
8
-static_assert(alignof(double) > alignof(unsigned), "double/unsigned has unexpected "
9
-                                                   "alignment");
10
 
11
 #define SCRIPT_CTX_PLACEHOLDER_BASE (0x40000000)
12
 
(-)b/x11-wm/picom/files/patch-src_vblank.c (+12 lines)
Added Link Here
1
# Official fixes for 32-bit compilation
2
--- src/vblank.c.orig	2024-09-28 23:22:13 UTC
3
+++ src/vblank.c
4
@@ -409,7 +409,7 @@ static void handle_present_complete_notify(struct pres
5
 
6
 	struct timespec now;
7
 	clock_gettime(CLOCK_MONOTONIC, &now);
8
-	auto now_us = (unsigned long)(now.tv_sec * 1000000L + now.tv_nsec / 1000);
9
+	auto now_us = (uint64_t)now.tv_sec * 1000000UL + (uint64_t)now.tv_nsec / 1000;
10
 
11
 	// X sometimes sends duplicate/bogus MSC events, when screen has just been turned
12
 	// off. Don't use the msc value in these events. We treat this as not receiving a
(-)b/x11-wm/picom/files/patch-src_wm_wm.h (-1 / +12 lines)
Added Link Here
0
- 
1
# Official fixes for 32-bit compilation
2
--- src/wm/wm.h.orig	2024-09-28 23:22:13 UTC
3
+++ src/wm/wm.h
4
@@ -63,7 +63,7 @@ typedef struct wm_treeid {
5
 typedef struct wm_treeid {
6
 	/// The generation of the window ID. This is used to detect if the window ID is
7
 	/// reused. Inherited from the wm_tree at cr
8
-	uint64_t gen;
9
+	alignas(8) uint64_t gen;
10
 	/// The X window ID.
11
 	xcb_window_t x;
12
 

Return to bug 281830