cscope: Add package (#1035)
This commit is contained in:
parent
a2c8ffdd84
commit
93a4c5889a
7
packages/cscope/build.sh
Normal file
7
packages/cscope/build.sh
Normal file
@ -0,0 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://cscope.sourceforge.net/
|
||||
TERMUX_PKG_DESCRIPTION="A developers tool for browsing program code"
|
||||
TERMUX_PKG_VERSION=15.8b
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/cscope/cscope/${TERMUX_PKG_VERSION}/cscope-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af
|
||||
TERMUX_PKG_DEPENDS="ncurses"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses=$TERMUX_PREFIX"
|
14
packages/cscope/errno.patch
Normal file
14
packages/cscope/errno.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/src/snprintf.c 2009-04-10 13:39:23.000000000 +0000
|
||||
+++ patches/snprintf.c 2017-05-19 07:45:08.926751318 +0000
|
||||
@@ -522,7 +522,11 @@
|
||||
static UINTMAX_T myround(LDOUBLE);
|
||||
static LDOUBLE mypow10(int);
|
||||
|
||||
+#ifdef __ANDROID__
|
||||
+extern volatile int errno;
|
||||
+#else
|
||||
extern int errno;
|
||||
+#endif
|
||||
|
||||
int
|
||||
rpl_vsnprintf(char *str, size_t size, const char *format, va_list args)
|
Loading…
Reference in New Issue
Block a user