From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- .../files/netsurf-3.10-gcc10-fno-common.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 www-client/netsurf/files/netsurf-3.10-gcc10-fno-common.patch (limited to 'www-client/netsurf/files') diff --git a/www-client/netsurf/files/netsurf-3.10-gcc10-fno-common.patch b/www-client/netsurf/files/netsurf-3.10-gcc10-fno-common.patch new file mode 100644 index 000000000000..677004c51750 --- /dev/null +++ b/www-client/netsurf/files/netsurf-3.10-gcc10-fno-common.patch @@ -0,0 +1,23 @@ +Backport of upstream fix: https://git.netsurf-browser.org/netsurf.git/commit/?id=434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b + +https://bugs.netsurf-browser.org/mantis/view.php?id=2778 +https://bugs.gentoo.org/835379 +--- a/frontends/framebuffer/convert_font.c ++++ b/frontends/framebuffer/convert_font.c +@@ -290,14 +290,14 @@ bool generate_font_header(const char *path, struct font_data *data) + + + for (s = 0; s < 4; s++) { +- fprintf(fp, "const uint8_t *%s_section_table;\n", ++ fprintf(fp, "extern const uint8_t *%s_section_table;\n", + var_lables[s]); +- fprintf(fp, "const uint16_t *%s_sections;\n", ++ fprintf(fp, "extern const uint16_t *%s_sections;\n", + var_lables[s]); + + } + +- fprintf(fp, "const uint8_t *font_glyph_data;\n"); ++ fprintf(fp, "extern const uint8_t *font_glyph_data;\n"); + + fprintf(fp, "\n\n"); -- cgit v1.2.3