summaryrefslogtreecommitdiff
path: root/devel/arm-none-eabi-gcc492/files/patch-gcc_dwarf2out.c
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-07-14 00:52:26 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-07-14 00:52:26 +0000
commit08f94721491d557c3e824b316120f1a55d590b9d (patch)
tree49bcfc2958f34d3849f1a2413bd39d5cd14c3e25 /devel/arm-none-eabi-gcc492/files/patch-gcc_dwarf2out.c
parentsecurity/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_dwarf2out.c')
-rw-r--r--devel/arm-none-eabi-gcc492/files/patch-gcc_dwarf2out.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/arm-none-eabi-gcc492/files/patch-gcc_dwarf2out.c b/devel/arm-none-eabi-gcc492/files/patch-gcc_dwarf2out.c
new file mode 100644
index 000000000000..a220de0b1ce9
--- /dev/null
+++ b/devel/arm-none-eabi-gcc492/files/patch-gcc_dwarf2out.c
@@ -0,0 +1,13 @@
+--- gcc/dwarf2out.c.orig 2014-10-01 20:57:44 UTC
++++ gcc/dwarf2out.c
+@@ -5324,8 +5324,8 @@ print_die (dw_die_ref die, FILE *outfile
+ fprintf (outfile, HOST_WIDE_INT_PRINT_UNSIGNED, AT_unsigned (a));
+ break;
+ case dw_val_class_const_double:
+- fprintf (outfile, "constant ("HOST_WIDE_INT_PRINT_DEC","\
+- HOST_WIDE_INT_PRINT_UNSIGNED")",
++ fprintf (outfile, "constant (" HOST_WIDE_INT_PRINT_DEC ","\
++ HOST_WIDE_INT_PRINT_UNSIGNED ")",
+ a->dw_attr_val.v.val_double.high,
+ a->dw_attr_val.v.val_double.low);
+ break;