diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-07-14 00:52:26 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-07-14 00:52:26 +0000 |
commit | 08f94721491d557c3e824b316120f1a55d590b9d (patch) | |
tree | 49bcfc2958f34d3849f1a2413bd39d5cd14c3e25 /devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c | |
parent | security/tor-devel: Update 0.3.4.4 -> 0.3.4.5 (diff) |
Attempt to fix build with clang6.
Diffstat (limited to 'devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c')
-rw-r--r-- | devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c b/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c new file mode 100644 index 000000000000..e0e328e1d1ba --- /dev/null +++ b/devel/arm-none-eabi-gcc492/files/patch-gcc_stor-layout.c @@ -0,0 +1,11 @@ +--- gcc/stor-layout.c.orig 2014-10-15 10:27:26 UTC ++++ gcc/stor-layout.c +@@ -236,7 +236,7 @@ self_referential_size (tree size) + fntype = build_function_type (return_type, param_type_list); + + /* Build the function declaration. */ +- sprintf (buf, "SZ"HOST_WIDE_INT_PRINT_UNSIGNED, fnno++); ++ sprintf (buf, "SZ" HOST_WIDE_INT_PRINT_UNSIGNED, fnno++); + fnname = get_file_function_name (buf); + fndecl = build_decl (input_location, FUNCTION_DECL, fnname, fntype); + for (t = param_decl_list; t; t = DECL_CHAIN (t)) |