From 3268bdd775ddae95757e5dc98d9a369b17ae71f1 Mon Sep 17 00:00:00 2001
From: dcoppa <dcoppa@openbsd.org>
Date: Thu, 11 Oct 2012 10:30:23 +0000
Subject: [PATCH] Update to youtube-dl-2012.10.09

ok sthen@, pirofti@ (maintainer)
---
 www/youtube-dl/Makefile                                   | 4 ++--
 www/youtube-dl/distinfo                                   | 4 ++--
 www/youtube-dl/patches/patch-youtube_dl_FileDownloader_py | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/www/youtube-dl/Makefile b/www/youtube-dl/Makefile
index 37aec923dbe..553062347d4 100644
--- a/www/youtube-dl/Makefile
+++ b/www/youtube-dl/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.30 2012/10/01 08:57:12 dcoppa Exp $
+# $OpenBSD: Makefile,v 1.31 2012/10/11 10:30:23 dcoppa Exp $
 
 COMMENT =	command-line program to download videos from YouTube.com
 
-MODPY_EGG_VERSION = 2012.09.27
+MODPY_EGG_VERSION = 2012.10.09
 
 DISTNAME =	youtube-dl-${MODPY_EGG_VERSION}
 CATEGORIES =	www
diff --git a/www/youtube-dl/distinfo b/www/youtube-dl/distinfo
index 634df199d1b..a9597bfb2d1 100644
--- a/www/youtube-dl/distinfo
+++ b/www/youtube-dl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2012.09.27.tar.gz) = pNpWrYLiAEkIHVIA54CCqzEBh2lxYGYRBFPFIlNWZZg=
-SIZE (youtube-dl-2012.09.27.tar.gz) = 38920
+SHA256 (youtube-dl-2012.10.09.tar.gz) = uNDvettm48sLv62xA6osKzSWrvpNNuRdswCs08cBILY=
+SIZE (youtube-dl-2012.10.09.tar.gz) = 41578
diff --git a/www/youtube-dl/patches/patch-youtube_dl_FileDownloader_py b/www/youtube-dl/patches/patch-youtube_dl_FileDownloader_py
index 5669f8e1101..9483112a84b 100644
--- a/www/youtube-dl/patches/patch-youtube_dl_FileDownloader_py
+++ b/www/youtube-dl/patches/patch-youtube_dl_FileDownloader_py
@@ -1,7 +1,7 @@
-$OpenBSD: patch-youtube_dl_FileDownloader_py,v 1.1 2012/10/01 08:57:12 dcoppa Exp $
---- youtube_dl/FileDownloader.py.orig	Sat Sep 29 18:31:36 2012
-+++ youtube_dl/FileDownloader.py	Sat Sep 29 18:31:44 2012
-@@ -511,7 +511,7 @@ class FileDownloader(object):
+$OpenBSD: patch-youtube_dl_FileDownloader_py,v 1.2 2012/10/11 10:30:23 dcoppa Exp $
+--- youtube_dl/FileDownloader.py.orig	Sat Sep 29 15:45:41 2012
++++ youtube_dl/FileDownloader.py	Thu Oct 11 11:37:52 2012
+@@ -512,7 +512,7 @@ class FileDownloader(object):
  		# Download using rtmpdump. rtmpdump returns exit code 2 when
  		# the connection was interrumpted and resuming appears to be
  		# possible. This is part of rtmpdump's normal usage, AFAIK.