diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2006-04-09 13:20:04 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2006-04-09 13:20:04 +0000 |
commit | e8a630ed00f69d0843393ec9190c5b74cf269995 (patch) | |
tree | 34a979411db56e998f9f4ba920ce1fbd2389a985 /www/wwwoffle/files | |
parent | faf157a3b32e12ee824ed5295a156101503deb96 (diff) | |
download | ports-e8a630ed00f69d0843393ec9190c5b74cf269995.tar.gz ports-e8a630ed00f69d0843393ec9190c5b74cf269995.zip |
- Add missig LIB_DEPENDS
- Fix compilation on 64bit arch
Notes
Notes:
svn path=/head/; revision=159201
Diffstat (limited to 'www/wwwoffle/files')
-rw-r--r-- | www/wwwoffle/files/patch-src::proto.h | 29 | ||||
-rw-r--r-- | www/wwwoffle/files/patch-src::wwwoffles.c | 11 |
2 files changed, 40 insertions, 0 deletions
diff --git a/www/wwwoffle/files/patch-src::proto.h b/www/wwwoffle/files/patch-src::proto.h new file mode 100644 index 000000000000..70b2c5836575 --- /dev/null +++ b/www/wwwoffle/files/patch-src::proto.h @@ -0,0 +1,29 @@ +--- src/proto.h~ Thu Dec 15 04:27:22 2005 ++++ src/proto.h Fri Apr 7 14:55:06 2006 +@@ -62,7 +62,7 @@ + char /*@null@*/ /*@only@*/ *HTTP_Open(URL *Url); + char /*@null@*/ /*@only@*/ *HTTP_Request(URL *Url,Header *request_head,Body *request_body); + int HTTP_ReadHead(/*@out@*/ Header **reply_head); +-int HTTP_ReadBody(char *s,size_t n); ++ssize_t HTTP_ReadBody(char *s,size_t n); + int HTTP_Close(void); + + #if USE_GNUTLS +@@ -82,7 +82,7 @@ + char /*@null@*/ /*@only@*/ *FTP_Open(URL *Url); + char /*@null@*/ /*@only@*/ *FTP_Request(URL *Url,Header *request_head,Body *request_body); + int FTP_ReadHead(/*@out@*/ Header **reply_head); +-int FTP_ReadBody(char *s,size_t n); ++ssize_t FTP_ReadBody(char *s,size_t n); + int FTP_Close(void); + + /* In finger.c */ +@@ -90,7 +90,7 @@ + char /*@null@*/ /*@only@*/ *Finger_Open(URL *Url); + char /*@null@*/ /*@only@*/ *Finger_Request(URL *Url,Header *request_head,Body *request_body); + int Finger_ReadHead(/*@out@*/ Header **reply_head); +-int Finger_ReadBody(char *s,size_t n); ++ssize_t Finger_ReadBody(char *s,size_t n); + int Finger_Close(void); + + /* In ssl.c */ diff --git a/www/wwwoffle/files/patch-src::wwwoffles.c b/www/wwwoffle/files/patch-src::wwwoffles.c new file mode 100644 index 000000000000..761ca5f9865e --- /dev/null +++ b/www/wwwoffle/files/patch-src::wwwoffles.c @@ -0,0 +1,11 @@ +--- src/wwwoffles.c~ Tue Feb 21 04:27:48 2006 ++++ src/wwwoffles.c Fri Apr 7 14:11:43 2006 +@@ -3026,7 +3026,7 @@ + This function is used as a callback from gifmodify.c and htmlmodify.l + ++++++++++++++++++++++++++++++++++++++*/ + +-int wwwoffles_read_data(char *data,size_t len) ++ssize_t wwwoffles_read_data(char *data,size_t len) + { + if(modify_err==-1) + return(0); |