diff options
author | tsutsui <tsutsui@pkgsrc.org> | 2019-06-01 01:15:53 +0000 |
---|---|---|
committer | tsutsui <tsutsui@pkgsrc.org> | 2019-06-01 01:15:53 +0000 |
commit | 810456f59cd4f1b4f9640ccd944b10295ab3f366 (patch) | |
tree | 311a036c0322999a584e19fe19c9fb20cdfc0a71 /multimedia | |
parent | ef6762ae9cb548086fd4e663b9757b5356803417 (diff) | |
download | pkgsrc-810456f59cd4f1b4f9640ccd944b10295ab3f366.tar.gz |
mpv: make alsa option usable on NetBSD.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpv/distinfo | 3 | ||||
-rw-r--r-- | multimedia/mpv/patches/patch-audio_out_ao__alsa.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo index 3d19873e82b..0251201d875 100644 --- a/multimedia/mpv/distinfo +++ b/multimedia/mpv/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.51 2019/02/05 12:07:57 leot Exp $ +$NetBSD: distinfo,v 1.52 2019/06/01 01:15:53 tsutsui Exp $ SHA1 (mpv-0.29.1.tar.gz) = 83f2bc0eb5a8bec9a9d5efc7de0e19a442238ac5 RMD160 (mpv-0.29.1.tar.gz) = 72a4fda3a72ac4fd37ed04435833fa2cf378a012 SHA512 (mpv-0.29.1.tar.gz) = ec57c9ceaaf2915ee237dd5a1c5ea5d22725d8611e28a9b998e5bb0d8ab5bdf3631d0267fc7b54da31cb1eaa145ef35841e68846bd41c3b9e1024902e92fd086 Size (mpv-0.29.1.tar.gz) = 3059503 bytes +SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0 SHA1 (patch-audio_out_ao__oss.c) = 824c214d0d4464b94e46a922ede4045ae537a534 SHA1 (patch-player_main.c) = e794199990059cc95050032194bca70557c381d7 SHA1 (patch-video_out_drm__common.c) = facb8d99fe31119618866c9af512a60e54b4ea6c diff --git a/multimedia/mpv/patches/patch-audio_out_ao__alsa.c b/multimedia/mpv/patches/patch-audio_out_ao__alsa.c new file mode 100644 index 00000000000..6a67e505156 --- /dev/null +++ b/multimedia/mpv/patches/patch-audio_out_ao__alsa.c @@ -0,0 +1,18 @@ +$NetBSD: patch-audio_out_ao__alsa.c,v 1.1 2019/06/01 01:15:54 tsutsui Exp $ + +- pull a compat definition of ESTRPIPE for non-Linux OSes + from alsa-lib-1.1.4.1/include/type_compat.h + +--- audio/out/ao_alsa.c.orig 2018-10-02 19:03:41.000000000 +0000 ++++ audio/out/ao_alsa.c +@@ -49,6 +49,10 @@ + #define HAVE_CHMAP_API 0 + #endif + ++#ifndef ESTRPIPE ++#define ESTRPIPE EPIPE ++#endif ++ + #include "ao.h" + #include "internal.h" + #include "audio/format.h" |