-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/c_linux.zig | ||
+++ b/c_linux.zig | ||
@@ -1,5 +1,9 @@ | ||
// /usr/include/pango-1.0/pango/pango-glyph.h:105:9: warning: struct demoted to opaque type - has bitfield | ||
-pub const struct__PangoGlyphVisAttr = opaque {}; | ||
+pub const struct__PangoGlyphVisAttr = packed struct(u32) { | ||
+ is_cluster_start: bool, | ||
+ is_color: bool, | ||
+ _: u30, | ||
+}; | ||
pub const PangoGlyphVisAttr = struct__PangoGlyphVisAttr; | ||
pub const struct__PangoGlyphInfo = extern struct { | ||
glyph: PangoGlyph = @import("std").mem.zeroes(PangoGlyph), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/bash | ||
pkg_rel=1 # used to trigger ci without actual changes | ||
zig translate-c -cflags $(pkg-config --cflags gtk4) -- /usr/include/gtk-4.0/gtk/gtk.h -I/usr/include -I/usr/include/x86_64-linux-gnu/ >c_linux.zig | ||
zig translate-c -cflags $(pkg-config --cflags gtk4) -- /usr/include/gtk-4.0/gtk/gtk.h -I/usr/include -I/usr/include/x86_64-linux-gnu/ >c_linux.zig | ||
patch c_linux.zig c_linux.patch |