Browse Source

ccache: add package

android-5
vishalbiswas 8 years ago
committed by Fredrik Fornwall
parent
commit
27e21d2d4a
  1. 7
      packages/ccache/build.sh
  2. 13
      packages/ccache/snprintf.c.patch

7
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

13
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)
{
Loading…
Cancel
Save