From 786afd3bcfc5aefc373ea1b6d6f6e78da2d09f26 Mon Sep 17 00:00:00 2001
From: Dmitry Marakasov <amdmi3@FreeBSD.org>
Date: Thu, 25 Jun 2015 10:35:06 +0000
Subject: - Swich default pastebin to a working one

---
 misc/pastebinit/Makefile               |  2 +-
 misc/pastebinit/files/patch-pastebinit | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 misc/pastebinit/files/patch-pastebinit

diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile
index 069b6998c969..aeba55e74b2f 100644
--- a/misc/pastebinit/Makefile
+++ b/misc/pastebinit/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	pastebinit
 PORTVERSION=	1.4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc python
 MASTER_SITES=	https://launchpad.net/pastebinit/trunk/${PORTVERSION}/+download/
 
diff --git a/misc/pastebinit/files/patch-pastebinit b/misc/pastebinit/files/patch-pastebinit
new file mode 100644
index 000000000000..3339caac75b2
--- /dev/null
+++ b/misc/pastebinit/files/patch-pastebinit
@@ -0,0 +1,11 @@
+--- pastebinit.orig	2014-01-18 04:52:04 UTC
++++ pastebinit
+@@ -33,7 +33,7 @@ else:
+     from urllib.request import FancyURLopener
+ 
+ # Set the default pastebin
+-defaultPB = "http://pastebin.com"
++defaultPB = "http://paste2.org"
+ 
+ # Now try to override it with a distributor pastebin
+ try:
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0