2020-05-26 21:50:10 +02:00
|
|
|
Fix include directory for system utf8proc.
|
gnu: netsurf: Use unbundled source.
* gnu/packages/patches/netsurf-system-utf8proc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (netsurf)[source]: Use it. Change to unbundled source
tarball.
[native-inputs]: Add netsurf-buildsystem, nsgenbind. Remove flex, bison.
[inputs]: Add utf8proc, libcss, libdom, libnsbmp, libnsgif, libnspsl,
libnsutils, libsvgtiny. Remove expat, gperf.
[arguments]: Adjust #:make-flags for netsurf-buildsystem. Delete configure
phase. Adjust source directories.
2017-02-12 19:52:21 +01:00
|
|
|
|
2020-05-26 21:50:10 +02:00
|
|
|
--- netsurf-3.10/utils/idna.c
|
|
|
|
+++ netsurf-3.10/utils/idna.c
|
|
|
|
@@ -167,7 +167,7 @@
|
gnu: netsurf: Use unbundled source.
* gnu/packages/patches/netsurf-system-utf8proc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (netsurf)[source]: Use it. Change to unbundled source
tarball.
[native-inputs]: Add netsurf-buildsystem, nsgenbind. Remove flex, bison.
[inputs]: Add utf8proc, libcss, libdom, libnsbmp, libnsgif, libnspsl,
libnsutils, libsvgtiny. Remove expat, gperf.
[arguments]: Adjust #:make-flags for netsurf-buildsystem. Delete configure
phase. Adjust source directories.
2017-02-12 19:52:21 +01:00
|
|
|
|
2020-05-26 21:50:10 +02:00
|
|
|
#ifdef WITH_UTF8PROC
|
gnu: netsurf: Use unbundled source.
* gnu/packages/patches/netsurf-system-utf8proc.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/web.scm (netsurf)[source]: Use it. Change to unbundled source
tarball.
[native-inputs]: Add netsurf-buildsystem, nsgenbind. Remove flex, bison.
[inputs]: Add utf8proc, libcss, libdom, libnsbmp, libnsgif, libnspsl,
libnsutils, libsvgtiny. Remove expat, gperf.
[arguments]: Adjust #:make-flags for netsurf-buildsystem. Delete configure
phase. Adjust source directories.
2017-02-12 19:52:21 +01:00
|
|
|
|
|
|
|
-#include <libutf8proc/utf8proc.h>
|
|
|
|
+#include <utf8proc.h>
|
|
|
|
|
2020-05-26 21:50:10 +02:00
|
|
|
int32_t idna_contexto[] = {
|
|
|
|
/* CONTEXTO codepoints which have a rule defined */
|