summaryrefslogtreecommitdiff
path: root/ftp/downloader
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-16 18:49:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-16 18:49:19 +0000
commit82f9ec9a99893921e03205d196a37469ffc14b02 (patch)
tree06f5fa2160988d70dc43ead2ff4d9400fbc5ab58 /ftp/downloader
parentUpdate modules: postgresql, sendmail. (diff)
fix build with gcc3
PR: 39359 Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
Notes
Notes: svn path=/head/; revision=61384
Diffstat (limited to 'ftp/downloader')
-rw-r--r--ftp/downloader/files/patch-dqueue.cc11
-rw-r--r--ftp/downloader/files/patch-hproxy.cc11
-rw-r--r--ftp/downloader/files/patch-httpd.cc11
3 files changed, 33 insertions, 0 deletions
diff --git a/ftp/downloader/files/patch-dqueue.cc b/ftp/downloader/files/patch-dqueue.cc
new file mode 100644
index 000000000000..e5156b5ce830
--- /dev/null
+++ b/ftp/downloader/files/patch-dqueue.cc
@@ -0,0 +1,11 @@
+--- main/dqueue.cc.orig Tue May 28 02:55:12 2002
++++ main/dqueue.cc Sun Jun 16 08:38:39 2002
+@@ -127,7 +127,7 @@
+ };
+ };
+
+-void d4xDownloadQueue::add(tDownload *what,int where=DL_WAIT){
++void d4xDownloadQueue::add(tDownload *what,int where){
+ if (where==DL_WAIT || where==DL_RUN)
+ RUN_OR_WAIT_DOWNLOADS+=1;
+ queues[where]->insert(what);
diff --git a/ftp/downloader/files/patch-hproxy.cc b/ftp/downloader/files/patch-hproxy.cc
new file mode 100644
index 000000000000..f2fbcb885e7b
--- /dev/null
+++ b/ftp/downloader/files/patch-hproxy.cc
@@ -0,0 +1,11 @@
+--- main/hproxy.cci.orig Thu Apr 4 03:51:31 2002
++++ main/hproxy.cc Sun Jun 16 08:35:12 2002
+@@ -95,7 +95,7 @@
+ tProxyDownload::tProxyDownload(tWriterLoger *log):tHttpDownload(log){
+ };
+
+-int tProxyDownload::init(tAddr *hostinfo,tCfg *cfg,tSocket *s=NULL) {
++int tProxyDownload::init(tAddr *hostinfo,tCfg *cfg,tSocket *s) {
+ DBC_RETVAL_IF_FAIL(hostinfo!=NULL,-1);
+ DBC_RETVAL_IF_FAIL(cfg!=NULL,-1);
+ HTTP=new tHProxyClient(cfg);
diff --git a/ftp/downloader/files/patch-httpd.cc b/ftp/downloader/files/patch-httpd.cc
new file mode 100644
index 000000000000..a307ee71da4d
--- /dev/null
+++ b/ftp/downloader/files/patch-httpd.cc
@@ -0,0 +1,11 @@
+--- main/httpd.cc.orig Thu Mar 28 10:34:34 2002
++++ main/httpd.cc Sun Jun 16 08:37:50 2002
+@@ -179,7 +179,7 @@
+ };
+ };
+
+-int tHttpDownload::init(tAddr *hostinfo,tCfg *cfg,tSocket *s=NULL) {
++int tHttpDownload::init(tAddr *hostinfo,tCfg *cfg,tSocket *s) {
+ Persistent=0;
+ HTTP=new tHttpClient(cfg);
+ RetrNum=0;