pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
luakit-git: add a patch for luakit PR 737
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Sun Nov 25 11:22:39 2018 +0200
Changeset: 1e74a5c81cf5172228550cf2bbc1f89e5b378fcc
Modified Files:
luakit-git/distinfo
Added Files:
luakit-git/patches/patch-widgets_webview.c
Log Message:
luakit-git: add a patch for luakit PR 737
Only signal "mime-type-decision" for a succesful response
(https://github.com/luakit/luakit/pull/737).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1e74a5c81cf5172228550cf2bbc1f89e5b378fcc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
luakit-git/distinfo | 1 +
luakit-git/patches/patch-widgets_webview.c | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diffs:
diff --git a/luakit-git/distinfo b/luakit-git/distinfo
index bee64336e1..64142f49b5 100644
--- a/luakit-git/distinfo
+++ b/luakit-git/distinfo
@@ -5,3 +5,4 @@ RMD160 (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf39
SHA512 (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf3903c3947779f8c4d4.zip) = f493fde91e87b8bd40f3a90b558c4d297ed31bc00e6924660a5c1fa55aa35bfd2eb7c8a6a7ea1d6b9ef7d095d358659d350ca92fbc6f654a9df9a1544ce30fdf
Size (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf3903c3947779f8c4d4.zip) = 518360 bytes
SHA1 (patch-lib_window.lua) = cdbea2b3a9cca18c6e3a6b682cdb33b44ef286c0
+SHA1 (patch-widgets_webview.c) = 25550c4dc7fcacf6a8e486afdbe38e19a8df3bb4
diff --git a/luakit-git/patches/patch-widgets_webview.c b/luakit-git/patches/patch-widgets_webview.c
new file mode 100644
index 0000000000..7db3e4cdaa
--- /dev/null
+++ b/luakit-git/patches/patch-widgets_webview.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Only signal "mime-type-decision" for a succesful response.
+https://github.com/luakit/luakit/pull/737
+
+--- widgets/webview.c.orig 2018-10-07 06:06:13.000000000 +0000
++++ widgets/webview.c
+@@ -487,6 +487,9 @@ decide_policy_cb(WebKitWebView* UNUSED(v
+ const gchar *uri = webkit_uri_response_get_uri(r);
+ const gchar *mime = webkit_uri_response_get_mime_type(r);
+
++ if(!SOUP_STATUS_IS_SUCCESSFUL(webkit_uri_response_get_status_code(r)))
++ return FALSE;
++
+ luaH_object_push(L, w->ref);
+ lua_pushstring(L, uri);
+ lua_pushstring(L, mime);
Home |
Main Index |
Thread Index |
Old Index