summaryrefslogtreecommitdiff
path: root/pkg/ncurses/patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-02-12 16:55:30 -0800
committerMichael Forney <mforney@mforney.org>2020-02-12 16:58:26 -0800
commitffbc6936ccd6975302dc044ecbd9a0847a203cfb (patch)
tree9d3356d4067cfb296d7c1a58d783d1cd715df182 /pkg/ncurses/patch
parent61bd830a6797e0115eb23269788bdcd333a8eb9c (diff)
ncurses: Update to 6.2
Diffstat (limited to 'pkg/ncurses/patch')
-rw-r--r--pkg/ncurses/patch/0001-Allow-overriding-make_hash-path.patch60
1 files changed, 60 insertions, 0 deletions
diff --git a/pkg/ncurses/patch/0001-Allow-overriding-make_hash-path.patch b/pkg/ncurses/patch/0001-Allow-overriding-make_hash-path.patch
new file mode 100644
index 00000000..2c9a2da3
--- /dev/null
+++ b/pkg/ncurses/patch/0001-Allow-overriding-make_hash-path.patch
@@ -0,0 +1,60 @@
+From bfa058b1e3414994e663e02d553f23e4f72eef19 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Wed, 12 Feb 2020 16:54:30 -0800
+Subject: [PATCH] Allow overriding make_hash path
+
+---
+ ncurses/tinfo/MKcaptab.sh | 6 ++++--
+ ncurses/tinfo/MKuserdefs.sh | 5 ++++-
+ 2 files changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/ncurses/tinfo/MKcaptab.sh b/ncurses/tinfo/MKcaptab.sh
+index c800023..52e436e 100755
+--- a/ncurses/tinfo/MKcaptab.sh
++++ b/ncurses/tinfo/MKcaptab.sh
+@@ -29,6 +29,8 @@
+ ##############################################################################
+ # $Id: MKcaptab.sh,v 1.19 2020/02/02 23:34:34 tom Exp $
+
++: ${MAKE_HASH:=./make_hash}
++
+ if test $# != 0
+ then
+ AWK="$1"; shift 1
+@@ -71,8 +73,8 @@ cat <<'EOF'
+ /* *INDENT-OFF* */
+ EOF
+
+-cat "$@" |./make_hash 1 info $OPT1
+-cat "$@" |./make_hash 3 cap $OPT1
++cat "$@" |$MAKE_HASH 1 info $OPT1
++cat "$@" |$MAKE_HASH 3 cap $OPT1
+
+ cat "$@" |$AWK -f $OPT2 bigstrings=$OPT1 tablename=capalias
+
+diff --git a/ncurses/tinfo/MKuserdefs.sh b/ncurses/tinfo/MKuserdefs.sh
+index 109dd64..97d8803 100755
+--- a/ncurses/tinfo/MKuserdefs.sh
++++ b/ncurses/tinfo/MKuserdefs.sh
+@@ -27,6 +27,9 @@
+ # authorization. #
+ ##############################################################################
+ # $Id: MKuserdefs.sh,v 1.10 2020/02/02 23:34:34 tom Exp $
++
++: ${MAKE_HASH:=./make_hash}
++
+ AWK=${1-awk}; shift 1
+ OPT1=${1-0}; shift 1
+
+@@ -51,7 +54,7 @@ cat <<'EOF'
+ #if NCURSES_XNAMES
+ EOF
+
+-cat "$@" | ./make_hash 1 user $OPT1
++cat "$@" | $MAKE_HASH 1 user $OPT1
+
+ cat <<EOF
+
+--
+2.25.0
+