summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-03-02 21:33:11 +0100
committerSam James <sam@gentoo.org>2021-03-03 16:51:47 +0000
commitd3cc3f87f750b9de69cbc9c1b21efc1df4e033f8 (patch)
tree7db7a96cb505c65c25b96d122835a299228f02cd /app-text/vilistextum/files
parentsci-geosciences/gmt: Apply gcc-10 workaround (diff)
downloadgentoo-d3cc3f87f750b9de69cbc9c1b21efc1df4e033f8.tar.gz
gentoo-d3cc3f87f750b9de69cbc9c1b21efc1df4e033f8.tar.bz2
gentoo-d3cc3f87f750b9de69cbc9c1b21efc1df4e033f8.zip
app-text/vilistextum: Fix static variable declaration
Closes: https://bugs.gentoo.org/752051 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/vilistextum/files')
-rw-r--r--app-text/vilistextum/files/vilistextum-2.8.0.20200411-static.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-text/vilistextum/files/vilistextum-2.8.0.20200411-static.patch b/app-text/vilistextum/files/vilistextum-2.8.0.20200411-static.patch
new file mode 100644
index 000000000000..4f96862216b2
--- /dev/null
+++ b/app-text/vilistextum/files/vilistextum-2.8.0.20200411-static.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/752051
+--- a/src/html.c
++++ b/src/html.c
+@@ -47,7 +47,7 @@ CHAR attr_name[DEF_STR_LEN], /* Attribut name of a HTML-Tag */
+ /* ------------------------------------------------ */
+ #if defined(MULTIBYTE) && !defined(HAVE_WCSCASECMP)
+ #include <wchar.h>
+-static int wcscasecmp(const wchar_t *s1, const wchar_t *s2)
++extern int wcscasecmp(const wchar_t *s1, const wchar_t *s2)
+ {
+ size_t i;
+ wint_t c1, c2;