ccache: add package
authorvishalbiswas <vshlbiswas@ymail.com>
Mon, 20 Feb 2017 04:26:22 +0000 (09:56 +0530)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 10 Aug 2017 00:16:47 +0000 (02:16 +0200)
packages/ccache/build.sh [new file with mode: 0644]
packages/ccache/snprintf.c.patch [new file with mode: 0644]

diff --git a/packages/ccache/build.sh b/packages/ccache/build.sh
new file mode 100644 (file)
index 0000000..ce0bb7d
--- /dev/null
@@ -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 (file)
index 0000000..bada555
--- /dev/null
@@ -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)
+ {