From c91220ea846e9463b8af288ced1d61437e3730b4 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sat, 9 Sep 2017 21:38:28 +0300 Subject: [PATCH] dvtm: fix path to FIFO in 'dvtm-status' --- packages/dvtm/build.sh | 1 + packages/dvtm/fix-fifo-path.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 packages/dvtm/fix-fifo-path.patch diff --git a/packages/dvtm/build.sh b/packages/dvtm/build.sh index cf19bb262..9a700e0c9 100644 --- a/packages/dvtm/build.sh +++ b/packages/dvtm/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/martanne/dvtm TERMUX_PKG_DESCRIPTION="Terminal tiling window manager" TERMUX_PKG_VERSION=0.15 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/martanne/dvtm/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=496eada13d8abaa8d772279746f78b0c6fed11b560599490f3e70ebc21197bf0 TERMUX_PKG_FOLDERNAME=dvtm-$TERMUX_PKG_VERSION diff --git a/packages/dvtm/fix-fifo-path.patch b/packages/dvtm/fix-fifo-path.patch new file mode 100644 index 000000000..34fe6cca7 --- /dev/null +++ b/packages/dvtm/fix-fifo-path.patch @@ -0,0 +1,11 @@ +diff -uNr dvtm-0.15/dvtm-status dvtm-0.15.mod/dvtm-status +--- dvtm-0.15/dvtm-status 2016-01-09 13:40:12.000000000 +0200 ++++ dvtm-0.15.mod/dvtm-status 2017-09-09 21:28:15.370807282 +0300 +@@ -1,6 +1,6 @@ + #!/bin/sh + +-FIFO="/tmp/dvtm-status.$$" ++FIFO="@TERMUX_PREFIX@/tmp/dvtm-status.$$" + + [ -p "$FIFO" ] || mkfifo -m 600 "$FIFO" || exit 1 +