diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-03-09 17:19:36 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-03-09 17:19:36 +0000 |
commit | 0717f703df8e37e2a7535e712d17769c85f7d1d6 (patch) | |
tree | ecdd47cc307e4344f77296c8b2b49d592d66af6c /devel/ccache | |
parent | 66ff0de22cddd87959931377d7544f8ab8b07a3e (diff) | |
download | ports-0717f703df8e37e2a7535e712d17769c85f7d1d6.tar.gz ports-0717f703df8e37e2a7535e712d17769c85f7d1d6.zip |
Notes
Diffstat (limited to 'devel/ccache')
-rw-r--r-- | devel/ccache/Makefile | 5 | ||||
-rw-r--r-- | devel/ccache/files/extra-patch-memcached-ccache.c | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile index c4506720dded..015f4d1ce159 100644 --- a/devel/ccache/Makefile +++ b/devel/ccache/Makefile @@ -3,7 +3,7 @@ PORTNAME= ccache PORTVERSION= 3.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.samba.org/ftp/ccache/ \ LOCAL/bdrewery @@ -33,7 +33,8 @@ MEMCACHED_DESC= Build in experimental Memcached support USES= compiler -MEMCACHED_EXTRA_PATCHES= ${FILESDIR}/extra-patch-memcached:-p1 +MEMCACHED_EXTRA_PATCHES= ${FILESDIR}/extra-patch-memcached:-p1 \ + ${FILESDIR}/extra-patch-memcached-ccache.c MEMCACHED_CONFIGURE_ENABLE= memcached MEMCACHED_USES= autoreconf pkgconfig MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached diff --git a/devel/ccache/files/extra-patch-memcached-ccache.c b/devel/ccache/files/extra-patch-memcached-ccache.c new file mode 100644 index 000000000000..5d04a3b2aa40 --- /dev/null +++ b/devel/ccache/files/extra-patch-memcached-ccache.c @@ -0,0 +1,11 @@ +--- ccache.c.orig 2017-03-09 09:08:38.803365000 -0800 ++++ ccache.c 2017-03-09 09:08:42.059821000 -0800 +@@ -2153,7 +2153,7 @@ calculate_object_hash(struct args *args, + conf->direct_mode = false; + return NULL; + } +- char *manifest_name = hash_result(hash); ++ manifest_name = hash_result(hash); + manifest_path = get_path_in_cache(manifest_name, ".manifest"); + /* Check if the manifest file is there. */ + struct stat st; |