void-packages/srcpkgs/netsurf/patches/utf8proc-path.diff
Érico Nogueira 0a8b25c1a7 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.
2021-06-27 04:04:26 -03:00

13 lines
339 B
Diff

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 */