aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-11-23 13:59:08 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-11-23 13:59:08 +0000
commitbedb925ea88367e575f0fd0b04fde514746549f6 (patch)
tree1d0d4570d27ec3a083f322aae318c813c225a36c /devel
parenta0fc0f82059ae04e7a05969c814bbe3303bea826 (diff)
downloadports-bedb925ea88367e575f0fd0b04fde514746549f6.tar.gz
ports-bedb925ea88367e575f0fd0b04fde514746549f6.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/tig/files/patch-tools_make-builtin-config.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/tig/files/patch-tools_make-builtin-config.sh b/devel/tig/files/patch-tools_make-builtin-config.sh
new file mode 100644
index 000000000000..e022aec0ab9a
--- /dev/null
+++ b/devel/tig/files/patch-tools_make-builtin-config.sh
@@ -0,0 +1,15 @@
+sed: 1: "s/\s*#.*//": RE error: trailing backslash (\)
+
+cf. PR 229925
+
+--- tools/make-builtin-config.sh.orig 2018-11-23 06:50:40 UTC
++++ tools/make-builtin-config.sh
+@@ -21,7 +21,7 @@ TIGRC="${1:-tigrc}"
+
+ read_tigrc() {
+ if test -z "$NO_BUILTIN_TIGRC"; then
+- sed 's/\s*#.*//' "$TIGRC" | sed 's,\\,\\\\\\\\,g' | sed 's,",\\\\",g' | sed 's/ \+/ /g'
++ sed 's/[[:space:]]*#.*//' "$TIGRC" | sed 's,\\,\\\\\\\\,g' | sed 's,",\\\\",g' | sed 's/ \+/ /g'
+ else
+ echo '#'
+ fi