aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2006-04-09 21:20:04 +0800
committersumikawa <sumikawa@FreeBSD.org>2006-04-09 21:20:04 +0800
commita9dab5ededbd9d67736acab7c802ddaaabebcaa3 (patch)
treec0acd2ea144aa772accb4751b6a370736215a4c6 /www
parent109fc8167e0219a5ef0fb9306818d927585b2c1c (diff)
downloadfreebsd-ports-gnome-a9dab5ededbd9d67736acab7c802ddaaabebcaa3.tar.gz
freebsd-ports-gnome-a9dab5ededbd9d67736acab7c802ddaaabebcaa3.tar.zst
freebsd-ports-gnome-a9dab5ededbd9d67736acab7c802ddaaabebcaa3.zip
- Add missig LIB_DEPENDS
- Fix compilation on 64bit arch
Diffstat (limited to 'www')
-rw-r--r--www/wwwoffle/Makefile2
-rw-r--r--www/wwwoffle/files/patch-src::proto.h29
-rw-r--r--www/wwwoffle/files/patch-src::wwwoffles.c11
3 files changed, 42 insertions, 0 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 6aebf9ca4e5a..0e494692ec38 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -14,6 +14,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= A caching proxy server for HTTP and FTP designed for dial-up hosts
+LIB_DEPENDS= gnutls.15:${PORTSDIR}/security/gnutls
+
USE_PERL5= yes
USE_GMAKE= yes
USE_RC_SUBR= ${PORTNAME}d.sh
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);