unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob a66632c0e0f7fecf3d45af4a5f4359c90fdbd2d4 978 bytes (raw)
name: gnu/packages/patches/anki-mpv-args.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
From 0e2c723f2b920f96937725a12e3db13c14795117 Mon Sep 17 00:00:00 2001
From: Robert Smith <robertsmith@posteo.net>
Date: Thu, 27 Feb 2020 20:07:08 +0100
Subject: [PATCH] Fix mpv argument formatting

---
mpv now requires that the input-ipc-server argument be passed with an
equals sign and without any spaces.  This is a slightly out-of-date
version of anki, so presumably mpv used to be more lenient with
command line arguments.
---
 anki/mpv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/anki/mpv.py b/anki/mpv.py
index f53d9d0..c6e7dd7 100644
--- a/anki/mpv.py
+++ b/anki/mpv.py
@@ -104,7 +104,7 @@ class MPVBase:
         """
         self.argv = [self.executable]
         self.argv += self.default_argv
-        self.argv += ["--input-ipc-server", self._sock_filename]
+        self.argv += ["--input-ipc-server=" + self._sock_filename]
         if self.window_id is not None:
             self.argv += ["--wid", str(self.window_id)]
 
-- 
2.25.0


debug log:

solving a66632c0e0 ...
found a66632c0e0 in https://yhetil.org/guix-patches/20200227200909.16365-1-robertsmith@posteo.net/

applying [1/1] https://yhetil.org/guix-patches/20200227200909.16365-1-robertsmith@posteo.net/
diff --git a/gnu/packages/patches/anki-mpv-args.patch b/gnu/packages/patches/anki-mpv-args.patch
new file mode 100644
index 0000000000..a66632c0e0

1:33: trailing whitespace.
 
1:34: trailing whitespace.
-- 
Checking patch gnu/packages/patches/anki-mpv-args.patch...
1:36: new blank line at EOF.
+
Applied patch gnu/packages/patches/anki-mpv-args.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 a66632c0e0f7fecf3d45af4a5f4359c90fdbd2d4	gnu/packages/patches/anki-mpv-args.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).