aboutsummaryrefslogtreecommitdiff
path: root/x11/kitty/files/patch-kitty_data-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kitty/files/patch-kitty_data-types.h')
-rw-r--r--x11/kitty/files/patch-kitty_data-types.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/kitty/files/patch-kitty_data-types.h b/x11/kitty/files/patch-kitty_data-types.h
new file mode 100644
index 000000000000..fecb5ab2d450
--- /dev/null
+++ b/x11/kitty/files/patch-kitty_data-types.h
@@ -0,0 +1,19 @@
+--- kitty/data-types.h.orig 2022-08-13 20:17:56 UTC
++++ kitty/data-types.h
+@@ -164,14 +164,14 @@ typedef struct {
+ sprite_index sprite_x, sprite_y, sprite_z;
+ CellAttrs attrs;
+ } GPUCell;
+-static_assert(sizeof(GPUCell) == 20, "Fix the ordering of GPUCell");
++_Static_assert(sizeof(GPUCell) == 20, "Fix the ordering of GPUCell");
+
+ typedef struct {
+ char_type ch;
+ hyperlink_id_type hyperlink_id;
+ combining_type cc_idx[3];
+ } CPUCell;
+-static_assert(sizeof(CPUCell) == 12, "Fix the ordering of CPUCell");
++_Static_assert(sizeof(CPUCell) == 12, "Fix the ordering of CPUCell");
+
+ typedef enum { UNKNOWN_PROMPT_KIND = 0, PROMPT_START = 1, SECONDARY_PROMPT = 2, OUTPUT_START = 3 } PromptKind;
+ typedef union LineAttrs {