diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-17 02:49:19 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-17 02:49:19 +0800 |
commit | e9f79422d51bbf3695023fdf8f90522f3771c93c (patch) | |
tree | 5927e1dbeb82e67513d10821d5f8517d9d770774 /ftp/downloader | |
parent | 1b367641c7cb36f6d577959b8699a53413246e73 (diff) | |
download | freebsd-ports-gnome-e9f79422d51bbf3695023fdf8f90522f3771c93c.tar.gz freebsd-ports-gnome-e9f79422d51bbf3695023fdf8f90522f3771c93c.tar.zst freebsd-ports-gnome-e9f79422d51bbf3695023fdf8f90522f3771c93c.zip |
fix build with gcc3
PR: 39359
Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
Diffstat (limited to 'ftp/downloader')
-rw-r--r-- | ftp/downloader/files/patch-dqueue.cc | 11 | ||||
-rw-r--r-- | ftp/downloader/files/patch-hproxy.cc | 11 | ||||
-rw-r--r-- | ftp/downloader/files/patch-httpd.cc | 11 |
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; |