mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
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>
This commit is contained in:
@@ -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;
|
||||
@@ -17,15 +17,17 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos
|
||||
IUSE="unicode"
|
||||
|
||||
DEPEND="virtual/libiconv"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.8.0-prefix.patch
|
||||
"${FILESDIR}"/${PN}-2.8.0.20200411-blockquote.patch
|
||||
"${FILESDIR}"/${PN}-2.8.0-towlower.patch
|
||||
"${FILESDIR}"/${PN}-2.8.0.20200411-list-alignment.patch
|
||||
"${FILESDIR}"/${P}-static.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}/${PN}-2.8.0-prefix.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.8.0.20200411-blockquote.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.8.0-towlower.patch"
|
||||
eapply "${FILESDIR}/${PN}-2.8.0.20200411-list-alignment.patch"
|
||||
|
||||
eapply_user
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# wcscasecmp needs extensions, which aren't enabled
|
||||
|
||||
Reference in New Issue
Block a user