aboutsummaryrefslogtreecommitdiff
path: root/net/mediatomb
diff options
context:
space:
mode:
authorMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2010-11-29 14:43:35 +0000
committerMIHIRA Sanpei Yoshiro <sanpei@FreeBSD.org>2010-11-29 14:43:35 +0000
commited6738970fc9326ba82f482b4c9a63de811365dc (patch)
treebaa72c9c75a3e096d6f32f7a02469d4eb7e48c97 /net/mediatomb
parentb044a8117b0a41ba268675312e7b284cb5e68fa9 (diff)
downloadports-ed6738970fc9326ba82f482b4c9a63de811365dc.tar.gz
ports-ed6738970fc9326ba82f482b4c9a63de811365dc.zip
Notes
Diffstat (limited to 'net/mediatomb')
-rw-r--r--net/mediatomb/Makefile2
-rw-r--r--net/mediatomb/files/patch-youtube_video_url.cc11
2 files changed, 12 insertions, 1 deletions
diff --git a/net/mediatomb/Makefile b/net/mediatomb/Makefile
index 21de7621d44d..78e7cead5dc5 100644
--- a/net/mediatomb/Makefile
+++ b/net/mediatomb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mediatomb
PORTVERSION= 0.12.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net multimedia
MASTER_SITES= SF/${PORTNAME}/MediaTomb/${PORTVERSION}
diff --git a/net/mediatomb/files/patch-youtube_video_url.cc b/net/mediatomb/files/patch-youtube_video_url.cc
new file mode 100644
index 000000000000..4f2146e854a5
--- /dev/null
+++ b/net/mediatomb/files/patch-youtube_video_url.cc
@@ -0,0 +1,11 @@
+--- src/youtube_video_url.cc.org 2010-04-04 05:23:31.000000000 +0900
++++ src/youtube_video_url.cc 2010-11-06 20:38:26.296613788 +0900
+@@ -47,7 +47,7 @@
+ #define YOUTUBE_URL_PARAMS_REGEXP "var swfHTML.*\\;"
+ #define YOUTUBE_URL_LOCATION_REGEXP "\nLocation: (http://[^\n]+)\n"
+ #define YOUTUBE_URL_WATCH "http://www.youtube.com/watch?v="
+-#define YOUTUBE_URL_GET "http://www.youtube.com/get_video?"
++#define YOUTUBE_URL_GET "http://www.youtube.com/get_video?asv=3&"
+ #define YOUTUBE_URL_PARAM_VIDEO_ID "video_id"
+ #define YOUTUBE_URL_PARAM_T_REGEXP ".*&t=([^&]+)&"
+ #define YOUTUBE_URL_PARAM_T "t"