summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/grc/files/grc-1.9-python3.patch')
-rw-r--r--app-misc/grc/files/grc-1.9-python3.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/app-misc/grc/files/grc-1.9-python3.patch b/app-misc/grc/files/grc-1.9-python3.patch
deleted file mode 100644
index 9f4db14a2eec..000000000000
--- a/app-misc/grc/files/grc-1.9-python3.patch
+++ /dev/null
@@ -1,41 +0,0 @@
- grc | 2 ++
- grcat | 8 +++-----
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/grc b/grc
-index 56a53b4..19afe7c 100755
---- a/grc
-+++ b/grc
-@@ -1,5 +1,7 @@
- #! /usr/bin/python
-
-+from __future__ import print_function
-+
- import os, re, string, sys, getopt, signal
-
- def version():
-diff --git a/grcat b/grcat
-index a4e6dd9..16586e2 100755
---- a/grcat
-+++ b/grcat
-@@ -1,5 +1,7 @@
- #! /usr/bin/python
-
-+from __future__ import print_function
-+
- import sys, os, string, re, signal, errno
-
- #some default definitions
-@@ -140,11 +142,7 @@ while not is_last:
- # do not try to understand the optimized form below :-)
- if 'colours' in ll:
- colstrings = list(
-- map(
-- lambda colgroup:
-- ''.join(map(lambda x: get_colour(x), split(colgroup))),
-- split(ll['colours'], ',')
-- )
-+ [''.join([get_colour(x) for x in split(colgroup)]) for colgroup in split(ll['colours'], ',')]
- )
- ll['colours'] = colstrings
-