Bug 98903

Summary: [PATCH] www/c-icap: update to 030606rc1
Product: Ports & Packages Reporter: Elisey Savateev <b3k>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
c-icap-030606_1,1.patch none

Description Elisey Savateev 2006-06-13 16:10:13 UTC
- Contains fixes for a bug which causes segmentation fault to the c-icap server
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2006-06-14 16:20:39 UTC
Does not build on 4.11:
 cc -DHAVE_CONFIG_H -I. -I. -I. -Iinclude/ -DCI_BUILD_LIB -D_REENTRANT
-I/usr/local/include -Wall -c request_common.c
-Wp,-MD,.deps/libicapapi_la-request_common.TPlo  -fPIC -DPIC -o
.libs/libicapapi_la-request_common.o
request_common.c: In function `client_parse_icap_header':
request_common.c:658: syntax error before `char'
request_common.c:661: `end' undeclared (first use in this function)
request_common.c:661: (Each undeclared identifier is reported only once
request_common.c:661: for each function it appears in.)
request_common.c:671: `buf' undeclared (first use in this function)
*** Error code 1

-- 
Dixi.
Sem.
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-06-14 23:34:43 UTC
State Changed
From-To: open->feedback

Ask for submitter fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=98903 

Adding to audit trail from misfiled PR ports/98970:

The following patch must fix build failure on 4.x. Please, place it into
files/patch-request_common.c before commit.
 
 --- patch-request_common.c begins here ---
 --- request_common.c.bak	Thu Jun 15 08:42:50 2006
 +++ request_common.c	Thu Jun 15 08:43:02 2006
 @@ -654,7 +654,7 @@
  
  
  int client_parse_icap_header(request_t *req,ci_headers_list_t *h){
 -     int readed=0,eoh=0;;
 +     int readed=0,eoh=0;
   char *buf,*end;
   if(req->pstrblock_read_len<4)/*we need 4 bytes for the end of headers "\r\n\r\n" string*/
 return CI_NEEDS_MORE;
 --- patch-request_common.c ends here ---
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2006-06-15 04:46:43 UTC
State Changed
From-To: feedback->open

Maintainer replied (see audit-trail).
Comment 4 Sergey Matveychuk freebsd_committer freebsd_triage 2006-06-15 12:19:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!