aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxmj <xmj@FreeBSD.org>2014-10-07 22:14:22 +0800
committerxmj <xmj@FreeBSD.org>2014-10-07 22:14:22 +0800
commit3efb17a0c8a39c8a545d99e4943c9c3f9974308f (patch)
treee7f0139cbfb11558d7d416fc4a32dab181d305c2
parent64546f492d6b834c6d4ae6c807754bfb0541627a (diff)
downloadfreebsd-ports-gnome-3efb17a0c8a39c8a545d99e4943c9c3f9974308f.tar.gz
freebsd-ports-gnome-3efb17a0c8a39c8a545d99e4943c9c3f9974308f.tar.zst
freebsd-ports-gnome-3efb17a0c8a39c8a545d99e4943c9c3f9974308f.zip
editors/sublime: amend patch
- Remove an import that cannot work on Python 2.7 Differential Revision: https://reviews.freebsd.org/D910 Approved by: swills (mentor)
-rw-r--r--editors/sublime/Makefile1
-rw-r--r--editors/sublime/files/patch-PackageSetup.py10
2 files changed, 7 insertions, 4 deletions
diff --git a/editors/sublime/Makefile b/editors/sublime/Makefile
index 104622b53070..c799b9b53c2c 100644
--- a/editors/sublime/Makefile
+++ b/editors/sublime/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sublime
PORTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= editors linux
MASTER_SITES= http://c758482.r82.cf2.rackcdn.com/
DISTNAME= Sublime%20Text%202.0.2
diff --git a/editors/sublime/files/patch-PackageSetup.py b/editors/sublime/files/patch-PackageSetup.py
index d82b41402591..5f636708ecc6 100644
--- a/editors/sublime/files/patch-PackageSetup.py
+++ b/editors/sublime/files/patch-PackageSetup.py
@@ -1,8 +1,10 @@
---- ./PackageSetup.py.orig 2014-03-22 14:57:27.290782685 +0200
-+++ ./PackageSetup.py 2014-03-22 14:57:40.220307481 +0200
-@@ -1,4 +1,4 @@
+--- PackageSetup.py.orig 2013-07-08 01:21:09 UTC
++++ PackageSetup.py
+@@ -1,6 +1,5 @@
-#!python
+#!/usr/bin/env python
- from __future__ import with_statement
+-from __future__ import with_statement
import glob
+ import os.path
+ import shutil