pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

vimb3-git: Add a workaround for upstream issue #438



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Oct 10 10:36:02 2018 +0200
Changeset:	1eb5b1cf030a8584ccea7d939ad75587694b48ce

Modified Files:
	vimb3-git/TODO
Added Files:
	vimb3-git/distinfo
	vimb3-git/patches/patch-src_ext-proxy.c
	vimb3-git/patches/patch-src_webextension_ext-main.c

Log Message:
vimb3-git: Add a workaround for upstream issue #438

Thanks a lot to Daniel Carl!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1eb5b1cf030a8584ccea7d939ad75587694b48ce

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 vimb3-git/TODO                                      |  4 ++++
 vimb3-git/distinfo                                  |  4 ++++
 vimb3-git/patches/patch-src_ext-proxy.c             | 17 +++++++++++++++++
 vimb3-git/patches/patch-src_webextension_ext-main.c | 17 +++++++++++++++++
 4 files changed, 42 insertions(+)

diffs:
diff --git a/vimb3-git/TODO b/vimb3-git/TODO
index 490bbe4da6..f323516e54 100644
--- a/vimb3-git/TODO
+++ b/vimb3-git/TODO
@@ -1,3 +1,7 @@
 - The webkit extension seems to be not loaded making vimb not very usable:
 
    <https://github.com/fanglingsu/vimb/issues/438>
+
+  The issue needs further investigation but at the moment
+  patches/patch-src_ext-proxy.c and patches/patch-src_webextension_ext-main.c
+  workaround this problem.
diff --git a/vimb3-git/distinfo b/vimb3-git/distinfo
new file mode 100644
index 0000000000..ee9c2de0a3
--- /dev/null
+++ b/vimb3-git/distinfo
@@ -0,0 +1,4 @@
+$NetBSD$
+
+SHA1 (patch-src_ext-proxy.c) = 8b9578140699d2104ff386e9500a8e32e8d277e8
+SHA1 (patch-src_webextension_ext-main.c) = 37136bcf73290fc16f0577a547b85dbd19c6a6f8
diff --git a/vimb3-git/patches/patch-src_ext-proxy.c b/vimb3-git/patches/patch-src_ext-proxy.c
new file mode 100644
index 0000000000..c9c341c14d
--- /dev/null
+++ b/vimb3-git/patches/patch-src_ext-proxy.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Workaround for:
+
+ <https://github.com/fanglingsu/vimb/issues/438>
+
+--- src/ext-proxy.c.orig	2018-10-10 08:19:21.505729509 +0000
++++ src/ext-proxy.c
+@@ -95,6 +95,8 @@ out:
+ static gboolean on_authorize_authenticated_peer(GDBusAuthObserver *observer,
+         GIOStream *stream, GCredentials *credentials, gpointer data)
+ {
++    return TRUE;
++
+     gboolean authorized = FALSE;
+ 
+     if (credentials) {
diff --git a/vimb3-git/patches/patch-src_webextension_ext-main.c b/vimb3-git/patches/patch-src_webextension_ext-main.c
new file mode 100644
index 0000000000..d46ac9bcf3
--- /dev/null
+++ b/vimb3-git/patches/patch-src_webextension_ext-main.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Workaround for:
+
+ <https://github.com/fanglingsu/vimb/issues/438>
+
+--- src/webextension/ext-main.c.orig	2018-10-10 08:19:21.506806584 +0000
++++ src/webextension/ext-main.c
+@@ -136,6 +136,8 @@ void webkit_web_extension_initialize_wit
+ static gboolean on_authorize_authenticated_peer(GDBusAuthObserver *observer,
+         GIOStream *stream, GCredentials *credentials, gpointer extension)
+ {
++    return TRUE;
++
+     gboolean authorized = FALSE;
+     if (credentials) {
+         GCredentials *own_credentials;


Home | Main Index | Thread Index | Old Index