Update to ccache-3.1.5.

Drop Ben as maintainer as he doesn't have time at present.
This commit is contained in:
sthen 2011-06-22 09:20:02 +00:00
parent 5e4af69067
commit fff88c564d
7 changed files with 66 additions and 33 deletions

View File

@ -1,24 +1,22 @@
# $OpenBSD: Makefile,v 1.14 2010/11/15 19:45:56 espie Exp $
# $OpenBSD: Makefile,v 1.15 2011/06/22 09:20:02 sthen Exp $
COMMENT= compiler cache
DISTNAME= ccache-2.4
REVISION = 0
DISTNAME= ccache-3.1.5
CATEGORIES= devel
HOMEPAGE= http://ccache.samba.org/
MAINTAINER= Ben Lovett <ben@tilderoot.com>
# GPL
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
WANTLIB += c
MASTER_SITES= http://samba.org/ftp/ccache/
CONFIGURE_STYLE= gnu
USE_GROFF = Yes
USE_GROFF= Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (ccache-2.4.tar.gz) = c8HtHnZ8F1LdD1SOweZs5w==
RMD160 (ccache-2.4.tar.gz) = Q6BkfH+vZZEhpTqS7EXSRbgUASQ=
SHA1 (ccache-2.4.tar.gz) = mDPsE96bkNVAnmDWeaxoERXvRl4=
SHA256 (ccache-2.4.tar.gz) = Q1+GLKUWjDRvWqniQhdLvxmlq8ruz87qwvGUVYgnqqA=
SIZE (ccache-2.4.tar.gz) = 86363
MD5 (ccache-3.1.5.tar.gz) = saloSCjq5oOC1q/JjOgNJA==
RMD160 (ccache-3.1.5.tar.gz) = zagm5Tx1wc0gaNPN0Z36Z1Ef7pk=
SHA1 (ccache-3.1.5.tar.gz) = /SDWjrsHJem9cKkzC0JJHQQLlMs=
SHA256 (ccache-3.1.5.tar.gz) = VK/DXGcs5FHgSkeM/A63TBuhhOJ+8kiBIGYCqg65TWM=
SIZE (ccache-3.1.5.tar.gz) = 340478

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-cleanup_c,v 1.1 2011/06/22 09:20:02 sthen Exp $
--- cleanup.c.orig Sun May 29 16:46:03 2011
+++ cleanup.c Tue Jun 21 22:17:02 2011
@@ -17,6 +17,9 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include "ccache.h"
/*

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-execute_c,v 1.1 2011/06/22 09:20:02 sthen Exp $
--- execute.c.orig Sun May 29 16:46:03 2011
+++ execute.c Tue Jun 21 22:16:46 2011
@@ -17,6 +17,9 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include "ccache.h"
static char *

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-test_sh,v 1.1 2011/06/22 09:20:02 sthen Exp $
--- test.sh.orig Wed Jun 22 10:12:44 2011
+++ test.sh Wed Jun 22 10:12:59 2011
@@ -1767,7 +1767,7 @@ fi
compiler_version="`$COMPILER --version 2>&1 | head -1`"
case $compiler_version in
- *gcc*|2.95*)
+ *gcc*|*GCC*|2.95*)
;;
*)
echo "WARNING: Compiler $COMPILER not supported (version: $compiler_version) -- not running tests" >&2

View File

@ -1,18 +1,15 @@
$OpenBSD: patch-util_c,v 1.1 2006/01/23 03:27:53 jolan Exp $
--- util.c.orig Sun Jan 22 17:16:46 2006
+++ util.c Sun Jan 22 17:17:15 2006
@@ -187,13 +187,9 @@ void *x_realloc(void *ptr, size_t size)
{
void *p2;
if (!ptr) return x_malloc(size);
- p2 = malloc(size);
+ p2 = realloc(ptr, size);
if (!p2) {
fatal("out of memory in x_realloc");
- }
- if (ptr) {
- memcpy(p2, ptr, size);
- free(ptr);
}
return p2;
}
$OpenBSD: patch-util_c,v 1.2 2011/06/22 09:20:02 sthen Exp $
--- util.c.orig Sun May 29 16:46:03 2011
+++ util.c Tue Jun 21 22:17:18 2011
@@ -17,6 +17,11 @@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <stdio.h>
+#include <string.h>
+
#include "ccache.h"
#include <zlib.h>

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.2 2004/08/08 17:55:29 espie Exp $
bin/ccache
@comment $OpenBSD: PLIST,v 1.3 2011/06/22 09:20:02 sthen Exp $
@bin bin/ccache
@man man/man1/ccache.1