new package: id3ted (#8178)
This commit is contained in:
parent
e7f40a39ae
commit
11e5a0c703
10
packages/id3ted/build.sh
Normal file
10
packages/id3ted/build.sh
Normal file
@ -0,0 +1,10 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://muennich.github.com/id3ted/
|
||||
TERMUX_PKG_DESCRIPTION="A comand line id3 tag editor"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/muennich/id3ted/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=b661514637278b00930cc13ef22f46530baadcf9f3f4ee4b7cb210b0d46b18f1
|
||||
TERMUX_PKG_DEPENDS="file, libc++, taglib"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
|
15
packages/id3ted/id3ted-1.0-fix-oob.patch
Normal file
15
packages/id3ted/id3ted-1.0-fix-oob.patch
Normal file
@ -0,0 +1,15 @@
|
||||
https://github.com/muennich/id3ted/commit/a044c5659bf29df8152feabba63a83dc6feb7a99
|
||||
|
||||
diff --git a/fileio.cpp b/fileio.cpp
|
||||
index 35d992f..edfe2de 100644
|
||||
--- a/fileio.cpp
|
||||
+++ b/fileio.cpp
|
||||
@@ -154,7 +154,7 @@ FileIO::Status FileIO::resetTimes(const char *filename, const FileTimes ×)
|
||||
}
|
||||
|
||||
FileIO::Status FileIO::createDir(const char *path) {
|
||||
- char *directory = new char[strlen(path + 1)];
|
||||
+ char *directory = new char[strlen(path) + 1];
|
||||
char *curr = directory;
|
||||
struct stat stats;
|
||||
Status ret = Success;
|
Loading…
Reference in New Issue
Block a user