From ec050f50078fd08bd33107e059195292dc253c72 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Fri, 29 Apr 2022 21:35:23 +0000 Subject: user/gobject-introspection: bump { 1.66.1 --> 1.72.0 }. fixes #618. --- user/gobject-introspection/musl-time64.patch | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/gobject-introspection/musl-time64.patch (limited to 'user/gobject-introspection/musl-time64.patch') diff --git a/user/gobject-introspection/musl-time64.patch b/user/gobject-introspection/musl-time64.patch new file mode 100644 index 000000000..53066bebb --- /dev/null +++ b/user/gobject-introspection/musl-time64.patch @@ -0,0 +1,37 @@ +--- a/giscanner/ast.py ++++ b/giscanner/ast.py +@@ -346,7 +346,8 @@ + type_names['ssize_t'] = type_names['gssize'] + type_names['uintptr_t'] = type_names['guintptr'] + type_names['intptr_t'] = type_names['gintptr'] +-type_names['time_t'] = TYPE_LONG ++# musl libc 1.2 and newer uses 64 time_t for all arches ++type_names['time_t'] = TYPE_INT64 + type_names['off_t'] = type_names['gsize'] + type_names['pid_t'] = TYPE_INT + type_names['uid_t'] = TYPE_UINT +--- a/tests/scanner/Regress-1.0-expected.gir ++++ b/tests/scanner/Regress-1.0-expected.gir +@@ -2003,7 +2003,7 @@ uses a C sugar return type. + + + +- ++ + + + +@@ -8381,11 +8381,11 @@ https://bugzilla.gnome.org/show_bug.cgi?id=685399 + + + +- ++ + + + +- ++ + + + -- cgit v1.2.3-60-g2f50