Bug#893485: gjs: FTBFS on mips* - error: braces around scalar initializer for type 'int'
James Cowgill
jcowgill at debian.org
Mon Mar 19 10:28:04 UTC 2018
Source: gjs
Version: 1.52.0-1
Severity: serious
Tags: sid buster patch
Hi,
gjs FTBFS on mips* with this error:
> gjs/profiler.cpp: In function 'void gjs_profiler_start(GjsProfiler*)':
> gjs/profiler.cpp:380:33: error: braces around scalar initializer for type 'int'
> struct sigaction sa = {{ 0 }};
> ^
> make[2]: *** [Makefile:2422: gjs/libgjs_la-profiler.lo] Error 1
This happens because sigaction has an unusual layout on mips where the
first field is sa_flags instead of the usual sa_handler/sa_sigaction union.
I've attached a patch to fix this.
Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips-sigaction.patch
Type: text/x-patch
Size: 901 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180319/280236c3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180319/280236c3/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list