From 0a8b25c1a7993e1b066b29b29e83be0e9b5dd3a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Sun, 27 Jun 2021 03:59:36 -0300 Subject: [PATCH] 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. --- srcpkgs/netsurf/patches/utf8proc-path.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/netsurf/patches/utf8proc-path.diff diff --git a/srcpkgs/netsurf/patches/utf8proc-path.diff b/srcpkgs/netsurf/patches/utf8proc-path.diff new file mode 100644 index 00000000000..f83673c4b13 --- /dev/null +++ b/srcpkgs/netsurf/patches/utf8proc-path.diff @@ -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 ++#include + + int32_t idna_contexto[] = { + /* CONTEXTO codepoints which have a rule defined */