Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/c-icap/files: c-icap-0.2.4-implicit.patch
Date: Mon, 31 Dec 2012 00:30:11
Message-Id: 20121231003001.6B12F2171E@flycatcher.gentoo.org
1 flameeyes 12/12/31 00:30:01
2
3 Added: c-icap-0.2.4-implicit.patch
4 Log:
5 Version bump.
6
7 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
8
9 Revision Changes Path
10 1.1 net-proxy/c-icap/files/c-icap-0.2.4-implicit.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/files/c-icap-0.2.4-implicit.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/c-icap/files/c-icap-0.2.4-implicit.patch?rev=1.1&content-type=text/plain
14
15 Index: c-icap-0.2.4-implicit.patch
16 ===================================================================
17 Index: c_icap-0.2.4/aserver.c
18 ===================================================================
19 --- c_icap-0.2.4.orig/aserver.c
20 +++ c_icap-0.2.4/aserver.c
21 @@ -41,6 +41,7 @@ extern int MAX_SECS_TO_LINGER;
22 char MY_HOSTNAME[CI_MAXHOSTNAMELEN + 1];
23
24 void init_conf_tables();
25 +int init_body_system();
26 int config(int, char **);
27 int init_server(char *address, int port, int *family);
28 int start_server();
29 Index: c_icap-0.2.4/include/mem.h
30 ===================================================================
31 --- c_icap-0.2.4.orig/include/mem.h
32 +++ c_icap-0.2.4/include/mem.h
33 @@ -66,6 +66,7 @@ CI_DECLARE_FUNC(void) ci_buffers_destroy
34 CI_DECLARE_FUNC(void *) ci_buffer_alloc(int block_size);
35 CI_DECLARE_FUNC(void *) ci_buffer_realloc(void *data, int block_size);
36 CI_DECLARE_FUNC(void) ci_buffer_free(void *data);
37 +CI_DECLARE_FUNC(size_t) ci_buffer_blocksize(void *data);
38
39 CI_DECLARE_FUNC(int) ci_object_pool_register(const char *name, int size);
40 CI_DECLARE_FUNC(void) ci_object_pool_unregister(int id);
41 Index: c_icap-0.2.4/tests/test_cache.c
42 ===================================================================
43 --- c_icap-0.2.4.orig/tests/test_cache.c
44 +++ c_icap-0.2.4/tests/test_cache.c
45 @@ -27,6 +27,7 @@ void *copy_from_str(void *val, int val_s
46 return (void *)ci_str_ops.dup((char *)val, allocator);
47 }
48
49 +int mem_init();
50 int main(int argc,char *argv[]) {
51 int i;
52 struct ci_cache *cache;
53 Index: c_icap-0.2.4/util.c
54 ===================================================================
55 --- c_icap-0.2.4.orig/util.c
56 +++ c_icap-0.2.4/util.c
57 @@ -20,7 +20,7 @@
58 #include "common.h"
59 #include "c-icap.h"
60 #include "util.h"
61 -
62 +#include <ctype.h>
63
64 #ifndef HAVE_STRNSTR
65 const char *strnstr(const char *s, const char *find, size_t slen)