Browse Source

dvtm: fix path to FIFO in 'dvtm-status'

android-5
Leonid Plyushch 7 years ago
committed by Fredrik Fornwall
parent
commit
c91220ea84
  1. 1
      packages/dvtm/build.sh
  2. 11
      packages/dvtm/fix-fifo-path.patch

1
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

11
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
Loading…
Cancel
Save