netsurf: fix build.

The libutf8proc package was moving its header around because netsurf
required it in a specific position. Since we are removing this
workaround from libutf8proc, and an eventual move to JuliaLang's
utf8proc upstream would also make it necessary, it's easier to simply
patch netsurf.
This commit is contained in:
Érico Nogueira 2021-06-27 03:59:36 -03:00
parent 07e9866649
commit 0a8b25c1a7

View file

@ -0,0 +1,13 @@
diff --git a/utils/idna.c b/utils/idna.c
index 628ef1f..f6e498a 100644
--- a/utils/idna.c
+++ b/utils/idna.c
@@ -167,7 +167,7 @@ idna__ace_to_ucs4(const char *ace_label,
#ifdef WITH_UTF8PROC
-#include <libutf8proc/utf8proc.h>
+#include <utf8proc.h>
int32_t idna_contexto[] = {
/* CONTEXTO codepoints which have a rule defined */