pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Adjust two MP_ERR printf-s (missin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eea3efb25b50
branches:  trunk
changeset: 425051:eea3efb25b50
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Mar 18 11:49:21 2020 +0000

description:
mpv: Adjust two MP_ERR printf-s (missing \n and wrong `device' was printed)

OK <nia>, thanks!

diffstat:

 multimedia/mpv/Makefile                             |  4 ++--
 multimedia/mpv/distinfo                             |  4 ++--
 multimedia/mpv/patches/patch-audio_out_ao__netbsd.c |  8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (58 lines):

diff -r 7fff8d4829fe -r eea3efb25b50 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Wed Mar 18 10:08:32 2020 +0000
+++ b/multimedia/mpv/Makefile   Wed Mar 18 11:49:21 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.103 2020/03/17 11:36:04 nia Exp $
+# $NetBSD: Makefile,v 1.104 2020/03/18 11:49:21 leot Exp $
 
 DISTNAME=      mpv-0.32.0
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 7fff8d4829fe -r eea3efb25b50 multimedia/mpv/distinfo
--- a/multimedia/mpv/distinfo   Wed Mar 18 10:08:32 2020 +0000
+++ b/multimedia/mpv/distinfo   Wed Mar 18 11:49:21 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2020/03/16 21:20:02 wiz Exp $
+$NetBSD: distinfo,v 1.63 2020/03/18 11:49:21 leot Exp $
 
 SHA1 (mpv-0.32.0.tar.gz) = 5b69ea34dd5f8d209acd5266415c7bc00ab83341
 RMD160 (mpv-0.32.0.tar.gz) = d1e399fce8985a0399fe627248b87d8537cfefd7
@@ -7,7 +7,7 @@
 SHA1 (patch-DOCS_man_ao.rst) = 5940fe1ad4d4328c03b9e6e5265c517762cfe2d0
 SHA1 (patch-audio_out_ao.c) = 1527c818d0f50801485ad3b90c5d86b30b2ca6f1
 SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0
-SHA1 (patch-audio_out_ao__netbsd.c) = a0cdd3c10cf2320c738ff88a51f380675b123022
+SHA1 (patch-audio_out_ao__netbsd.c) = 544b976fae4d672a4f99b226b949f5f338712820
 SHA1 (patch-options_options.c) = c75fb27140ad21e0a11c6ded976116c544661f56
 SHA1 (patch-player_main.c) = 7d1d62091c327fca698844004ddb9a7871e15fce
 SHA1 (patch-video_out_drm__common.c) = a545a8aec29f1b3c44d26aacbc59b86d3333a0b9
diff -r 7fff8d4829fe -r eea3efb25b50 multimedia/mpv/patches/patch-audio_out_ao__netbsd.c
--- a/multimedia/mpv/patches/patch-audio_out_ao__netbsd.c       Wed Mar 18 10:08:32 2020 +0000
+++ b/multimedia/mpv/patches/patch-audio_out_ao__netbsd.c       Wed Mar 18 11:49:21 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-audio_out_ao__netbsd.c,v 1.2 2020/03/16 20:58:18 nia Exp $
+$NetBSD: patch-audio_out_ao__netbsd.c,v 1.3 2020/03/18 11:49:21 leot Exp $
 
 NetBSD audio support.
 
---- audio/out/ao_netbsd.c.orig 2020-03-16 20:38:28.287433271 +0000
+--- audio/out/ao_netbsd.c.orig 2020-03-18 11:11:11.484992180 +0000
 +++ audio/out/ao_netbsd.c
 @@ -0,0 +1,263 @@
 +/*
@@ -80,10 +80,10 @@
 +                        ao->device + sizeof("netbsd/") - 1);
 +    }
 +
-+    MP_ERR(ao, "Opening device %s", ao->device);
++    MP_ERR(ao, "Opening device %s\n", device);
 +    if ((p->fd = open(device, O_WRONLY)) == -1) {
 +        MP_ERR(ao, "Can't open audio device %s: %s\n",
-+               ao->device, mp_strerror(errno));
++               device, mp_strerror(errno));
 +        goto fail;
 +    }
 +



Home | Main Index | Thread Index | Old Index