diff --git a/packages/ccache/build.sh b/packages/ccache/build.sh new file mode 100644 index 000000000..ce0bb7da8 --- /dev/null +++ b/packages/ccache/build.sh @@ -0,0 +1,7 @@ +TERMUX_PKG_HOMEPAGE=https://ccache.samba.org +TERMUX_PKG_VERSION=3.3.4 +TERMUX_PKG_SRCURL=https://www.samba.org/ftp/ccache/ccache-$TERMUX_PKG_VERSION.tar.xz +TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" +TERMUX_PKG_DESCRIPTION="Compiler cache for fast recompilation of C/C++ code" +TERMUX_PKG_SHA256=24f15bf389e38c41548c9c259532187774ec0cb9686c3497bbb75504c8dc404f + diff --git a/packages/ccache/snprintf.c.patch b/packages/ccache/snprintf.c.patch new file mode 100644 index 000000000..bada55515 --- /dev/null +++ b/packages/ccache/snprintf.c.patch @@ -0,0 +1,13 @@ +--- ./snprintf.c 2017-02-18 02:58:53.000000000 +0530 ++++ ../snprintf.c 2017-02-20 09:50:46.779420391 +0530 +@@ -539,10 +539,6 @@ + static UINTMAX_T myround(LDOUBLE); + static LDOUBLE mypow10(int); + +-#ifndef __MINGW32__ +-extern int errno; +-#endif +- + int + rpl_vsnprintf(char *str, size_t size, const char *format, va_list args) + {