summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-06-20 21:43:05 -0400
committerMichael Orlitzky <mjo@gentoo.org>2020-06-21 08:17:03 -0400
commitca7819ae8a75cab9e401e3106415a6528cdd1f52 (patch)
tree554500aa10affff00fd92eecbdaa3cc073b302b1 /www-client/netsurf/files
parentsys-devel/gcc-config: bump up to 2.3.1 (diff)
downloadgentoo-ca7819ae8a75cab9e401e3106415a6528cdd1f52.tar.gz
gentoo-ca7819ae8a75cab9e401e3106415a6528cdd1f52.tar.bz2
gentoo-ca7819ae8a75cab9e401e3106415a6528cdd1f52.zip
www-client/netsurf: new version 3.10.
This new version (bug 727882) combined with the removal of the old versions fixes some outstanding issues: * Fixes the mixup between ED/D (and EROOT, variously) throughout the build system (bug 489542). * Adds a dependency on dev-lang/duktape, but as a result, has to drop keywords for arm, ppc, and ppc64 (bugs 698650, 728592). * Adds a patch to fix the location of utf8proc.h (bug 721318) * Adds a patch to disable failing tests (bug 687378). * Drops the broken USE=pdf-writer flag (bug 625770). * Apparently fixes the test failure with USE="-gtk2", since the test suite now passes (bug 672812). * Eliminates another test failure in v3.8 (bug 701322). Bug: https://bugs.gentoo.org/489542 Closes: https://bugs.gentoo.org/625770 Closes: https://bugs.gentoo.org/672812 Closes: https://bugs.gentoo.org/687378 Closes: https://bugs.gentoo.org/698650 Closes: https://bugs.gentoo.org/701322 Closes: https://bugs.gentoo.org/721318 Closes: https://bugs.gentoo.org/727882 Bug: https://bugs.gentoo.org/728592 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'www-client/netsurf/files')
-rw-r--r--www-client/netsurf/files/netsurf-3.10-disable-failing-tests.patch42
-rw-r--r--www-client/netsurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch34
2 files changed, 76 insertions, 0 deletions
diff --git a/www-client/netsurf/files/netsurf-3.10-disable-failing-tests.patch b/www-client/netsurf/files/netsurf-3.10-disable-failing-tests.patch
new file mode 100644
index 00000000000..6ffcec002e0
--- /dev/null
+++ b/www-client/netsurf/files/netsurf-3.10-disable-failing-tests.patch
@@ -0,0 +1,42 @@
+From 4c3d6b10802b6747ba36b6e7c988f6b584352358 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 17 Jun 2020 17:42:34 -0400
+Subject: [PATCH 1/1] test: disable failing tests.
+
+Just cut them right out of the Makefile if they ain't gonna work.
+
+Bug: https://bugs.gentoo.org/687378
+Upstream-bug: https://bugs.netsurf-browser.org/mantis/view.php?id=2779
+---
+ test/Makefile | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/test/Makefile b/test/Makefile
+index 82ffee6..952d238 100644
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -5,8 +5,6 @@ TESTS := \
+ nsurl \
+ urldbtest \
+ nsoption \
+- bloom \
+- hashtable \
+ hashmap \
+ urlescape \
+ utils \
+@@ -47,12 +45,6 @@ messages_SRCS := utils/messages.c utils/hashtable.c test/log.c test/messages.c
+ # nsoption test sources
+ nsoption_SRCS := utils/nsoption.c test/log.c test/nsoption.c
+
+-# Bloom filter test sources
+-bloom_SRCS := utils/bloom.c test/bloom.c
+-
+-# hash table test sources
+-hashtable_SRCS := utils/hashtable.c test/log.c test/hashtable.c
+-
+ # hashmap test sources
+ hashmap_SRCS := $(NSURL_SOURCES) utils/hashmap.c utils/corestrings.c test/log.c test/hashmap.c
+ hashmap_LD := -lmalloc_fig
+--
+2.26.2
+
diff --git a/www-client/netsurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch b/www-client/netsurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch
new file mode 100644
index 00000000000..3a6ccc2466f
--- /dev/null
+++ b/www-client/netsurf/files/netsurf-3.10-julia-libutf8proc-header-location.patch
@@ -0,0 +1,34 @@
+From d585a1573819306bb3660db3f13a85b2fd254c63 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 17 Jun 2020 17:23:10 -0400
+Subject: [PATCH 1/1] utils/idna.c: adjust utf8proc.h header location.
+
+There are two upstreams for libutf8proc, and they each put utf8proc.h
+in a different location -- ostensibly as a performance art piece
+intended to remind the programmer that we as human beings are all
+slowly dying, and that our limited time here on earth should not be
+wasted. This commit switches the header location from the netsurf-
+upstream one that used to work, to the julia-upstream location that
+works now (that the Gentoo package follows the julia upstream).
+
+Bug: https://bugs.gentoo.org/721318
+---
+ utils/idna.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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 */
+--
+2.26.2
+