recordmydesktop: update fix-tmpdir.patch
This commit is contained in:
parent
e0ac5f2503
commit
8a7d1c755a
|
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Produces a OGG encapsulated Theora/Vorbis recording of y
|
|||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=0.3.8.1
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/recordmydesktop/recordmydesktop-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=33a2e208186ae78e2db2a27b0f5047b50fb7819c47fe15483b0765200b9d738c
|
||||
TERMUX_PKG_DEPENDS="libandroid-shmem, libsm, libtheora, libvorbis, libxdamage, libxext, zlib"
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
diff -uNr recordmydesktop-0.3.8.1/src/rmd_initialize_data.c recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c
|
||||
--- recordmydesktop-0.3.8.1/src/rmd_initialize_data.c 2008-12-13 17:49:09.000000000 +0200
|
||||
+++ recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c 2020-02-11 15:00:47.318593830 +0200
|
||||
@@ -240,7 +240,7 @@
|
||||
+++ recordmydesktop-0.3.8.1.mod/src/rmd_initialize_data.c 2020-02-11 15:45:12.372308546 +0200
|
||||
@@ -239,8 +239,8 @@
|
||||
args->device = (char *) malloc(strlen(DEFAULT_AUDIO_DEVICE) + 1);
|
||||
strcpy(args->device, DEFAULT_AUDIO_DEVICE);
|
||||
|
||||
args->workdir = (char *) malloc(5);
|
||||
- args->workdir = (char *) malloc(5);
|
||||
- strcpy(args->workdir, "/tmp");
|
||||
+ args->workdir = (char *) malloc(sizeof("@TERMUX_PREFIX@/tmp"));
|
||||
+ strcpy(args->workdir, "@TERMUX_PREFIX@/tmp");
|
||||
|
||||
args->pause_shortcut = (char *) malloc(15);
|
||||
|
|
Loading…
Reference in New Issue