HomeFreeBSD

x11-wm/river: unbreak on aarch64 after 1f734d3bbcda

Description

x11-wm/river: unbreak on aarch64 after 1f734d3bbcda

zig-cache/zig-wayland/common.zig:103:21: error: cast increases pointer alignment

@ptrCast(*const fn (*Obj, Payload, Data) void, implementation)(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

zig-cache/zig-wayland/common.zig:103:68: note: '?*const anyopaque' has alignment '1'

@ptrCast(*const fn (*Obj, Payload, Data) void, implementation)(
                                               ^~~~~~~~~~~~~~

zig-cache/zig-wayland/common.zig:103:30: note: '*const fn(*river_layout_v3_server.LayoutV3, river_layout_v3_server.LayoutV3.Request, ?*anyopaque) void' has alignment '4'

@ptrCast(*const fn (*Obj, Payload, Data) void, implementation)(
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Inspired by: Alpine Linux

Details

Provenance
jbeichAuthored on Jan 18 2023, 7:41 PM
Parents
R11:250e12eac3d2: misc/dartsim: Update 6.12.2 -> 6.13.0
Branches
Unknown
Tags
Unknown