mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-22 11:40:18 +00:00
Update repo
This commit is contained in:
13
disabled-packages/id3ted/build.sh
Normal file
13
disabled-packages/id3ted/build.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://muennich.github.io/id3ted/
|
||||||
|
TERMUX_PKG_DESCRIPTION="A command line id3 tag editor"
|
||||||
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
|
TERMUX_PKG_VERSION=1.0
|
||||||
|
TERMUX_PKG_REVISION=3
|
||||||
|
TERMUX_PKG_SRCURL=https://github.com/muennich/id3ted/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_SHA256=b661514637278b00930cc13ef22f46530baadcf9f3f4ee4b7cb210b0d46b18f1
|
||||||
|
TERMUX_PKG_AUTO_UPDATE=true
|
||||||
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
||||||
|
TERMUX_PKG_DEPENDS="file, libc++, taglib"
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
|
||||||
15
disabled-packages/id3ted/id3ted-1.0-fix-oob.patch
Normal file
15
disabled-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;
|
||||||
Reference in New Issue
Block a user