Add support for gopher:// URLs - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 0023280f47b54feb96a00c29c4b2fbd508ada2ae
(DIR) parent a468d52775491e062874b80db517b1fac6aa0dd2
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Fri, 27 Sep 2019 15:49:55
Add support for gopher:// URLs
Diffstat:
multimedia/mpv/patch-stream_stream__lavf.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff -r a468d5277549 -r 0023280f47b5 multimedia/mpv/patch-stream_stream__lavf.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mpv/patch-stream_stream__lavf.c Fri Sep 27 15:49:55 2019 +0200
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add gopher support.
+
+--- stream/stream_lavf.c.orig 2018-10-02 19:03:41.000000000 +0000
++++ stream/stream_lavf.c
+@@ -409,7 +409,7 @@ const stream_info_t stream_info_ffmpeg =
+ .protocols = (const char *const[]){
+ "rtmp", "rtsp", "http", "https", "mms", "mmst", "mmsh", "mmshttp", "rtp",
+ "httpproxy", "rtmpe", "rtmps", "rtmpt", "rtmpte", "rtmpts", "srtp",
+- "data",
++ "gopher", "data",
+ NULL },
+ .can_write = true,
+ .is_safe = true,