From 60aab665670e50cb18bba45ee25f2ed091759741 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 23 Feb 2004 04:42:13 +0000 Subject: Say hello to the new "net-mgmt" category. There are probably more ports that belong here than the ones I have identified and moved in this, first, pass. Approved in principle by: marcus --- net/arts++/distinfo | 1 - .../files/patch-apps::artsasagg::artsasagg.cc | 28 --- .../files/patch-apps::artsintfms::artsintfms.cc | 27 --- .../files/patch-apps::artsnetagg::artsnetagg.cc | 24 --- net/arts++/files/patch-apps::artsnets::artsnets.cc | 37 ---- .../patch-apps::artsnexthopagg::artsnexthopagg.cc | 27 --- .../patch-apps::artsnexthops::artsnexthops.cc | 45 ----- .../files/patch-apps::artsportagg::artsportagg.cc | 25 --- .../files/patch-apps::artsportms::artsportms.cc | 27 --- .../patch-apps::artsprotoagg::artsprotoagg.cc | 24 --- .../files/patch-apps::artsprotos::artsprotos.cc | 37 ---- net/arts++/files/patch-apps::artstoc::artstoc.cc | 25 --- net/arts++/files/patch-apps::artstos::artstos.cc | 43 ----- .../patch-classes::include::ArtsAsMatrixData.hh | 15 -- .../patch-classes::include::ArtsAsMatrixEntry.hh | 16 -- .../files/patch-classes::include::ArtsAttribute.hh | 25 --- .../patch-classes::include::ArtsAttributeVector.hh | 10 - ...patch-classes::include::ArtsCflowdCustomData.hh | 17 -- .../files/patch-classes::include::ArtsFileUtil.hh | 20 -- .../files/patch-classes::include::ArtsHeader.hh | 20 -- ...ch-classes::include::ArtsInterfaceMatrixData.hh | 22 --- .../patch-classes::include::ArtsIpPathEntry.hh | 10 - .../patch-classes::include::ArtsNetMatrixData.hh | 24 --- .../patch-classes::include::ArtsNetMatrixEntry.hh | 15 -- .../patch-classes::include::ArtsPackageVersion.hh | 10 - .../patch-classes::include::ArtsPortMatrixEntry.hh | 23 --- .../files/patch-classes::include::ArtsPrimitive.hh | 23 --- ...classes::include::ArtsRttTimeSeriesTableData.hh | 18 -- .../patch-classes::include::ArtsSelectionSet.hh | 19 -- .../files/patch-classes::include::Ipv4Network.hh | 70 ------- ...atch-classes::include::Ipv4PrefixPatricia.hh.in | 181 ------------------ .../files/patch-classes::include::artslocal.h.in | 13 -- ...atch-classes::src::ArtsAsMatrixAggregatorMap.cc | 16 -- .../files/patch-classes::src::ArtsAsMatrixData.cc | 47 ----- .../files/patch-classes::src::ArtsAsMatrixEntry.cc | 63 ------- .../files/patch-classes::src::ArtsAttribute.cc | 134 -------------- ...ch-classes::src::ArtsBgp4AggregatorAttribute.cc | 55 ------ .../patch-classes::src::ArtsBgp4AsPathAttribute.cc | 60 ------ .../patch-classes::src::ArtsBgp4AsPathSegment.cc | 62 ------- .../files/patch-classes::src::ArtsBgp4Attribute.cc | 107 ----------- .../patch-classes::src::ArtsBgp4DPAttribute.cc | 38 ---- .../files/patch-classes::src::ArtsBgp4Prefix.cc | 11 -- .../patch-classes::src::ArtsBgp4RouteEntry.cc | 47 ----- .../patch-classes::src::ArtsBgp4RouteTableData.cc | 47 ----- .../files/patch-classes::src::ArtsBitString.cc | 11 -- .../files/patch-classes::src::ArtsFileUtil.cc | 19 -- net/arts++/files/patch-classes::src::ArtsHeader.cc | 75 -------- ...patch-classes::src::ArtsIfIndexSelectionSet.lex | 10 - ...asses::src::ArtsInterfaceMatrixAggregatorMap.cc | 13 -- .../patch-classes::src::ArtsInterfaceMatrixData.cc | 47 ----- ...patch-classes::src::ArtsInterfaceMatrixEntry.cc | 57 ------ .../files/patch-classes::src::ArtsIpPathData.cc | 107 ----------- .../files/patch-classes::src::ArtsIpPathEntry.cc | 66 ------- ...tch-classes::src::ArtsNetMatrixAggregatorMap.cc | 16 -- .../files/patch-classes::src::ArtsNetMatrixData.cc | 47 ----- .../patch-classes::src::ArtsNetMatrixEntry.cc | 65 ------- ...-classes::src::ArtsNextHopTableAggregatorMap.cc | 16 -- .../patch-classes::src::ArtsNextHopTableData.cc | 56 ------ .../patch-classes::src::ArtsNextHopTableEntry.cc | 67 ------- .../files/patch-classes::src::ArtsPortChoice.cc | 20 -- .../files/patch-classes::src::ArtsPortChooser.lex | 11 -- ...patch-classes::src::ArtsPortMatrixAggregator.cc | 11 -- ...ch-classes::src::ArtsPortMatrixAggregatorMap.cc | 16 -- .../patch-classes::src::ArtsPortMatrixData.cc | 52 ------ .../patch-classes::src::ArtsPortMatrixEntry.cc | 68 ------- .../files/patch-classes::src::ArtsPortTableData.cc | 56 ------ .../patch-classes::src::ArtsPortTableEntry.cc | 65 ------- .../files/patch-classes::src::ArtsPrimitive.cc | 203 --------------------- ...classes::src::ArtsProtocolTableAggregatorMap.cc | 16 -- .../patch-classes::src::ArtsProtocolTableData.cc | 60 ------ .../patch-classes::src::ArtsProtocolTableEntry.cc | 67 ------- ...tch-classes::src::ArtsRttTimeSeriesTableData.cc | 124 ------------- ...atch-classes::src::ArtsSelectedPortTableData.cc | 56 ------ ...atch-classes::src::ArtsTosTableAggregatorMap.cc | 16 -- .../files/patch-classes::src::ArtsTosTableData.cc | 121 ------------ net/arts++/files/patch-configure.in | 10 - net/arts++/pkg-descr | 9 - net/arts++/pkg-plist | 96 ---------- 78 files changed, 3357 deletions(-) delete mode 100644 net/arts++/distinfo delete mode 100644 net/arts++/files/patch-apps::artsasagg::artsasagg.cc delete mode 100644 net/arts++/files/patch-apps::artsintfms::artsintfms.cc delete mode 100644 net/arts++/files/patch-apps::artsnetagg::artsnetagg.cc delete mode 100644 net/arts++/files/patch-apps::artsnets::artsnets.cc delete mode 100644 net/arts++/files/patch-apps::artsnexthopagg::artsnexthopagg.cc delete mode 100644 net/arts++/files/patch-apps::artsnexthops::artsnexthops.cc delete mode 100644 net/arts++/files/patch-apps::artsportagg::artsportagg.cc delete mode 100644 net/arts++/files/patch-apps::artsportms::artsportms.cc delete mode 100644 net/arts++/files/patch-apps::artsprotoagg::artsprotoagg.cc delete mode 100644 net/arts++/files/patch-apps::artsprotos::artsprotos.cc delete mode 100644 net/arts++/files/patch-apps::artstoc::artstoc.cc delete mode 100644 net/arts++/files/patch-apps::artstos::artstos.cc delete mode 100644 net/arts++/files/patch-classes::include::ArtsAsMatrixData.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsAsMatrixEntry.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsAttribute.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsAttributeVector.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsCflowdCustomData.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsFileUtil.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsHeader.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsInterfaceMatrixData.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsIpPathEntry.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsNetMatrixData.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsNetMatrixEntry.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsPackageVersion.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsPortMatrixEntry.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsPrimitive.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsRttTimeSeriesTableData.hh delete mode 100644 net/arts++/files/patch-classes::include::ArtsSelectionSet.hh delete mode 100644 net/arts++/files/patch-classes::include::Ipv4Network.hh delete mode 100644 net/arts++/files/patch-classes::include::Ipv4PrefixPatricia.hh.in delete mode 100644 net/arts++/files/patch-classes::include::artslocal.h.in delete mode 100644 net/arts++/files/patch-classes::src::ArtsAsMatrixAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsAsMatrixData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsAsMatrixEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsAttribute.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4AggregatorAttribute.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4AsPathAttribute.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4AsPathSegment.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4Attribute.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4DPAttribute.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4Prefix.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4RouteEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBgp4RouteTableData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsBitString.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsFileUtil.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsHeader.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsIfIndexSelectionSet.lex delete mode 100644 net/arts++/files/patch-classes::src::ArtsInterfaceMatrixAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsInterfaceMatrixData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsInterfaceMatrixEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsIpPathData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsIpPathEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsNetMatrixAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsNetMatrixData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsNetMatrixEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsNextHopTableAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsNextHopTableData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsNextHopTableEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortChoice.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortChooser.lex delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortMatrixAggregator.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortMatrixAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortMatrixData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortMatrixEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortTableData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPortTableEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsPrimitive.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsProtocolTableAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsProtocolTableData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsProtocolTableEntry.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsSelectedPortTableData.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsTosTableAggregatorMap.cc delete mode 100644 net/arts++/files/patch-classes::src::ArtsTosTableData.cc delete mode 100644 net/arts++/files/patch-configure.in delete mode 100644 net/arts++/pkg-descr delete mode 100644 net/arts++/pkg-plist (limited to 'net/arts++') diff --git a/net/arts++/distinfo b/net/arts++/distinfo deleted file mode 100644 index 1f03497106f1..000000000000 --- a/net/arts++/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (arts++-1-1-a8.tar.gz) = 3527ba0fa7ab6fb579573969967d1059 diff --git a/net/arts++/files/patch-apps::artsasagg::artsasagg.cc b/net/arts++/files/patch-apps::artsasagg::artsasagg.cc deleted file mode 100644 index ae2e9d321b25..000000000000 --- a/net/arts++/files/patch-apps::artsasagg::artsasagg.cc +++ /dev/null @@ -1,28 +0,0 @@ ---- ./apps/artsasagg/artsasagg.cc.orig Mon Oct 2 13:05:10 2000 -+++ ./apps/artsasagg/artsasagg.cc Wed Sep 25 16:38:09 2002 -@@ -50,15 +50,21 @@ - #include - } - --#include --#include --#include -- - #include "ArtsFileUtil.hh" - #include "ArtsPackageVersion.hh" - #ifndef NDEBUG - #include "ArtsDebug.hh" - #endif -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+#include -+#include - - extern int errno; - diff --git a/net/arts++/files/patch-apps::artsintfms::artsintfms.cc b/net/arts++/files/patch-apps::artsintfms::artsintfms.cc deleted file mode 100644 index 93b3ce5e0df1..000000000000 --- a/net/arts++/files/patch-apps::artsintfms::artsintfms.cc +++ /dev/null @@ -1,27 +0,0 @@ ---- ./apps/artsintfms/artsintfms.cc.orig Mon Oct 2 13:05:11 2000 -+++ ./apps/artsintfms/artsintfms.cc Wed Sep 25 16:38:09 2002 -@@ -51,13 +51,21 @@ - #include - } - --#include --#include -- - #include "ArtsInterfaceMatrix.hh" - #include "ArtsIfIndexSelectionSet.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+ -+#include -+ - - #ifndef NDEBUG - #include "ArtsDebug.hh" diff --git a/net/arts++/files/patch-apps::artsnetagg::artsnetagg.cc b/net/arts++/files/patch-apps::artsnetagg::artsnetagg.cc deleted file mode 100644 index 59867d94b72e..000000000000 --- a/net/arts++/files/patch-apps::artsnetagg::artsnetagg.cc +++ /dev/null @@ -1,24 +0,0 @@ ---- ./apps/artsnetagg/artsnetagg.cc.orig Mon Oct 2 13:05:11 2000 -+++ ./apps/artsnetagg/artsnetagg.cc Wed Sep 25 16:38:09 2002 -@@ -50,13 +50,18 @@ - #include - } - --#include --#include -- - #include "ArtsFileUtil.hh" - #include "ArtsPackageVersion.hh" - #ifndef NDEBUG - #include "ArtsDebug.hh" -+#endif -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include - #endif - - extern int errno; diff --git a/net/arts++/files/patch-apps::artsnets::artsnets.cc b/net/arts++/files/patch-apps::artsnets::artsnets.cc deleted file mode 100644 index 608a96112328..000000000000 --- a/net/arts++/files/patch-apps::artsnets::artsnets.cc +++ /dev/null @@ -1,37 +0,0 @@ ---- ./apps/artsnets/artsnets.cc.orig Mon Oct 2 13:05:12 2000 -+++ ./apps/artsnets/artsnets.cc Wed Sep 25 16:38:09 2002 -@@ -51,14 +51,22 @@ - #include - } - --#include --#include -- - #include "ArtsNetMatrix.hh" - #include "ArtsIfIndexSelectionSet.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" - -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+ -+#include -+ -+ - #ifndef NDEBUG - #include "ArtsDebug.hh" - #endif -@@ -160,7 +168,7 @@ - } - } - -- if (hostAttribute) { -+ if (hostAttribute != arts.Attributes().end() ) { - inAddr.s_addr = hostAttribute->Host(); - cout << "router: " << inet_ntoa(inAddr) << endl; - } diff --git a/net/arts++/files/patch-apps::artsnexthopagg::artsnexthopagg.cc b/net/arts++/files/patch-apps::artsnexthopagg::artsnexthopagg.cc deleted file mode 100644 index 6c96236154a0..000000000000 --- a/net/arts++/files/patch-apps::artsnexthopagg::artsnexthopagg.cc +++ /dev/null @@ -1,27 +0,0 @@ ---- ./apps/artsnexthopagg/artsnexthopagg.cc.orig Mon Oct 2 13:05:12 2000 -+++ ./apps/artsnexthopagg/artsnexthopagg.cc Wed Sep 25 16:38:09 2002 -@@ -50,14 +50,21 @@ - #include - } - --#include --#include -- - #include "ArtsFileUtil.hh" - #include "ArtsPackageVersion.hh" - #ifndef NDEBUG - #include "ArtsDebug.hh" - #endif -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+ -+#include - - extern char *tzname[2]; - extern int errno; diff --git a/net/arts++/files/patch-apps::artsnexthops::artsnexthops.cc b/net/arts++/files/patch-apps::artsnexthops::artsnexthops.cc deleted file mode 100644 index 17497387cb21..000000000000 --- a/net/arts++/files/patch-apps::artsnexthops::artsnexthops.cc +++ /dev/null @@ -1,45 +0,0 @@ ---- ./apps/artsnexthops/artsnexthops.cc.orig Mon Oct 2 13:05:12 2000 -+++ ./apps/artsnexthops/artsnexthops.cc Wed Sep 25 16:38:09 2002 -@@ -51,14 +51,21 @@ - #include - } - --#include --#include -- - #include "ArtsNextHopTable.hh" - #include "ArtsIfIndexSelectionSet.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" - -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+ -+#include -+ - #ifndef NDEBUG - #include "ArtsDebug.hh" - #endif -@@ -116,7 +123,7 @@ - } - } - -- if (hostAttribute) { -+ if (hostAttribute != arts.Attributes().end()) { - inAddr.s_addr = hostAttribute->Host(); - cout << "router: " << inet_ntoa(inAddr) << endl; - } -@@ -135,7 +142,7 @@ - cout << endl; - - periodAttribute = arts.FindPeriodAttribute(); -- if (periodAttribute) { -+ if (periodAttribute != arts.Attributes().end() ) { - periodTimes[0] = periodAttribute->Period()[0]; - periodTimes[1] = periodAttribute->Period()[1]; - localTm = localtime(&(periodTimes[0])); diff --git a/net/arts++/files/patch-apps::artsportagg::artsportagg.cc b/net/arts++/files/patch-apps::artsportagg::artsportagg.cc deleted file mode 100644 index 6c37fc981a2a..000000000000 --- a/net/arts++/files/patch-apps::artsportagg::artsportagg.cc +++ /dev/null @@ -1,25 +0,0 @@ ---- ./apps/artsportagg/artsportagg.cc.orig Mon Oct 2 13:05:12 2000 -+++ ./apps/artsportagg/artsportagg.cc Wed Sep 25 16:38:09 2002 -@@ -50,14 +50,19 @@ - #include - } - --#include --#include -- - #include "ArtsPortTableAggregator.hh" - #include "Arts.hh" - #include "ArtsPortTableAggregatorMapKey.hh" - #ifndef NDEBUG - #include "ArtsDebug.hh" -+#endif -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include - #endif - - extern char *tzname[2]; diff --git a/net/arts++/files/patch-apps::artsportms::artsportms.cc b/net/arts++/files/patch-apps::artsportms::artsportms.cc deleted file mode 100644 index 5dc183cb9242..000000000000 --- a/net/arts++/files/patch-apps::artsportms::artsportms.cc +++ /dev/null @@ -1,27 +0,0 @@ ---- ./apps/artsportms/artsportms.cc.orig Mon Oct 2 13:05:12 2000 -+++ ./apps/artsportms/artsportms.cc Wed Sep 25 16:38:09 2002 -@@ -51,13 +51,21 @@ - #include - } - --#include --#include -- - #include "ArtsPortMatrix.hh" - #include "ArtsIfIndexSelectionSet.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+ -+#include -+ - - #ifndef NDEBUG - #include "ArtsDebug.hh" diff --git a/net/arts++/files/patch-apps::artsprotoagg::artsprotoagg.cc b/net/arts++/files/patch-apps::artsprotoagg::artsprotoagg.cc deleted file mode 100644 index fe83fd071a72..000000000000 --- a/net/arts++/files/patch-apps::artsprotoagg::artsprotoagg.cc +++ /dev/null @@ -1,24 +0,0 @@ ---- ./apps/artsprotoagg/artsprotoagg.cc.orig Mon Oct 2 13:05:13 2000 -+++ ./apps/artsprotoagg/artsprotoagg.cc Wed Sep 25 16:38:09 2002 -@@ -50,13 +50,18 @@ - #include - } - --#include --#include -- - #include "ArtsFileUtil.hh" - #include "ArtsPackageVersion.hh" - #ifndef NDEBUG - #include "ArtsDebug.hh" -+#endif -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include - #endif - - extern char *tzname[2]; diff --git a/net/arts++/files/patch-apps::artsprotos::artsprotos.cc b/net/arts++/files/patch-apps::artsprotos::artsprotos.cc deleted file mode 100644 index 4e35a312a821..000000000000 --- a/net/arts++/files/patch-apps::artsprotos::artsprotos.cc +++ /dev/null @@ -1,37 +0,0 @@ ---- ./apps/artsprotos/artsprotos.cc.orig Mon Oct 2 13:05:13 2000 -+++ ./apps/artsprotos/artsprotos.cc Wed Sep 25 16:38:09 2002 -@@ -52,14 +52,22 @@ - #include - } - --#include --#include -- - #include "ArtsProtocolTable.hh" - #include "ArtsIfIndexSelectionSet.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" - -+#ifdef HAVE_FSTREAM -+# include -+# include -+#else -+# include -+#endif -+ -+#include -+using namespace std; -+ -+ - #ifndef NDEBUG - #include "ArtsDebug.hh" - #endif -@@ -118,7 +126,7 @@ - } - } - -- if (hostAttribute) { -+ if (hostAttribute != arts.Attributes().end() ) { - inAddr.s_addr = hostAttribute->Host(); - cout << "router: " << inet_ntoa(inAddr) << endl; - } diff --git a/net/arts++/files/patch-apps::artstoc::artstoc.cc b/net/arts++/files/patch-apps::artstoc::artstoc.cc deleted file mode 100644 index 77cdbb46dc86..000000000000 --- a/net/arts++/files/patch-apps::artstoc::artstoc.cc +++ /dev/null @@ -1,25 +0,0 @@ ---- ./apps/artstoc/artstoc.cc.orig Mon Oct 2 13:05:13 2000 -+++ ./apps/artstoc/artstoc.cc Wed Sep 25 16:38:09 2002 -@@ -49,14 +49,19 @@ - #include - } - --#include --#include -- - #include "Arts.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" - #ifndef NDEBUG - #include "ArtsDebug.hh" -+#endif -+ -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include - #endif - - extern char *tzname[2]; diff --git a/net/arts++/files/patch-apps::artstos::artstos.cc b/net/arts++/files/patch-apps::artstos::artstos.cc deleted file mode 100644 index a8223a7cb5a0..000000000000 --- a/net/arts++/files/patch-apps::artstos::artstos.cc +++ /dev/null @@ -1,43 +0,0 @@ ---- ./apps/artstos/artstos.cc.orig Mon Oct 2 13:05:13 2000 -+++ ./apps/artstos/artstos.cc Wed Sep 25 16:38:09 2002 -@@ -52,14 +52,19 @@ - #include - } - --#include --#include -- - #include "ArtsTosTable.hh" - #include "ArtsIfIndexSelectionSet.hh" - #include "ArtsTimeIntervalSelectionSet.hh" - #include "ArtsPackageVersion.hh" - -+#ifdef HAVE_FSTREAM -+# include -+# include -+ using namespace std; -+#else -+# include -+#endif -+ - #ifndef NDEBUG - #include "ArtsDebug.hh" - #endif -@@ -108,7 +113,7 @@ - } - } - -- if (hostAttribute) { -+ if (hostAttribute != arts.Attributes().end()) { - inAddr.s_addr = hostAttribute->Host(); - cout << "router: " << inet_ntoa(inAddr) << endl; - } -@@ -126,7 +131,7 @@ - } - cout << endl; - -- if (periodAttribute) { -+ if (periodAttribute != arts.Attributes().end() ) { - periodTimes[0] = periodAttribute->Period()[0]; - periodTimes[1] = periodAttribute->Period()[1]; - localTm = localtime(&(periodTimes[0])); diff --git a/net/arts++/files/patch-classes::include::ArtsAsMatrixData.hh b/net/arts++/files/patch-classes::include::ArtsAsMatrixData.hh deleted file mode 100644 index 8f6569fa5651..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsAsMatrixData.hh +++ /dev/null @@ -1,15 +0,0 @@ ---- ./classes/include/ArtsAsMatrixData.hh.orig Mon Oct 2 13:05:14 2000 -+++ ./classes/include/ArtsAsMatrixData.hh Wed Sep 25 16:38:10 2002 -@@ -52,11 +52,10 @@ - - #ifdef HAVE_IOSTREAM - #include -+ using namespace std; - #else - #include - #endif --// #include --// #include - #include - - #include "ArtsAsMatrixEntry.hh" diff --git a/net/arts++/files/patch-classes::include::ArtsAsMatrixEntry.hh b/net/arts++/files/patch-classes::include::ArtsAsMatrixEntry.hh deleted file mode 100644 index ac57c748e3a9..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsAsMatrixEntry.hh +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/include/ArtsAsMatrixEntry.hh.orig Mon Oct 2 13:05:14 2000 -+++ ./classes/include/ArtsAsMatrixEntry.hh Wed Sep 25 16:38:10 2002 -@@ -50,7 +50,12 @@ - #include "caida_t.h" - } - --#include -+#ifdef HAVE_IOSTREAM -+# include -+ using namespace std; -+#else -+# include -+#endif - - #ifdef HAVE_IOMANIP - #include diff --git a/net/arts++/files/patch-classes::include::ArtsAttribute.hh b/net/arts++/files/patch-classes::include::ArtsAttribute.hh deleted file mode 100644 index db2248da3ed9..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsAttribute.hh +++ /dev/null @@ -1,25 +0,0 @@ ---- ./classes/include/ArtsAttribute.hh.orig Mon Oct 2 13:05:14 2000 -+++ ./classes/include/ArtsAttribute.hh Wed Sep 25 16:38:10 2002 -@@ -44,6 +44,7 @@ - #define _ARTSATTRIBUTE_HH_ - - extern "C" { -+#include "artslocal.h" - #include - #include - -@@ -51,7 +52,13 @@ - } - - #include --#include -+ -+#ifdef HAVE_IOSTREAM -+# include -+using namespace std; -+#else -+# include -+#endif - - //--------------------------------------------------------------------------- - // Object Attribute Identifiers diff --git a/net/arts++/files/patch-classes::include::ArtsAttributeVector.hh b/net/arts++/files/patch-classes::include::ArtsAttributeVector.hh deleted file mode 100644 index 3be6b4307463..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsAttributeVector.hh +++ /dev/null @@ -1,10 +0,0 @@ ---- ./classes/include/ArtsAttributeVector.hh.orig Mon Oct 2 13:05:14 2000 -+++ ./classes/include/ArtsAttributeVector.hh Wed Sep 25 16:38:09 2002 -@@ -44,6 +44,7 @@ - #define _ARTSATTRIBUTEVECTOR_HH_ - - #include -+using namespace std; - - #include "ArtsAttribute.hh" - diff --git a/net/arts++/files/patch-classes::include::ArtsCflowdCustomData.hh b/net/arts++/files/patch-classes::include::ArtsCflowdCustomData.hh deleted file mode 100644 index b5ea0df4c56d..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsCflowdCustomData.hh +++ /dev/null @@ -1,17 +0,0 @@ ---- ./classes/include/ArtsCflowdCustomData.hh.orig Tue Nov 9 05:39:42 1999 -+++ ./classes/include/ArtsCflowdCustomData.hh Wed Sep 25 16:38:10 2002 -@@ -20,6 +20,7 @@ - } - - #include -+using namespace std; - - //---------------------------------------------------------------------------- - // class ArtsCflowdCustomDataKey -@@ -145,4 +146,5 @@ - }; - - --#endif // _ARTSCFLOWDCUSTOMDATA_HH_ -+#endif /* _ARTSCFLOWDCUSTOMDATA_HH_ */ -+ diff --git a/net/arts++/files/patch-classes::include::ArtsFileUtil.hh b/net/arts++/files/patch-classes::include::ArtsFileUtil.hh deleted file mode 100644 index 77f3ff6a66e9..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsFileUtil.hh +++ /dev/null @@ -1,20 +0,0 @@ ---- ./classes/include/ArtsFileUtil.hh.orig Mon Oct 2 13:05:15 2000 -+++ ./classes/include/ArtsFileUtil.hh Wed Sep 25 16:38:10 2002 -@@ -43,9 +43,16 @@ - #ifndef _ARTSFILEUTIL_HH_ - #define _ARTSFILEUTIL_HH_ - -+#include "artslocal.h" -+ - #include - #include --#include -+ -+#ifdef HAVE_FSTREAM -+# include -+#else -+# include -+#endif - - #include "ArtsProtocolTableAggregatorMap.hh" - #include "ArtsInterfaceMatrixAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::include::ArtsHeader.hh b/net/arts++/files/patch-classes::include::ArtsHeader.hh deleted file mode 100644 index 29cedac68c2f..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsHeader.hh +++ /dev/null @@ -1,20 +0,0 @@ ---- ./classes/include/ArtsHeader.hh.orig Mon Oct 2 13:05:15 2000 -+++ ./classes/include/ArtsHeader.hh Wed Sep 25 16:46:54 2002 -@@ -50,11 +50,13 @@ - #include "caida_t.h" - } - --#include --#ifdef HAVE_IOMANIP -- #include -+#ifdef HAVE_OSTREAM -+# include -+# include -+ using namespace std; - #else -- #include -+# include -+# include - #endif - - //--------------------------------------------------------------------------- diff --git a/net/arts++/files/patch-classes::include::ArtsInterfaceMatrixData.hh b/net/arts++/files/patch-classes::include::ArtsInterfaceMatrixData.hh deleted file mode 100644 index 732173383372..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsInterfaceMatrixData.hh +++ /dev/null @@ -1,22 +0,0 @@ ---- ./classes/include/ArtsInterfaceMatrixData.hh.orig Mon Oct 2 13:05:16 2000 -+++ ./classes/include/ArtsInterfaceMatrixData.hh Wed Sep 25 16:38:10 2002 -@@ -44,15 +44,17 @@ - #define ARTSINTERFACEMATRIXDATA_HH_ - - extern "C" { -+#include "artslocal.h" - #include "caida_t.h" - } - - #include - - #ifdef HAVE_IOSTREAM -- #include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - #include - diff --git a/net/arts++/files/patch-classes::include::ArtsIpPathEntry.hh b/net/arts++/files/patch-classes::include::ArtsIpPathEntry.hh deleted file mode 100644 index 2d506876f502..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsIpPathEntry.hh +++ /dev/null @@ -1,10 +0,0 @@ ---- ./classes/include/ArtsIpPathEntry.hh.orig Mon Oct 2 13:05:16 2000 -+++ ./classes/include/ArtsIpPathEntry.hh Wed Sep 25 16:38:10 2002 -@@ -54,6 +54,7 @@ - - #ifdef HAVE_IOSTREAM - #include -+ using namespace std; - #else - #include - #endif diff --git a/net/arts++/files/patch-classes::include::ArtsNetMatrixData.hh b/net/arts++/files/patch-classes::include::ArtsNetMatrixData.hh deleted file mode 100644 index 4dc3f0abfd89..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsNetMatrixData.hh +++ /dev/null @@ -1,24 +0,0 @@ ---- ./classes/include/ArtsNetMatrixData.hh.orig Mon Oct 2 13:05:17 2000 -+++ ./classes/include/ArtsNetMatrixData.hh Wed Sep 25 16:38:10 2002 -@@ -44,12 +44,19 @@ - #define ARTSNETMATRIXDATA_HH_ - - extern "C" { -+#include "artslocal.h" - #include "caida_t.h" - } - - #include --#include --#include -+ -+#ifdef HAVE_IOSTREAM -+# include -+using namespace std; -+#else -+# include -+# include -+#endif - - #include "ArtsNetMatrixEntry.hh" - diff --git a/net/arts++/files/patch-classes::include::ArtsNetMatrixEntry.hh b/net/arts++/files/patch-classes::include::ArtsNetMatrixEntry.hh deleted file mode 100644 index 6bc783ffca8d..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsNetMatrixEntry.hh +++ /dev/null @@ -1,15 +0,0 @@ ---- ./classes/include/ArtsNetMatrixEntry.hh.orig Mon Oct 2 13:05:17 2000 -+++ ./classes/include/ArtsNetMatrixEntry.hh Wed Sep 25 16:38:10 2002 -@@ -51,9 +51,10 @@ - } - - #ifdef HAVE_IOSTREAM -- #include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #ifdef HAVE_IOMANIP diff --git a/net/arts++/files/patch-classes::include::ArtsPackageVersion.hh b/net/arts++/files/patch-classes::include::ArtsPackageVersion.hh deleted file mode 100644 index bb844ba191d8..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsPackageVersion.hh +++ /dev/null @@ -1,10 +0,0 @@ ---- ./classes/include/ArtsPackageVersion.hh.orig Mon Oct 2 13:05:18 2000 -+++ ./classes/include/ArtsPackageVersion.hh Wed Sep 25 16:38:10 2002 -@@ -44,6 +44,7 @@ - #define _ARTSPACKAGEVERSION_HH_ - - #include -+using namespace std; - - //--------------------------------------------------------------------------- - // class ArtsPackageVersion diff --git a/net/arts++/files/patch-classes::include::ArtsPortMatrixEntry.hh b/net/arts++/files/patch-classes::include::ArtsPortMatrixEntry.hh deleted file mode 100644 index d099e0d46687..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsPortMatrixEntry.hh +++ /dev/null @@ -1,23 +0,0 @@ ---- ./classes/include/ArtsPortMatrixEntry.hh.orig Mon Oct 2 13:05:18 2000 -+++ ./classes/include/ArtsPortMatrixEntry.hh Wed Sep 25 16:38:10 2002 -@@ -50,15 +50,16 @@ - } - - #ifdef HAVE_IOSTREAM -- #include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #ifdef HAVE_IOMANIP -- #include -+# include - #else -- #include -+# include - #endif - - //--------------------------------------------------------------------------- diff --git a/net/arts++/files/patch-classes::include::ArtsPrimitive.hh b/net/arts++/files/patch-classes::include::ArtsPrimitive.hh deleted file mode 100644 index 5556ff8521e1..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsPrimitive.hh +++ /dev/null @@ -1,23 +0,0 @@ ---- ./classes/include/ArtsPrimitive.hh.orig Mon Oct 2 13:05:19 2000 -+++ ./classes/include/ArtsPrimitive.hh Wed Sep 25 16:38:10 2002 -@@ -43,13 +43,19 @@ - #ifndef _ARTSPRIMITIVE_HH_ - #define _ARTSPRIMITIVE_HH_ - --#include - - extern "C" { -+#include "artslocal.h" - #include "caida_t.h" - #include - } - -+#ifdef HAVE_IOSTREAM -+# include -+ using namespace std; -+#else -+# include -+#endif - //--------------------------------------------------------------------------- - // class ArtsPrimitive - //--------------------------------------------------------------------------- diff --git a/net/arts++/files/patch-classes::include::ArtsRttTimeSeriesTableData.hh b/net/arts++/files/patch-classes::include::ArtsRttTimeSeriesTableData.hh deleted file mode 100644 index 36ca49d7b4c6..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsRttTimeSeriesTableData.hh +++ /dev/null @@ -1,18 +0,0 @@ ---- ./classes/include/ArtsRttTimeSeriesTableData.hh.orig Thu Oct 19 19:37:14 2000 -+++ ./classes/include/ArtsRttTimeSeriesTableData.hh Wed Sep 25 16:38:10 2002 -@@ -47,7 +47,15 @@ - #include - - #include "caida_t.h" -+#include "artslocal.h" - } -+ -+#ifdef HAVE_IOSTREAM -+# include -+ using namespace std; -+#else -+# include -+#endif - - #include - diff --git a/net/arts++/files/patch-classes::include::ArtsSelectionSet.hh b/net/arts++/files/patch-classes::include::ArtsSelectionSet.hh deleted file mode 100644 index 8208edb4bcdb..000000000000 --- a/net/arts++/files/patch-classes::include::ArtsSelectionSet.hh +++ /dev/null @@ -1,19 +0,0 @@ ---- ./classes/include/ArtsSelectionSet.hh.orig Mon Oct 2 13:05:20 2000 -+++ ./classes/include/ArtsSelectionSet.hh Wed Sep 25 16:38:10 2002 -@@ -49,6 +49,7 @@ - - #include - #include -+using namespace std; - - #include "ArtsSelection.hh" - -@@ -96,7 +97,7 @@ - //------------------------------------------------------------------------- - bool Matches(const Type & value) const - { -- const_iterator selectionIter; -+ typename ArtsSelectionSet::const_iterator selectionIter; - bool rc = false; - - for (selectionIter = this->begin(); selectionIter != this->end(); diff --git a/net/arts++/files/patch-classes::include::Ipv4Network.hh b/net/arts++/files/patch-classes::include::Ipv4Network.hh deleted file mode 100644 index ecb290f907e6..000000000000 --- a/net/arts++/files/patch-classes::include::Ipv4Network.hh +++ /dev/null @@ -1,70 +0,0 @@ ---- ./classes/include/Ipv4Network.hh.orig Tue Sep 12 14:26:26 2000 -+++ ./classes/include/Ipv4Network.hh Wed Sep 25 16:38:10 2002 -@@ -20,7 +20,8 @@ - } - - #ifdef HAVE_IOSTREAM -- #include -+ #include -+ using namespace std; - #else - #include - #endif -@@ -39,7 +40,7 @@ - { - public: - ipv4addr_t net; -- uint8_t maskLen; -+ char maskLen; - - //-------------------------------------------------------------------------- - // Ipv4Network() -@@ -181,10 +182,10 @@ - istream & read(istream & is) - { - is.read(&this->maskLen,sizeof(this->maskLen)); -- uint8_t octet1 = 0; -- uint8_t octet2 = 0; -- uint8_t octet3 = 0; -- uint8_t netSize = (this->maskLen + 7) / 8; -+ char octet1 = 0; -+ char octet2 = 0; -+ char octet3 = 0; -+ char netSize = (this->maskLen + 7) / 8; - - switch (netSize) { - case 1: -@@ -206,7 +207,7 @@ - ((ipv4addr_t)octet3 << 8)); - break; - case 4: -- is.read(&this->net,sizeof(this->net)); -+ is.read((char *)&this->net,sizeof(this->net)); - break; - default: - break; -@@ -295,11 +296,11 @@ - // first we write the netmask length - os.write(&this->maskLen,sizeof(this->maskLen)); - -- uint8_t octet1 = 0; -- uint8_t octet2 = 0; -- uint8_t octet3 = 0; -+ char octet1 = 0; -+ char octet2 = 0; -+ char octet3 = 0; - ipv4addr_t netaddr; -- uint8_t netSize = (this->maskLen + 7) / 8; -+ char netSize = (this->maskLen + 7) / 8; - - // and then write the network prefix - switch (netSize) { -@@ -324,7 +325,7 @@ - os.write(&octet3,sizeof(octet3)); - break; - case 4: -- os.write(&this->net,sizeof(this->net)); -+ os.write((char *)&this->net,sizeof(this->net)); - break; - default: - break; diff --git a/net/arts++/files/patch-classes::include::Ipv4PrefixPatricia.hh.in b/net/arts++/files/patch-classes::include::Ipv4PrefixPatricia.hh.in deleted file mode 100644 index 2d4be55c04d2..000000000000 --- a/net/arts++/files/patch-classes::include::Ipv4PrefixPatricia.hh.in +++ /dev/null @@ -1,181 +0,0 @@ ---- ./classes/include/Ipv4PrefixPatricia.hh.in.orig Fri Jan 21 07:21:59 2000 -+++ ./classes/include/Ipv4PrefixPatricia.hh.in Wed Sep 25 16:38:10 2002 -@@ -80,6 +80,9 @@ - * December 1998 - */ - //---------------------------------------------------------------------------- -+ -+template class Ipv4PrefixPatricia; -+ - template - class Ipv4PrefixPatricia - { -@@ -215,7 +218,7 @@ - // class variables - //------------------------------------------------------------------------ - Ipv4PrefixPatricia *nodePtr; -- vector::iterator vlsmIter; -+ typename vector::iterator vlsmIter; - bool wentLeft; - bool wentRight; - -@@ -227,7 +230,7 @@ - StackEntry() - { - this->nodePtr = (Ipv4PrefixPatricia *)0; -- this->vlsmIter = (vector::iterator)0; -+ this->vlsmIter = (typename vector::iterator)0; - this->wentLeft = false; - this->wentRight = false; - } -@@ -253,7 +256,7 @@ - ~StackEntry() - { - this->nodePtr = (Ipv4PrefixPatricia *)0; -- this->vlsmIter = (vector::iterator)0; -+ this->vlsmIter = (typename vector::iterator)0; - } - - //------------------------------------------------------------------------- -@@ -297,7 +300,7 @@ - vector nodeStack; - Ipv4PrefixPatricia *nodePtr; - bool end; -- VlsmList::iterator vlsmIter; -+ typename VlsmList::iterator vlsmIter; - - //------------------------------------------------------------------------ - // iterator() -@@ -366,7 +369,7 @@ - //------------------------------------------------------------------------ - iterator & operator ++ (int foo) - { -- vector::iterator stackIter; -+ typename vector::iterator stackIter; - uint32_t bitNum; - Ipv4PrefixPatricia *leftNode; - Ipv4PrefixPatricia *rightNode; -@@ -501,7 +504,7 @@ - public: - vector nodeStack; - Ipv4PrefixPatricia *nodePtr; -- VlsmList::reverse_iterator vlsmIter; -+ typename VlsmList::reverse_iterator vlsmIter; - bool end; - - //------------------------------------------------------------------------ -@@ -556,7 +559,7 @@ - //------------------------------------------------------------------------ - reverse_iterator & operator ++ (int foo) - { -- vector::iterator stackIter; -+ typename vector::iterator stackIter; - uint32_t bitNum; - Ipv4PrefixPatricia *leftNode; - Ipv4PrefixPatricia *rightNode; -@@ -721,7 +724,7 @@ - { - StackEntry stackEntry; - iterator retIter; -- vector::iterator stackIter; -+ typename vector::iterator stackIter; - Ipv4PrefixPatricia *leftNode; - Ipv4PrefixPatricia *rightNode; - uint32_t bitNum; -@@ -799,7 +802,7 @@ - { - StackEntry stackEntry; - reverse_iterator retIter; -- vector::iterator stackIter; -+ typename vector::iterator stackIter; - Ipv4PrefixPatricia *leftNode; - Ipv4PrefixPatricia *rightNode; - uint32_t bitNum; -@@ -912,7 +915,7 @@ - { - iterator retIter; - Ipv4PrefixPatricia *treeNode, *nextNode; -- vector::iterator vlsmIter; -+ typename vector::iterator vlsmIter; - - treeNode = this; - nextNode = treeNode->lft; -@@ -955,7 +958,7 @@ - { - iterator retIter; - Ipv4PrefixPatricia *treeNode, *nextNode; -- vector::iterator vlsmIter; -+ typename vector::iterator vlsmIter; - - treeNode = this; - nextNode = treeNode->lft; -@@ -1026,7 +1029,7 @@ - //-------------------------------------------------------------------------- - pair & insert(const value_type & value) - { -- static pair::iterator,bool> retVal; -+ static pair::iterator,bool> retVal; - - retVal = _insert(value); - if (retVal.second) { -@@ -1043,7 +1046,7 @@ - // - //-------------------------------------------------------------------------- - inline void -- visit(void (*visitFunc)(VlsmList::iterator & value, void *), -+ visit(void (*visitFunc)(typename VlsmList::iterator & value, void *), - void *other) - { - _visit(this->lft,visitFunc,other,33); -@@ -1078,7 +1081,7 @@ - } - - bool foundVlsmEntry = false; -- VlsmList::iterator vlsmDeleteIter; -+ typename VlsmList::iterator vlsmDeleteIter; - - for (vlsmDeleteIter = dnode->vlsmVect.begin(); - vlsmDeleteIter != dnode->vlsmVect.end(); vlsmDeleteIter++) { -@@ -1231,7 +1234,7 @@ - } - - bool foundVlsmEntry = false; -- VlsmList::iterator vlsmDeleteIter; -+ typename VlsmList::iterator vlsmDeleteIter; - - for (vlsmDeleteIter = dnode->vlsmVect.begin(); - vlsmDeleteIter != dnode->vlsmVect.end(); vlsmDeleteIter++) { -@@ -1361,7 +1364,7 @@ - uint32_t erase(const iterator & start, const iterator & finish) - { - vector keyVector; -- vector::iterator keyVectorIter; -+ typename vector::iterator keyVectorIter; - iterator iter; - uint32_t numErased = 0; - -@@ -1455,7 +1458,7 @@ - { - Ipv4PrefixPatricia *p, *t, *x; - uint32_t i = 32; -- VlsmList::iterator vlsmIter; -+ typename VlsmList::iterator vlsmIter; - - p = this; - t = lft; -@@ -1553,13 +1556,13 @@ - //-------------------------------------------------------------------------- - inline void - _visit(Ipv4PrefixPatricia *head, -- void (*visitFunc)(VlsmList::iterator & value, void *), -+ void (*visitFunc)(typename VlsmList::iterator & value, void *), - void *other, uint32_t bitNum) - { - Ipv4PrefixPatricia *p; - Ipv4PrefixPatricia *leftNode; - Ipv4PrefixPatricia *rightNode; -- VlsmList::iterator vlsmIter; -+ typename VlsmList::iterator vlsmIter; - - p = head; - leftNode = head->lft; diff --git a/net/arts++/files/patch-classes::include::artslocal.h.in b/net/arts++/files/patch-classes::include::artslocal.h.in deleted file mode 100644 index 2b7b551a07ad..000000000000 --- a/net/arts++/files/patch-classes::include::artslocal.h.in +++ /dev/null @@ -1,13 +0,0 @@ ---- ./classes/include/artslocal.h.in.orig Wed Sep 25 16:48:31 2002 -+++ ./classes/include/artslocal.h.in Wed Sep 25 16:49:06 2002 -@@ -90,4 +90,10 @@ - //--------------------------------------------------------------------------- - #undef HAVE_STRSTREAM - -+//--------------------------------------------------------------------------- -+// If exists, HAVE_OSTREAM should be non-zero. Else -+// HAVE_OSTREAM should be zero and our source will use -+//--------------------------------------------------------------------------- -+#undef HAVE_OSTREAM -+ - diff --git a/net/arts++/files/patch-classes::src::ArtsAsMatrixAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsAsMatrixAggregatorMap.cc deleted file mode 100644 index 643c350f2da1..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsAsMatrixAggregatorMap.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/src/ArtsAsMatrixAggregatorMap.cc.orig Mon Oct 2 13:05:22 2000 -+++ ./classes/src/ArtsAsMatrixAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,9 +46,11 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #include "ArtsAsMatrixAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::src::ArtsAsMatrixData.cc b/net/arts++/files/patch-classes::src::ArtsAsMatrixData.cc deleted file mode 100644 index b7bf7fde20bf..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsAsMatrixData.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- ./classes/src/ArtsAsMatrixData.cc.orig Mon Oct 2 13:05:22 2000 -+++ ./classes/src/ArtsAsMatrixData.cc Wed Sep 25 16:38:10 2002 -@@ -81,7 +81,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream & ArtsAsMatrixData::read(istream& is, uint8_t version = 0) -+istream & ArtsAsMatrixData::read(istream& is, uint8_t version) - { - uint32_t entryNum; - ArtsAsMatrixEntry asEntry; -@@ -106,7 +106,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsAsMatrixData::read(int fd, uint8_t version = 0) -+int ArtsAsMatrixData::read(int fd, uint8_t version) - { - uint32_t entryNum; - ArtsAsMatrixEntry asEntry; -@@ -161,7 +161,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --ostream & ArtsAsMatrixData::write(ostream& os, uint8_t version = 0) -+ostream & ArtsAsMatrixData::write(ostream& os, uint8_t version) - { - uint32_t entryNum; - -@@ -183,7 +183,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsAsMatrixData::write(int fd, uint8_t version = 0) -+int ArtsAsMatrixData::write(int fd, uint8_t version) - { - uint32_t entryNum; - int rc; -@@ -235,7 +235,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsAsMatrixData::Length(uint8_t version = 0) const -+uint32_t ArtsAsMatrixData::Length(uint8_t version) const - { - uint32_t length = 0; - diff --git a/net/arts++/files/patch-classes::src::ArtsAsMatrixEntry.cc b/net/arts++/files/patch-classes::src::ArtsAsMatrixEntry.cc deleted file mode 100644 index b58a152e26cf..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsAsMatrixEntry.cc +++ /dev/null @@ -1,63 +0,0 @@ ---- ./classes/src/ArtsAsMatrixEntry.cc.orig Mon Oct 2 13:05:22 2000 -+++ ./classes/src/ArtsAsMatrixEntry.cc Wed Sep 25 16:38:10 2002 -@@ -180,7 +180,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsAsMatrixEntry::Length(uint8_t version = 0) const -+uint32_t ArtsAsMatrixEntry::Length(uint8_t version) const - { - uint32_t length; - -@@ -197,14 +197,14 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsAsMatrixEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsAsMatrixEntry::read(istream& is, uint8_t version) - { - uint8_t bytesize, - pktsize, - srcsize, - dstsize; - -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - srcsize = (this->_descriptor & 0x01) + 1; - dstsize = ((this->_descriptor >> 1) & 0x01) + 1; -@@ -224,7 +224,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsAsMatrixEntry::read(int fd, uint8_t version = 0) -+int ArtsAsMatrixEntry::read(int fd, uint8_t version) - { - uint8_t bytesize, - pktsize, -@@ -277,14 +277,14 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --ostream & ArtsAsMatrixEntry::write(ostream & os, uint8_t version = 0) const -+ostream & ArtsAsMatrixEntry::write(ostream & os, uint8_t version) const - { - uint8_t bytesize, - pktsize, - srcsize, - dstsize; - -- os.write(&this->_descriptor,sizeof(this->_descriptor)); -+ os.write((char *)&this->_descriptor,sizeof(this->_descriptor)); - - srcsize = (this->_descriptor & 0x01) + 1; - dstsize = ((this->_descriptor >> 1) & 0x01) + 1; -@@ -304,7 +304,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsAsMatrixEntry::write(int fd, uint8_t version = 0) const -+int ArtsAsMatrixEntry::write(int fd, uint8_t version) const - { - uint8_t bytesize, - pktsize, diff --git a/net/arts++/files/patch-classes::src::ArtsAttribute.cc b/net/arts++/files/patch-classes::src::ArtsAttribute.cc deleted file mode 100644 index b03b56a70d00..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsAttribute.cc +++ /dev/null @@ -1,134 +0,0 @@ ---- ./classes/src/ArtsAttribute.cc.orig Mon Oct 2 13:05:22 2000 -+++ ./classes/src/ArtsAttribute.cc Wed Sep 25 16:38:10 2002 -@@ -41,6 +41,7 @@ - //=========================================================================== - - extern "C" { -+#include "artslocal.h" - #include - #include - #include -@@ -51,7 +52,12 @@ - } - - #include --#include -+#if HAVE_IOMANIP -+# include -+ using namespace std; -+#else -+# include -+#endif - - #include "ArtsAttribute.hh" - #include "ArtsPrimitive.hh" -@@ -487,10 +493,10 @@ - - idAndFormat = (this->_identifier << 8) | this->_format; - uIntDatum = htonl(idAndFormat); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - - uIntDatum = htonl(this->_length); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - - switch (this->_identifier) { - case artsC_ATTR_COMMENT: -@@ -499,16 +505,16 @@ - break; - case artsC_ATTR_CREATION: - uIntDatum = htonl(this->_value.creation); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - break; - case artsC_ATTR_PERIOD: - uIntDatum = htonl(this->_value.period[0]); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - uIntDatum = htonl(this->_value.period[1]); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - break; - case artsC_ATTR_HOST: -- os.write(&this->_value.host,sizeof(this->_value.host)); -+ os.write((char *)&this->_value.host,sizeof(this->_value.host)); - break; - case artsC_ATTR_IFDESCR: - ptr = this->_value.ifDescr->c_str(); -@@ -516,14 +522,14 @@ - break; - case artsC_ATTR_IFINDEX: - uShortDatum = htons(this->_value.ifIndex); -- os.write(&uShortDatum,sizeof(uShortDatum)); -+ os.write((char *)&uShortDatum,sizeof(uShortDatum)); - break; - case artsC_ATTR_IFIPADDR: -- os.write(&this->_value.ifIpAddr,sizeof(this->_value.ifIpAddr)); -+ os.write((char *)&this->_value.ifIpAddr,sizeof(this->_value.ifIpAddr)); - break; - case artsC_ATTR_HOSTPAIR: -- os.write(&(this->_value.hostPair[0]),sizeof(ipv4addr_t)); -- os.write(&(this->_value.hostPair[1]),sizeof(ipv4addr_t)); -+ os.write((char *)&(this->_value.hostPair[0]),sizeof(ipv4addr_t)); -+ os.write((char *)&(this->_value.hostPair[1]),sizeof(ipv4addr_t)); - break; - default: - break; -@@ -675,12 +681,12 @@ - break; - } - -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - idAndFormat = ntohl(uIntDatum); - this->_identifier = idAndFormat >> 8; - this->_format = idAndFormat & 0xff; - -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - this->_length = ntohl(uIntDatum); - - switch (this->_identifier) { -@@ -693,17 +699,17 @@ - free(ptr); - break; - case artsC_ATTR_CREATION: -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - this->_value.creation = ntohl(uIntDatum); - break; - case artsC_ATTR_PERIOD: -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - this->_value.period[0] = htonl(uIntDatum); -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - this->_value.period[1] = htonl(uIntDatum); - break; - case artsC_ATTR_HOST: -- is.read(&this->_value.host,sizeof(this->_value.host)); -+ is.read((char *)&this->_value.host,sizeof(this->_value.host)); - break; - case artsC_ATTR_IFDESCR: - ptr = (char *)malloc(this->_length - (sizeof(uint32_t) * 2)); -@@ -714,15 +720,15 @@ - free(ptr); - break; - case artsC_ATTR_IFINDEX: -- is.read(&this->_value.ifIndex,sizeof(this->_value.ifIndex)); -+ is.read((char *)&this->_value.ifIndex,sizeof(this->_value.ifIndex)); - this->_value.ifIndex = ntohs(this->_value.ifIndex); - break; - case artsC_ATTR_IFIPADDR: -- is.read(&this->_value.ifIpAddr,sizeof(this->_value.ifIpAddr)); -+ is.read((char *)&this->_value.ifIpAddr,sizeof(this->_value.ifIpAddr)); - break; - case artsC_ATTR_HOSTPAIR: -- is.read(&(this->_value.hostPair[0]),sizeof(ipv4addr_t)); -- is.read(&(this->_value.hostPair[1]),sizeof(ipv4addr_t)); -+ is.read((char *)&(this->_value.hostPair[0]),sizeof(ipv4addr_t)); -+ is.read((char *)&(this->_value.hostPair[1]),sizeof(ipv4addr_t)); - break; - default: - break; diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4AggregatorAttribute.cc b/net/arts++/files/patch-classes::src::ArtsBgp4AggregatorAttribute.cc deleted file mode 100644 index 8d9d0d54bda1..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4AggregatorAttribute.cc +++ /dev/null @@ -1,55 +0,0 @@ ---- ./classes/src/ArtsBgp4AggregatorAttribute.cc.orig Mon Oct 2 13:05:22 2000 -+++ ./classes/src/ArtsBgp4AggregatorAttribute.cc Wed Sep 25 16:38:10 2002 -@@ -154,10 +154,10 @@ - // - //---------------------------------------------------------------------------- - istream & ArtsBgp4AggregatorAttribute::read(istream & is, -- uint8_t version = 0) -+ uint8_t version) - { - g_ArtsLibInternal_Primitive.ReadUint16(is,this->_AS,sizeof(this->_AS)); -- is.read(&this->_ipAddr,sizeof(this->_ipAddr)); -+ is.read((char *)&this->_ipAddr,sizeof(this->_ipAddr)); - return(is); - } - -@@ -166,7 +166,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4AggregatorAttribute::read(int fd, uint8_t version = 0) -+int ArtsBgp4AggregatorAttribute::read(int fd, uint8_t version) - { - int rc; - int bytesRead = 0; -@@ -190,10 +190,10 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsBgp4AggregatorAttribute::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { - g_ArtsLibInternal_Primitive.WriteUint16(os,this->_AS,sizeof(this->_AS)); -- os.write(&this->_ipAddr,sizeof(this->_ipAddr)); -+ os.write((char *)&this->_ipAddr,sizeof(this->_ipAddr)); - return(os); - } - -@@ -202,7 +202,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4AggregatorAttribute::write(int fd, uint8_t version = 0) const -+int ArtsBgp4AggregatorAttribute::write(int fd, uint8_t version) const - { - int rc; - int bytesWritten = 0; -@@ -225,7 +225,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsBgp4AggregatorAttribute::Length(uint8_t version = 0) const -+uint32_t ArtsBgp4AggregatorAttribute::Length(uint8_t version) const - { - return(sizeof(this->_AS) + sizeof(this->_ipAddr)); - } diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4AsPathAttribute.cc b/net/arts++/files/patch-classes::src::ArtsBgp4AsPathAttribute.cc deleted file mode 100644 index 8c9d3352c789..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4AsPathAttribute.cc +++ /dev/null @@ -1,60 +0,0 @@ ---- ./classes/src/ArtsBgp4AsPathAttribute.cc.orig Mon Oct 2 13:05:22 2000 -+++ ./classes/src/ArtsBgp4AsPathAttribute.cc Wed Sep 25 16:38:10 2002 -@@ -117,7 +117,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsBgp4AsPathAttribute::read(istream & is, uint8_t version = 0) -+istream & ArtsBgp4AsPathAttribute::read(istream & is, uint8_t version) - { - ArtsBgp4AsPathSegment asPathSegment; - uint8_t numSegments; -@@ -125,7 +125,7 @@ - if (this->_segments.size() > 0) - this->_segments.erase(this->_segments.begin(),this->_segments.end()); - -- is.read(&numSegments,sizeof(numSegments)); -+ is.read((char *)&numSegments,sizeof(numSegments)); - if (numSegments > 0) { - this->_segments.reserve(numSegments); - for (uint8_t segmentNum = 0; segmentNum < numSegments; segmentNum++) { -@@ -144,7 +144,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4AsPathAttribute::read(int fd, uint8_t version = 0) -+int ArtsBgp4AsPathAttribute::read(int fd, uint8_t version) - { - int rc; - int bytesRead = 0; -@@ -175,10 +175,10 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsBgp4AsPathAttribute::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t numSegments = this->_segments.size(); -- os.write(&numSegments,sizeof(numSegments)); -+ os.write((char *)&numSegments,sizeof(numSegments)); - for (uint8_t segmentNum = 0; segmentNum < numSegments; segmentNum++) { - this->_segments[segmentNum].write(os,version); - } -@@ -190,7 +190,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4AsPathAttribute::write(int fd, uint8_t version = 0) const -+int ArtsBgp4AsPathAttribute::write(int fd, uint8_t version) const - { - int rc; - int bytesWritten = 0; -@@ -232,7 +232,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsBgp4AsPathAttribute::Length(uint8_t version = 0) const -+uint32_t ArtsBgp4AsPathAttribute::Length(uint8_t version) const - { - uint32_t length = sizeof(uint8_t); - diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4AsPathSegment.cc b/net/arts++/files/patch-classes::src::ArtsBgp4AsPathSegment.cc deleted file mode 100644 index e0d2c687dd9f..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4AsPathSegment.cc +++ /dev/null @@ -1,62 +0,0 @@ ---- ./classes/src/ArtsBgp4AsPathSegment.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBgp4AsPathSegment.cc Wed Sep 25 16:38:10 2002 -@@ -137,13 +137,13 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsBgp4AsPathSegment::read(istream & is, uint8_t version = 0) -+istream & ArtsBgp4AsPathSegment::read(istream & is, uint8_t version) - { - uint8_t numAses; - uint16_t as; - -- is.read(&this->_type,sizeof(this->_type)); -- is.read(&numAses,sizeof(numAses)); -+ is.read((char *)&this->_type,sizeof(this->_type)); -+ is.read((char *)&numAses,sizeof(numAses)); - if (numAses > 0) { - this->_AS.reserve(numAses); - for (int asNum = 0; asNum < numAses; asNum++) { -@@ -160,7 +160,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4AsPathSegment::read(int fd, uint8_t version = 0) -+int ArtsBgp4AsPathSegment::read(int fd, uint8_t version) - { - int rc; - uint8_t numAses; -@@ -196,12 +196,12 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsBgp4AsPathSegment::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { -- os.write(&this->_type,sizeof(this->_type)); -+ os.write((char *)&this->_type,sizeof(this->_type)); - - uint8_t numAses = this->_AS.size(); -- os.write(&numAses,sizeof(numAses)); -+ os.write((char *)&numAses,sizeof(numAses)); - - for (int asNum = 0; asNum < numAses; asNum++) { - g_ArtsLibInternal_Primitive.WriteUint16(os,this->_AS[asNum], -@@ -215,7 +215,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4AsPathSegment::write(int fd, uint8_t version = 0) const -+int ArtsBgp4AsPathSegment::write(int fd, uint8_t version) const - { - int rc; - uint8_t numAses; -@@ -246,7 +246,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsBgp4AsPathSegment::Length(uint8_t version = 0) const -+uint32_t ArtsBgp4AsPathSegment::Length(uint8_t version) const - { - return(sizeof(this->_type) + sizeof(uint8_t) + - (sizeof(uint16_t) * this->_AS.size())); diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4Attribute.cc b/net/arts++/files/patch-classes::src::ArtsBgp4Attribute.cc deleted file mode 100644 index de2d61543d58..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4Attribute.cc +++ /dev/null @@ -1,107 +0,0 @@ ---- ./classes/src/ArtsBgp4Attribute.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBgp4Attribute.cc Wed Sep 25 16:38:10 2002 -@@ -444,26 +444,26 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsBgp4Attribute::read(istream & is, uint8_t version = 0) -+istream & ArtsBgp4Attribute::read(istream & is, uint8_t version) - { - uint8_t numCommunities; - uint32_t community; - - this->DeleteValue(); - -- is.read(&this->_flags,sizeof(this->_flags)); -- is.read(&this->_type,sizeof(this->_type)); -+ is.read((char *)&this->_flags,sizeof(this->_flags)); -+ is.read((char *)&this->_type,sizeof(this->_type)); - - switch (this->_type) { - case Bgp4_Attribute_Origin: -- is.read(&this->_value._origin,sizeof(this->_value._origin)); -+ is.read((char *)&this->_value._origin,sizeof(this->_value._origin)); - break; - case Bgp4_Attribute_AsPath: - this->_value._asPath = new ArtsBgp4AsPathAttribute; - this->_value._asPath->read(is,version); - break; - case Bgp4_Attribute_NextHop: -- is.read(&this->_value._nextHop,sizeof(this->_value._nextHop)); -+ is.read((char *)&this->_value._nextHop,sizeof(this->_value._nextHop)); - break; - case Bgp4_Attribute_MultiExitDisc: - g_ArtsLibInternal_Primitive.ReadUint32(is,this->_value._MED, -@@ -480,7 +480,7 @@ - this->_value._aggregator->read(is,version); - break; - case Bgp4_Attribute_Community: -- is.read(&numCommunities,sizeof(numCommunities)); -+ is.read((char *)&numCommunities,sizeof(numCommunities)); - this->_value._community = new vector; - this->_value._community->reserve((int)numCommunities); - for (int commNum = 0; commNum < numCommunities; commNum++) { -@@ -507,7 +507,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4Attribute::read(int fd, uint8_t version = 0) -+int ArtsBgp4Attribute::read(int fd, uint8_t version) - { - uint8_t numCommunities; - uint32_t community; -@@ -622,22 +622,22 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsBgp4Attribute::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t numCommunities; - -- os.write(&this->_flags,sizeof(this->_flags)); -- os.write(&this->_type,sizeof(this->_type)); -+ os.write((char *)&this->_flags,sizeof(this->_flags)); -+ os.write((char *)&this->_type,sizeof(this->_type)); - - switch (this->_type) { - case Bgp4_Attribute_Origin: -- os.write(&this->_value._origin,sizeof(this->_value._origin)); -+ os.write((char *)&this->_value._origin,sizeof(this->_value._origin)); - break; - case Bgp4_Attribute_AsPath: - this->_value._asPath->write(os,version); - break; - case Bgp4_Attribute_NextHop: -- os.write(&this->_value._nextHop,sizeof(this->_value._nextHop)); -+ os.write((char *)&this->_value._nextHop,sizeof(this->_value._nextHop)); - break; - case Bgp4_Attribute_MultiExitDisc: - g_ArtsLibInternal_Primitive.WriteUint32(os,this->_value._MED, -@@ -654,7 +654,7 @@ - break; - case Bgp4_Attribute_Community: - numCommunities = this->_value._community->size(); -- os.write(&numCommunities,sizeof(numCommunities)); -+ os.write((char *)&numCommunities,sizeof(numCommunities)); - for (int commNum = 0; commNum < numCommunities; commNum++) { - g_ArtsLibInternal_Primitive.WriteUint32(os, - (*(this->_value._community))[commNum], -@@ -680,7 +680,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4Attribute::write(int fd, uint8_t version = 0) const -+int ArtsBgp4Attribute::write(int fd, uint8_t version) const - { - uint8_t numCommunities; - int rc; -@@ -855,7 +855,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint16_t ArtsBgp4Attribute::Length(uint8_t version = 0) const -+uint16_t ArtsBgp4Attribute::Length(uint8_t version) const - { - uint16_t length = sizeof(this->_flags) + sizeof(this->_type); - switch (this->_type) { diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4DPAttribute.cc b/net/arts++/files/patch-classes::src::ArtsBgp4DPAttribute.cc deleted file mode 100644 index 6a93ef18ba54..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4DPAttribute.cc +++ /dev/null @@ -1,38 +0,0 @@ ---- ./classes/src/ArtsBgp4DPAttribute.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBgp4DPAttribute.cc Wed Sep 25 16:38:10 2002 -@@ -132,7 +132,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsBgp4DPAttribute::read(istream & is, uint8_t version = 0) -+istream & ArtsBgp4DPAttribute::read(istream & is, uint8_t version) - { - g_ArtsLibInternal_Primitive.ReadUint16(is,this->_as,sizeof(this->_as)); - g_ArtsLibInternal_Primitive.ReadUint32(is,this->_value, -@@ -145,7 +145,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4DPAttribute::read(int fd, uint8_t version = 0) -+int ArtsBgp4DPAttribute::read(int fd, uint8_t version) - { - int rc; - int bytesRead = 0; -@@ -169,7 +169,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --ostream & ArtsBgp4DPAttribute::write(ostream & os, uint8_t version = 0) const -+ostream & ArtsBgp4DPAttribute::write(ostream & os, uint8_t version) const - { - g_ArtsLibInternal_Primitive.WriteUint16(os,this->_as,sizeof(this->_as)); - g_ArtsLibInternal_Primitive.WriteUint32(os,this->_value, -@@ -182,7 +182,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4DPAttribute::write(int fd, uint8_t version = 0) const -+int ArtsBgp4DPAttribute::write(int fd, uint8_t version) const - { - int rc; - int bytesWritten = 0; diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4Prefix.cc b/net/arts++/files/patch-classes::src::ArtsBgp4Prefix.cc deleted file mode 100644 index c65bcf3e4c17..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4Prefix.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- ./classes/src/ArtsBgp4Prefix.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBgp4Prefix.cc Wed Sep 25 16:38:10 2002 -@@ -48,7 +48,7 @@ - - #include "ArtsBgp4Prefix.hh" - --static const string rcsid = "@(#) $Name: arts++-1-1-a8 $ $Id: ArtsBgp4Prefix.cc,v 1.4 2000/10/02 17:05:23 dwm Exp $"; -+static const char *rcsid = "@(#) $Name: arts++-1-1-a8 $ $Id: ArtsBgp4Prefix.cc,v 1.4 2000/10/02 17:05:23 dwm Exp $"; - - //------------------------------------------------------------------------- - // uint8_t ArtsBgp4Prefix::AddressFamily() const diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4RouteEntry.cc b/net/arts++/files/patch-classes::src::ArtsBgp4RouteEntry.cc deleted file mode 100644 index 6623ddc7ffe9..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4RouteEntry.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- ./classes/src/ArtsBgp4RouteEntry.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBgp4RouteEntry.cc Wed Sep 25 16:38:10 2002 -@@ -122,7 +122,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsBgp4RouteEntry::read(istream & is, uint8_t version = 0) -+istream & ArtsBgp4RouteEntry::read(istream & is, uint8_t version) - { - ArtsBgp4Attribute bgp4Attribute; - -@@ -186,7 +186,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4RouteEntry::read(int fd, uint8_t version = 0) -+int ArtsBgp4RouteEntry::read(int fd, uint8_t version) - { - int rc; - ArtsBgp4Attribute bgp4Attribute; -@@ -291,7 +291,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --ostream & ArtsBgp4RouteEntry::write(ostream & os, uint8_t version = 0) const -+ostream & ArtsBgp4RouteEntry::write(ostream & os, uint8_t version) const - { - g_ArtsLibInternal_Primitive.WriteUint32(os,this->_attrIndex, - sizeof(this->_attrIndex)); -@@ -309,7 +309,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4RouteEntry::write(int fd, uint8_t version = 0) const -+int ArtsBgp4RouteEntry::write(int fd, uint8_t version) const - { - int rc; - int bytesWritten = 0; -@@ -337,7 +337,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsBgp4RouteEntry::Length(uint8_t version = 0) const -+uint32_t ArtsBgp4RouteEntry::Length(uint8_t version) const - { - uint32_t length = sizeof(this->_attrIndex); - vector::const_iterator bgp4AttrIter; diff --git a/net/arts++/files/patch-classes::src::ArtsBgp4RouteTableData.cc b/net/arts++/files/patch-classes::src::ArtsBgp4RouteTableData.cc deleted file mode 100644 index 663a1cdb4673..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBgp4RouteTableData.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- ./classes/src/ArtsBgp4RouteTableData.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBgp4RouteTableData.cc Wed Sep 25 16:38:10 2002 -@@ -114,7 +114,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsBgp4RouteTableData::read(istream & is, uint8_t version = 0) -+istream & ArtsBgp4RouteTableData::read(istream & is, uint8_t version) - { - uint32_t numRoutes; - ArtsBgp4RouteEntry routeEntry; -@@ -134,7 +134,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4RouteTableData::read(int fd, uint8_t version = 0) -+int ArtsBgp4RouteTableData::read(int fd, uint8_t version) - { - uint32_t numRoutes; - ArtsBgp4RouteEntry routeEntry; -@@ -165,7 +165,7 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsBgp4RouteTableData::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { - Ipv4PrefixPatricia::iterator routeIter; - -@@ -185,7 +185,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsBgp4RouteTableData::write(int fd, uint8_t version = 0) const -+int ArtsBgp4RouteTableData::write(int fd, uint8_t version) const - { - Ipv4PrefixPatricia::iterator routeIter; - int rc; -@@ -216,7 +216,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsBgp4RouteTableData::Length(uint8_t version = 0) const -+uint32_t ArtsBgp4RouteTableData::Length(uint8_t version) const - { - uint32_t length = sizeof(uint32_t); - Ipv4PrefixPatricia::iterator routeIter; diff --git a/net/arts++/files/patch-classes::src::ArtsBitString.cc b/net/arts++/files/patch-classes::src::ArtsBitString.cc deleted file mode 100644 index d6446b6fa508..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsBitString.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- ./classes/src/ArtsBitString.cc.orig Mon Oct 2 13:05:23 2000 -+++ ./classes/src/ArtsBitString.cc Wed Sep 25 16:38:10 2002 -@@ -48,7 +48,7 @@ - - #include "ArtsBitString.hh" - --static const string rcsid = "@(#) $Name: arts++-1-1-a8 $ $Id: ArtsBitString.cc,v 1.7 2000/10/02 17:05:23 dwm Exp $"; -+static const char *rcsid = "@(#) $Name: arts++-1-1-a8 $ $Id: ArtsBitString.cc,v 1.7 2000/10/02 17:05:23 dwm Exp $"; - - //------------------------------------------------------------------------- - // ArtsBitString::ArtsBitString(uint32_t numBits) diff --git a/net/arts++/files/patch-classes::src::ArtsFileUtil.cc b/net/arts++/files/patch-classes::src::ArtsFileUtil.cc deleted file mode 100644 index 780a56829b32..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsFileUtil.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- ./classes/src/ArtsFileUtil.cc.orig Mon Oct 2 13:05:24 2000 -+++ ./classes/src/ArtsFileUtil.cc Wed Sep 25 16:38:10 2002 -@@ -53,6 +53,7 @@ - - #ifdef HAVE_FSTREAM - #include -+ #include - #else - #include - #endif -@@ -69,7 +70,7 @@ - extern char *tzname[2]; - extern int errno; - --const string rcsid = "@(#) $Name: arts++-1-1-a8 $ $Id: ArtsFileUtil.cc,v 1.14 2000/10/02 17:05:24 dwm Exp $"; -+const char *rcsid = "@(#) $Name: arts++-1-1-a8 $ $Id: ArtsFileUtil.cc,v 1.14 2000/10/02 17:05:24 dwm Exp $"; - static const ArtsPackageVersion k_artsVersion = ArtsPackageVersion(rcsid); - - //---------------------------------------------------------------------------- diff --git a/net/arts++/files/patch-classes::src::ArtsHeader.cc b/net/arts++/files/patch-classes::src::ArtsHeader.cc deleted file mode 100644 index 155239bdc69e..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsHeader.cc +++ /dev/null @@ -1,75 +0,0 @@ ---- ./classes/src/ArtsHeader.cc.orig Mon Oct 2 13:05:24 2000 -+++ ./classes/src/ArtsHeader.cc Wed Sep 25 16:38:10 2002 -@@ -135,23 +135,23 @@ - uint32_t uIntDatum, idAndVersion; - - uShortDatum = htons(this->_magic); -- os.write(&uShortDatum,sizeof(uShortDatum)); -+ os.write((char *)&uShortDatum,sizeof(uShortDatum)); - - idAndVersion = (this->_identifier << 4) | this->_version; - uIntDatum = htonl(idAndVersion); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - - uIntDatum = htonl(this->_flags); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - - uShortDatum = htons(this->_numAttributes); -- os.write(&uShortDatum,sizeof(uShortDatum)); -+ os.write((char *)&uShortDatum,sizeof(uShortDatum)); - - uIntDatum = htonl(this->_attrLength); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - - uIntDatum = htonl(this->_dataLength); -- os.write(&uIntDatum,sizeof(uIntDatum)); -+ os.write((char *)&uIntDatum,sizeof(uIntDatum)); - - return(os); - } -@@ -225,13 +225,13 @@ - uint32_t uIntDatum; - uint32_t idAndVersion; - -- is.read(&uShortDatum,sizeof(uShortDatum)); -+ is.read((char *)&uShortDatum,sizeof(uShortDatum)); - if (is.eof()) - return(is); - - this->_magic = ntohs(uShortDatum); - -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - if (is.eof()) - return(is); - -@@ -239,22 +239,22 @@ - this->_identifier = idAndVersion >> 4; - this->_version = idAndVersion & 0x0f; - -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - if (is.eof()) - return(is); - this->_flags = ntohl(uIntDatum); - -- is.read(&uShortDatum,sizeof(uShortDatum)); -+ is.read((char *)&uShortDatum,sizeof(uShortDatum)); - if (is.eof()) - return(is); - this->_numAttributes = ntohs(uShortDatum); - -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - if (is.eof()) - return(is); - this->_attrLength = ntohl(uIntDatum); - -- is.read(&uIntDatum,sizeof(uIntDatum)); -+ is.read((char *)&uIntDatum,sizeof(uIntDatum)); - if (is.eof()) - return(is); - this->_dataLength = ntohl(uIntDatum); diff --git a/net/arts++/files/patch-classes::src::ArtsIfIndexSelectionSet.lex b/net/arts++/files/patch-classes::src::ArtsIfIndexSelectionSet.lex deleted file mode 100644 index 3a6732b238eb..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsIfIndexSelectionSet.lex +++ /dev/null @@ -1,10 +0,0 @@ ---- ./classes/src/ArtsIfIndexSelectionSet.lex.orig Mon Oct 2 13:05:24 2000 -+++ ./classes/src/ArtsIfIndexSelectionSet.lex Wed Sep 25 16:38:10 2002 -@@ -48,6 +48,7 @@ - } - - #include -+using namespace std; - - #ifdef HAVE_STRSTREAM - #include diff --git a/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixAggregatorMap.cc deleted file mode 100644 index d597ad1c8d80..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixAggregatorMap.cc +++ /dev/null @@ -1,13 +0,0 @@ ---- ./classes/src/ArtsInterfaceMatrixAggregatorMap.cc.orig Mon Oct 2 13:05:24 2000 -+++ ./classes/src/ArtsInterfaceMatrixAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,7 +46,9 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else - #include - #endif diff --git a/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixData.cc b/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixData.cc deleted file mode 100644 index 18c54ffeaad7..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixData.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- ./classes/src/ArtsInterfaceMatrixData.cc.orig Mon Oct 2 13:05:24 2000 -+++ ./classes/src/ArtsInterfaceMatrixData.cc Wed Sep 25 16:38:10 2002 -@@ -81,7 +81,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream & ArtsInterfaceMatrixData::read(istream& is, uint8_t version = 0) -+istream & ArtsInterfaceMatrixData::read(istream& is, uint8_t version) - { - uint32_t entryNum; - ArtsInterfaceMatrixEntry interfaceEntry; -@@ -106,7 +106,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsInterfaceMatrixData::read(int fd, uint8_t version = 0) -+int ArtsInterfaceMatrixData::read(int fd, uint8_t version) - { - uint32_t entryNum; - // ArtsPrimitive ioHelper; -@@ -163,7 +163,7 @@ - // - //------------------------------------------------------------------------- - ostream & ArtsInterfaceMatrixData::write(ostream& os, -- uint8_t version = 0) -+ uint8_t version) - { - uint32_t entryNum; - -@@ -185,7 +185,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsInterfaceMatrixData::write(int fd, uint8_t version = 0) -+int ArtsInterfaceMatrixData::write(int fd, uint8_t version) - { - uint32_t entryNum; - int rc; -@@ -237,7 +237,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsInterfaceMatrixData::Length(uint8_t version = 0) const -+uint32_t ArtsInterfaceMatrixData::Length(uint8_t version) const - { - uint32_t length = 0; - diff --git a/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixEntry.cc b/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixEntry.cc deleted file mode 100644 index 30ad2898c67f..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsInterfaceMatrixEntry.cc +++ /dev/null @@ -1,57 +0,0 @@ ---- ./classes/src/ArtsInterfaceMatrixEntry.cc.orig Mon Oct 2 13:05:25 2000 -+++ ./classes/src/ArtsInterfaceMatrixEntry.cc Wed Sep 25 16:38:10 2002 -@@ -214,7 +214,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsInterfaceMatrixEntry::Length(uint8_t version = 0) const -+uint32_t ArtsInterfaceMatrixEntry::Length(uint8_t version) const - { - uint32_t length; - length = (sizeof(this->_descriptor) + -@@ -231,11 +231,11 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream & ArtsInterfaceMatrixEntry::read(istream& is, uint8_t version = 0) -+istream & ArtsInterfaceMatrixEntry::read(istream& is, uint8_t version) - { - uint8_t bytesize, pktsize, srcsize, dstsize; - -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - srcsize = (this->_descriptor & 0x01) + 1; - dstsize = ((this->_descriptor >> 1) & 0x01) + 1; -@@ -255,7 +255,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsInterfaceMatrixEntry::read(int fd, uint8_t version = 0) -+int ArtsInterfaceMatrixEntry::read(int fd, uint8_t version) - { - uint8_t bytesize, pktsize, srcsize, dstsize; - int rc; -@@ -307,11 +307,11 @@ - // - //------------------------------------------------------------------------- - ostream & ArtsInterfaceMatrixEntry::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t bytesize, pktsize, srcsize, dstsize; - -- os.write(&this->_descriptor,sizeof(this->_descriptor)); -+ os.write((char *)&this->_descriptor,sizeof(this->_descriptor)); - - srcsize = (this->_descriptor & 0x01) + 1; - dstsize = ((this->_descriptor >> 1) & 0x01) + 1; -@@ -331,7 +331,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsInterfaceMatrixEntry::write(int fd, uint8_t version = 0) const -+int ArtsInterfaceMatrixEntry::write(int fd, uint8_t version) const - { - uint8_t bytesize, pktsize, srcsize, dstsize; - int rc; diff --git a/net/arts++/files/patch-classes::src::ArtsIpPathData.cc b/net/arts++/files/patch-classes::src::ArtsIpPathData.cc deleted file mode 100644 index fc13c606649e..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsIpPathData.cc +++ /dev/null @@ -1,107 +0,0 @@ ---- ./classes/src/ArtsIpPathData.cc.orig Mon Oct 2 13:05:25 2000 -+++ ./classes/src/ArtsIpPathData.cc Wed Sep 25 16:38:10 2002 -@@ -187,7 +187,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsIpPathData::Length(uint8_t version = 0) const -+uint32_t ArtsIpPathData::Length(uint8_t version) const - { - uint32_t len = sizeof(this->_src) + sizeof(this->_dst) + - sizeof(this->_rtt) + sizeof(this->_hopDistance) + sizeof(this->_numHops); -@@ -209,28 +209,28 @@ - //------------------------------------------------------------------------ - // ostream& ArtsIpPathData::write(ostream& os, uint8_t version = 0) - //------------------------------------------------------------------------ --ostream& ArtsIpPathData::write(ostream& os, uint8_t version = 0) -+ostream& ArtsIpPathData::write(ostream& os, uint8_t version) - { - uint32_t timeDatum; - uint8_t completeAndNumHops; - -- os.write(&this->_src,sizeof(this->_src)); -- os.write(&this->_dst,sizeof(this->_dst)); -+ os.write((char *)&this->_src,sizeof(this->_src)); -+ os.write((char *)&this->_dst,sizeof(this->_dst)); - - timeDatum = htonl(this->_rtt.tv_sec); -- os.write(&timeDatum,sizeof(timeDatum)); -+ os.write((char *)&timeDatum,sizeof(timeDatum)); - timeDatum = htonl(this->_rtt.tv_usec); -- os.write(&timeDatum,sizeof(timeDatum)); -+ os.write((char *)&timeDatum,sizeof(timeDatum)); - -- os.write(&this->_hopDistance,sizeof(this->_hopDistance)); -+ os.write((char *)&this->_hopDistance,sizeof(this->_hopDistance)); - - completeAndNumHops = (this->_isComplete << 7) | this->_numHops; -- os.write(&completeAndNumHops,sizeof(completeAndNumHops)); -+ os.write((char *)&completeAndNumHops,sizeof(completeAndNumHops)); - - if (version == 1) { - if (! this->_isComplete) { -- os.write(&this->_incompleteReason,sizeof(this->_incompleteReason)); -- os.write(&this->_incompleteFlags,sizeof(this->_incompleteFlags)); -+ os.write((char *)&this->_incompleteReason,sizeof(this->_incompleteReason)); -+ os.write((char *)&this->_incompleteFlags,sizeof(this->_incompleteFlags)); - } - } - -@@ -251,7 +251,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsIpPathData::write(int fd, uint8_t version = 0) -+int ArtsIpPathData::write(int fd, uint8_t version) - { - uint32_t timeDatum; - uint8_t completeAndNumHops; -@@ -334,30 +334,30 @@ - //------------------------------------------------------------------------ - // istream& ArtsIpPathData::read(istream& is, uint8_t version = 0) - //------------------------------------------------------------------------ --istream& ArtsIpPathData::read(istream& is, uint8_t version = 0) -+istream& ArtsIpPathData::read(istream& is, uint8_t version) - { - uint32_t timeDatum; - uint8_t completeAndNumHops; - size_t hopNum; - -- is.read(&this->_src,sizeof(this->_src)); -- is.read(&this->_dst,sizeof(this->_dst)); -+ is.read((char *)&this->_src,sizeof(this->_src)); -+ is.read((char *)&this->_dst,sizeof(this->_dst)); - -- is.read(&timeDatum,sizeof(timeDatum)); -+ is.read((char *)&timeDatum,sizeof(timeDatum)); - this->_rtt.tv_sec = ntohl(timeDatum); -- is.read(&timeDatum,sizeof(timeDatum)); -+ is.read((char *)&timeDatum,sizeof(timeDatum)); - this->_rtt.tv_usec = ntohl(timeDatum); - -- is.read(&this->_hopDistance,sizeof(this->_hopDistance)); -+ is.read((char *)&this->_hopDistance,sizeof(this->_hopDistance)); - -- is.read(&completeAndNumHops,sizeof(completeAndNumHops)); -+ is.read((char *)&completeAndNumHops,sizeof(completeAndNumHops)); - this->_isComplete = completeAndNumHops >> 7; - this->_numHops = completeAndNumHops & 0x7f; - - if (version == 1) { - if (! this->_isComplete) { -- is.read(&this->_incompleteReason,sizeof(this->_incompleteReason)); -- is.read(&this->_incompleteFlags,sizeof(this->_incompleteFlags)); -+ is.read((char *)&this->_incompleteReason,sizeof(this->_incompleteReason)); -+ is.read((char *)&this->_incompleteFlags,sizeof(this->_incompleteFlags)); - } - } - -@@ -384,7 +384,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsIpPathData::read(int fd, uint8_t version = 0) -+int ArtsIpPathData::read(int fd, uint8_t version) - { - uint32_t timeDatum; - uint8_t completeAndNumHops; diff --git a/net/arts++/files/patch-classes::src::ArtsIpPathEntry.cc b/net/arts++/files/patch-classes::src::ArtsIpPathEntry.cc deleted file mode 100644 index 143f9787139b..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsIpPathEntry.cc +++ /dev/null @@ -1,66 +0,0 @@ ---- ./classes/src/ArtsIpPathEntry.cc.orig Mon Oct 2 13:05:25 2000 -+++ ./classes/src/ArtsIpPathEntry.cc Wed Sep 25 16:38:10 2002 -@@ -111,13 +111,13 @@ - //------------------------------------------------------------------------ - // istream& ArtsIpPathEntry::read(istream& is, uint8_t version = 0) - //------------------------------------------------------------------------ --istream& ArtsIpPathEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsIpPathEntry::read(istream& is, uint8_t version) - { -- is.read(&this->_hopNum,sizeof(this->_hopNum)); -+ is.read((char *)&this->_hopNum,sizeof(this->_hopNum)); - if (! is) - return(is); - -- is.read(&this->_ipAddr,sizeof(this->_ipAddr)); -+ is.read((char *)&this->_ipAddr,sizeof(this->_ipAddr)); - if (! is) - return(is); - -@@ -130,7 +130,7 @@ - this->_rtt.tv_sec = fourBytes / 1000000; - this->_rtt.tv_usec = fourBytes % 1000000; - -- is.read(&this->_numTries,sizeof(this->_numTries)); -+ is.read((char *)&this->_numTries,sizeof(this->_numTries)); - } - - return(is); -@@ -141,7 +141,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsIpPathEntry::read(int fd, uint8_t version = 0) -+int ArtsIpPathEntry::read(int fd, uint8_t version) - { - int rc; - int bytesRead = 0; -@@ -182,15 +182,15 @@ - //------------------------------------------------------------------------ - // ostream& ArtsIpPathEntry::write(ostream& os, uint8_t version = 0) const - //------------------------------------------------------------------------ --ostream& ArtsIpPathEntry::write(ostream& os, uint8_t version = 0) const -+ostream& ArtsIpPathEntry::write(ostream& os, uint8_t version) const - { -- os.write(&this->_hopNum,sizeof(this->_hopNum)); -- os.write(&this->_ipAddr,sizeof(this->_ipAddr)); -+ os.write((char *)&this->_hopNum,sizeof(this->_hopNum)); -+ os.write((char *)&this->_ipAddr,sizeof(this->_ipAddr)); - - if (version == 1) { - uint32_t fourBytes = (this->_rtt.tv_sec * 1000000) + this->_rtt.tv_usec; - g_ArtsLibInternal_Primitive.WriteUint32(os,fourBytes,4); -- os.write(&this->_numTries,sizeof(this->_numTries)); -+ os.write((char *)&this->_numTries,sizeof(this->_numTries)); - } - - return(os); -@@ -201,7 +201,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsIpPathEntry::write(int fd, uint8_t version = 0) const -+int ArtsIpPathEntry::write(int fd, uint8_t version) const - { - int rc; - int bytesWritten = 0; diff --git a/net/arts++/files/patch-classes::src::ArtsNetMatrixAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsNetMatrixAggregatorMap.cc deleted file mode 100644 index 59f3ea0e1880..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsNetMatrixAggregatorMap.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/src/ArtsNetMatrixAggregatorMap.cc.orig Mon Oct 2 13:05:25 2000 -+++ ./classes/src/ArtsNetMatrixAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,9 +46,11 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #include "ArtsNetMatrixAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::src::ArtsNetMatrixData.cc b/net/arts++/files/patch-classes::src::ArtsNetMatrixData.cc deleted file mode 100644 index 730923eb3f84..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsNetMatrixData.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- ./classes/src/ArtsNetMatrixData.cc.orig Mon Oct 2 13:05:25 2000 -+++ ./classes/src/ArtsNetMatrixData.cc Wed Sep 25 16:38:10 2002 -@@ -83,7 +83,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream & ArtsNetMatrixData::read(istream& is, uint8_t version = 2) -+istream & ArtsNetMatrixData::read(istream& is, uint8_t version) - { - uint32_t entryNum; - ArtsNetMatrixEntry netEntry; -@@ -108,7 +108,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsNetMatrixData::read(int fd, uint8_t version = 2) -+int ArtsNetMatrixData::read(int fd, uint8_t version) - { - uint32_t entryNum; - ArtsNetMatrixEntry netEntry; -@@ -163,7 +163,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --ostream & ArtsNetMatrixData::write(ostream& os, uint8_t version = 2) -+ostream & ArtsNetMatrixData::write(ostream& os, uint8_t version) - { - uint32_t entryNum; - -@@ -185,7 +185,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsNetMatrixData::write(int fd, uint8_t version = 2) -+int ArtsNetMatrixData::write(int fd, uint8_t version) - { - uint32_t entryNum; - int rc; -@@ -237,7 +237,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsNetMatrixData::Length(uint8_t version = 2) const -+uint32_t ArtsNetMatrixData::Length(uint8_t version) const - { - uint32_t length = 0; - diff --git a/net/arts++/files/patch-classes::src::ArtsNetMatrixEntry.cc b/net/arts++/files/patch-classes::src::ArtsNetMatrixEntry.cc deleted file mode 100644 index 062bfa095692..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsNetMatrixEntry.cc +++ /dev/null @@ -1,65 +0,0 @@ ---- ./classes/src/ArtsNetMatrixEntry.cc.orig Mon Oct 2 13:05:25 2000 -+++ ./classes/src/ArtsNetMatrixEntry.cc Wed Sep 25 16:38:10 2002 -@@ -186,7 +186,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsNetMatrixEntry::Length(uint8_t version = 2) const -+uint32_t ArtsNetMatrixEntry::Length(uint8_t version) const - { - uint32_t length; - -@@ -203,7 +203,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsNetMatrixEntry::read(istream& is, uint8_t version = 2) -+istream& ArtsNetMatrixEntry::read(istream& is, uint8_t version) - { - uint8_t bytesize, - pktsize, -@@ -212,7 +212,7 @@ - dstsize, - dstmasklen; - -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - this->_descriptor = ntohs(this->_descriptor); - - srcmasklen = ((this->_descriptor >> 5) & 0x1f) + 1; -@@ -237,7 +237,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsNetMatrixEntry::read(int fd, uint8_t version = 2) -+int ArtsNetMatrixEntry::read(int fd, uint8_t version) - { - uint8_t bytesize, - pktsize, -@@ -298,7 +298,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --ostream & ArtsNetMatrixEntry::write(ostream & os, uint8_t version = 2) const -+ostream & ArtsNetMatrixEntry::write(ostream & os, uint8_t version) const - { - uint8_t bytesize, - pktsize, -@@ -309,7 +309,7 @@ - uint16_t tmpDescriptor; - - tmpDescriptor = htons(this->_descriptor); -- os.write(&tmpDescriptor,sizeof(tmpDescriptor)); -+ os.write((char *)&tmpDescriptor,sizeof(tmpDescriptor)); - - srcmasklen = ((this->_descriptor >> 5) & 0x1f) + 1; - srcsize = (srcmasklen + 7) / 8; -@@ -333,7 +333,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsNetMatrixEntry::write(int fd, uint8_t version = 2) const -+int ArtsNetMatrixEntry::write(int fd, uint8_t version) const - { - uint8_t bytesize, - pktsize, diff --git a/net/arts++/files/patch-classes::src::ArtsNextHopTableAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsNextHopTableAggregatorMap.cc deleted file mode 100644 index b5415ec220d9..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsNextHopTableAggregatorMap.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/src/ArtsNextHopTableAggregatorMap.cc.orig Mon Oct 2 13:05:26 2000 -+++ ./classes/src/ArtsNextHopTableAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,9 +46,11 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #include "ArtsNextHopTableAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::src::ArtsNextHopTableData.cc b/net/arts++/files/patch-classes::src::ArtsNextHopTableData.cc deleted file mode 100644 index d68296e73cfb..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsNextHopTableData.cc +++ /dev/null @@ -1,56 +0,0 @@ ---- ./classes/src/ArtsNextHopTableData.cc.orig Mon Oct 2 13:05:26 2000 -+++ ./classes/src/ArtsNextHopTableData.cc Wed Sep 25 16:38:10 2002 -@@ -182,7 +182,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsNextHopTableData::ComputeLength(uint8_t version = 0) const -+uint32_t ArtsNextHopTableData::ComputeLength(uint8_t version) const - { - this->_length = 0; - -@@ -205,7 +205,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsNextHopTableData::Length(uint8_t version = 0) const -+uint32_t ArtsNextHopTableData::Length(uint8_t version) const - { - this->ComputeLength(version); - return(this->_length); -@@ -216,7 +216,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsNextHopTableData::read(istream& is, uint8_t version = 0) -+istream& ArtsNextHopTableData::read(istream& is, uint8_t version) - { - uint32_t numNextHops; - uint32_t NextHopNum; -@@ -239,7 +239,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsNextHopTableData::read(int fd, uint8_t version = 0) -+int ArtsNextHopTableData::read(int fd, uint8_t version) - { - uint32_t numNextHops; - uint32_t NextHopNum; -@@ -281,7 +281,7 @@ - // - //------------------------------------------------------------------------- - ostream& ArtsNextHopTableData::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numNextHops; - -@@ -306,7 +306,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsNextHopTableData::write(int fd, uint8_t version = 0) const -+int ArtsNextHopTableData::write(int fd, uint8_t version) const - { - uint32_t numNextHops; - int rc; diff --git a/net/arts++/files/patch-classes::src::ArtsNextHopTableEntry.cc b/net/arts++/files/patch-classes::src::ArtsNextHopTableEntry.cc deleted file mode 100644 index fe8fcc589a78..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsNextHopTableEntry.cc +++ /dev/null @@ -1,67 +0,0 @@ ---- ./classes/src/ArtsNextHopTableEntry.cc.orig Mon Oct 2 13:05:26 2000 -+++ ./classes/src/ArtsNextHopTableEntry.cc Wed Sep 25 16:38:10 2002 -@@ -192,7 +192,7 @@ - //------------------------------------------------------------------------- - // uint32_t ArtsNextHopTableEntry::Length(uint8_t version = 0) const - //------------------------------------------------------------------------- --uint32_t ArtsNextHopTableEntry::Length(uint8_t version = 0) const -+uint32_t ArtsNextHopTableEntry::Length(uint8_t version) const - { - uint32_t len = 0; - -@@ -207,15 +207,15 @@ - //------------------------------------------------------------------------- - // istream& ArtsNextHopTableEntry::read(istream& is, uint8_t version = 0) - //------------------------------------------------------------------------- --istream& ArtsNextHopTableEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsNextHopTableEntry::read(istream& is, uint8_t version) - { - uint8_t fieldLen; - - // IP address -- is.read(&this->_ipAddr,sizeof(this->_ipAddr)); -+ is.read((char *)&this->_ipAddr,sizeof(this->_ipAddr)); - - // descriptor -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - // pkts - fieldLen = (this->_descriptor >> 3) + 1; -@@ -231,7 +231,7 @@ - //------------------------------------------------------------------------- - // int ArtsNextHopTableEntry::read(int fd, uint8_t version = 0) - //------------------------------------------------------------------------- --int ArtsNextHopTableEntry::read(int fd, uint8_t version = 0) -+int ArtsNextHopTableEntry::read(int fd, uint8_t version) - { - uint8_t fieldLen; - int rc = 0; -@@ -262,15 +262,15 @@ - // uint8_t version = 0) const - //------------------------------------------------------------------------- - ostream& ArtsNextHopTableEntry::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t fieldLen; - - // IP address -- os.write(&this->_ipAddr,sizeof(this->_ipAddr)); -+ os.write((char *)&this->_ipAddr,sizeof(this->_ipAddr)); - - // descriptor -- os.write(&this->_descriptor,1); -+ os.write((char *)&this->_descriptor,1); - - // pkts - fieldLen = (this->_descriptor >> 3) + 1; -@@ -286,7 +286,7 @@ - //------------------------------------------------------------------------- - // int ArtsNextHopTableEntry::write(int fd, uint8_t version = 0) const - //------------------------------------------------------------------------- --int ArtsNextHopTableEntry::write(int fd, uint8_t version = 0) const -+int ArtsNextHopTableEntry::write(int fd, uint8_t version) const - { - uint8_t fieldLen; - int rc = 0; diff --git a/net/arts++/files/patch-classes::src::ArtsPortChoice.cc b/net/arts++/files/patch-classes::src::ArtsPortChoice.cc deleted file mode 100644 index 707266dcb61b..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortChoice.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- ./classes/src/ArtsPortChoice.cc.orig Mon Oct 2 13:05:26 2000 -+++ ./classes/src/ArtsPortChoice.cc Wed Sep 25 16:38:10 2002 -@@ -293,7 +293,7 @@ - { - uint8_t portLength; - -- is.read(&this->_flags,sizeof(this->_flags)); -+ is.read((char *)&this->_flags,sizeof(this->_flags)); - if (!is) - return(is); - -@@ -364,7 +364,7 @@ - { - uint8_t portLength; - -- os.write(&this->_flags,sizeof(this->_flags)); -+ os.write((char *)&this->_flags,sizeof(this->_flags)); - - portLength = 1; - if (this->_flags & this->k_firstPortLengthMask) diff --git a/net/arts++/files/patch-classes::src::ArtsPortChooser.lex b/net/arts++/files/patch-classes::src::ArtsPortChooser.lex deleted file mode 100644 index c5407ed0b8cb..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortChooser.lex +++ /dev/null @@ -1,11 +0,0 @@ ---- ./classes/src/ArtsPortChooser.lex.orig Mon Oct 2 13:05:27 2000 -+++ ./classes/src/ArtsPortChooser.lex Wed Sep 25 16:38:10 2002 -@@ -233,7 +233,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsPortChooser::Length(uint8_t version = 0) const -+uint32_t ArtsPortChooser::Length(uint8_t version) const - { - uint32_t length = 0; - vector::const_iterator choiceIter; diff --git a/net/arts++/files/patch-classes::src::ArtsPortMatrixAggregator.cc b/net/arts++/files/patch-classes::src::ArtsPortMatrixAggregator.cc deleted file mode 100644 index 29b303fb7f83..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortMatrixAggregator.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- ./classes/src/ArtsPortMatrixAggregator.cc.orig Mon Oct 2 13:05:27 2000 -+++ ./classes/src/ArtsPortMatrixAggregator.cc Wed Sep 25 16:38:10 2002 -@@ -327,7 +327,7 @@ - //---------------------------------------------------------------------------- - ArtsSelectedPortTable * - ArtsPortMatrixAggregator:: --ConvertToArtsSelectedPortTable(int numTopPorts, bool byPkts = false) const -+ConvertToArtsSelectedPortTable(int numTopPorts, bool byPkts) const - { - ArtsPortTableEntry portEntry; - map >::const_iterator portCounter; diff --git a/net/arts++/files/patch-classes::src::ArtsPortMatrixAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsPortMatrixAggregatorMap.cc deleted file mode 100644 index 13a3ddcd5547..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortMatrixAggregatorMap.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/src/ArtsPortMatrixAggregatorMap.cc.orig Mon Oct 2 13:05:27 2000 -+++ ./classes/src/ArtsPortMatrixAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,9 +46,11 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #include "ArtsPortMatrixAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::src::ArtsPortMatrixData.cc b/net/arts++/files/patch-classes::src::ArtsPortMatrixData.cc deleted file mode 100644 index 81bb8038499b..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortMatrixData.cc +++ /dev/null @@ -1,52 +0,0 @@ ---- ./classes/src/ArtsPortMatrixData.cc.orig Mon Oct 2 13:05:27 2000 -+++ ./classes/src/ArtsPortMatrixData.cc Wed Sep 25 16:38:10 2002 -@@ -82,7 +82,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream & ArtsPortMatrixData::read(istream& is, uint8_t version = 0) -+istream & ArtsPortMatrixData::read(istream& is, uint8_t version) - { - uint32_t entryNum; - ArtsPortMatrixEntry portEntry; -@@ -107,7 +107,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsPortMatrixData::read(int fd, uint8_t version = 0) -+int ArtsPortMatrixData::read(int fd, uint8_t version) - { - uint32_t entryNum; - ArtsPortMatrixEntry portEntry; -@@ -162,7 +162,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --ostream & ArtsPortMatrixData::write(ostream& os, uint8_t version = 0) -+ostream & ArtsPortMatrixData::write(ostream& os, uint8_t version) - { - uint32_t entryNum; - -@@ -180,11 +180,11 @@ - } - - //------------------------------------------------------------------------- --// int ArtsPortMatrixData::write(int fd, uint8_t version = 0) -+// int ArtsPortMatrixData::write(int fd, uint8_t version) - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsPortMatrixData::write(int fd, uint8_t version = 0) -+int ArtsPortMatrixData::write(int fd, uint8_t version) - { - uint32_t entryNum; - int rc; -@@ -236,7 +236,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsPortMatrixData::Length(uint8_t version = 0) const -+uint32_t ArtsPortMatrixData::Length(uint8_t version) const - { - uint32_t length = 0; - diff --git a/net/arts++/files/patch-classes::src::ArtsPortMatrixEntry.cc b/net/arts++/files/patch-classes::src::ArtsPortMatrixEntry.cc deleted file mode 100644 index c5b44db0abf5..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortMatrixEntry.cc +++ /dev/null @@ -1,68 +0,0 @@ ---- ./classes/src/ArtsPortMatrixEntry.cc.orig Mon Oct 2 13:05:27 2000 -+++ ./classes/src/ArtsPortMatrixEntry.cc Wed Sep 25 16:38:10 2002 -@@ -176,7 +176,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsPortMatrixEntry::Length(uint8_t version = 0) const -+uint32_t ArtsPortMatrixEntry::Length(uint8_t version) const - { - uint32_t length; - -@@ -189,18 +189,18 @@ - } - - //------------------------------------------------------------------------- --// istream& ArtsPortMatrixEntry::read(istream& is, uint8_t version = 0) -+// istream& ArtsPortMatrixEntry::read(istream& is, uint8_t version) - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsPortMatrixEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsPortMatrixEntry::read(istream& is, uint8_t version) - { - uint8_t bytesize, - pktsize, - srcsize, - dstsize; - -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - srcsize = (this->_descriptor & 0x01) + 1; - dstsize = ((this->_descriptor >> 1) & 0x01) + 1; -@@ -220,7 +220,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsPortMatrixEntry::read(int fd, uint8_t version = 0) -+int ArtsPortMatrixEntry::read(int fd, uint8_t version) - { - uint8_t bytesize, - pktsize, -@@ -273,14 +273,14 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --ostream & ArtsPortMatrixEntry::write(ostream & os, uint8_t version = 0) const -+ostream & ArtsPortMatrixEntry::write(ostream & os, uint8_t version) const - { - uint8_t bytesize, - pktsize, - srcsize, - dstsize; - -- os.write(&this->_descriptor,sizeof(this->_descriptor)); -+ os.write((char *)&this->_descriptor,sizeof(this->_descriptor)); - - srcsize = (this->_descriptor & 0x01) + 1; - dstsize = ((this->_descriptor >> 1) & 0x01) + 1; -@@ -300,7 +300,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsPortMatrixEntry::write(int fd, uint8_t version = 0) const -+int ArtsPortMatrixEntry::write(int fd, uint8_t version) const - { - uint8_t bytesize, - pktsize, diff --git a/net/arts++/files/patch-classes::src::ArtsPortTableData.cc b/net/arts++/files/patch-classes::src::ArtsPortTableData.cc deleted file mode 100644 index 52b84bd22665..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortTableData.cc +++ /dev/null @@ -1,56 +0,0 @@ ---- ./classes/src/ArtsPortTableData.cc.orig Mon Oct 2 13:05:28 2000 -+++ ./classes/src/ArtsPortTableData.cc Wed Sep 25 16:38:10 2002 -@@ -182,7 +182,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsPortTableData::ComputeLength(uint8_t version = 0) const -+uint32_t ArtsPortTableData::ComputeLength(uint8_t version) const - { - this->_length = 0; - -@@ -205,7 +205,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsPortTableData::Length(uint8_t version = 0) const -+uint32_t ArtsPortTableData::Length(uint8_t version) const - { - this->ComputeLength(version); - return(this->_length); -@@ -216,7 +216,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsPortTableData::read(istream& is, uint8_t version = 0) -+istream& ArtsPortTableData::read(istream& is, uint8_t version) - { - uint32_t numPorts; - uint32_t portNum; -@@ -239,7 +239,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsPortTableData::read(int fd, uint8_t version = 0) -+int ArtsPortTableData::read(int fd, uint8_t version) - { - uint32_t numPorts; - uint32_t portNum; -@@ -281,7 +281,7 @@ - // - //------------------------------------------------------------------------- - ostream& ArtsPortTableData::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numPorts; - vector::const_iterator portEntry; -@@ -305,7 +305,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsPortTableData::write(int fd, uint8_t version = 0) const -+int ArtsPortTableData::write(int fd, uint8_t version) const - { - uint32_t numPorts; - int rc; diff --git a/net/arts++/files/patch-classes::src::ArtsPortTableEntry.cc b/net/arts++/files/patch-classes::src::ArtsPortTableEntry.cc deleted file mode 100644 index 4375c474c165..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPortTableEntry.cc +++ /dev/null @@ -1,65 +0,0 @@ ---- ./classes/src/ArtsPortTableEntry.cc.orig Mon Oct 2 13:05:28 2000 -+++ ./classes/src/ArtsPortTableEntry.cc Wed Sep 25 16:38:10 2002 -@@ -332,7 +332,7 @@ - //------------------------------------------------------------------------- - // uint32_t ArtsPortTableEntry::Length(uint8_t version = 0) const - //------------------------------------------------------------------------- --uint32_t ArtsPortTableEntry::Length(uint8_t version = 0) const -+uint32_t ArtsPortTableEntry::Length(uint8_t version) const - { - uint32_t len = 0; - -@@ -349,7 +349,7 @@ - //------------------------------------------------------------------------- - // istream& ArtsPortTableEntry::read(istream& is, uint8_t version = 0) - //------------------------------------------------------------------------- --istream& ArtsPortTableEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsPortTableEntry::read(istream& is, uint8_t version) - { - uint8_t fieldLen; - -@@ -358,7 +358,7 @@ - sizeof(this->_portNum)); - - // descriptor -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - // inPkts - fieldLen = 1 << (this->_descriptor >> 6); -@@ -382,7 +382,7 @@ - //------------------------------------------------------------------------- - // int ArtsPortTableEntry::read(int fd, uint8_t version = 0) - //------------------------------------------------------------------------- --int ArtsPortTableEntry::read(int fd, uint8_t version = 0) -+int ArtsPortTableEntry::read(int fd, uint8_t version) - { - uint8_t fieldLen; - int rc = 0; -@@ -421,7 +421,7 @@ - // uint8_t version = 0) const - //------------------------------------------------------------------------- - ostream& ArtsPortTableEntry::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t fieldLen; - -@@ -430,7 +430,7 @@ - sizeof(this->_portNum)); - - // descriptor -- os.write(&this->_descriptor,1); -+ os.write((char *)&this->_descriptor,1); - - // inPkts - fieldLen = 1 << (this->_descriptor >> 6); -@@ -454,7 +454,7 @@ - //------------------------------------------------------------------------- - // int ArtsPortTableEntry::write(int fd, uint8_t version = 0) const - //------------------------------------------------------------------------- --int ArtsPortTableEntry::write(int fd, uint8_t version = 0) const -+int ArtsPortTableEntry::write(int fd, uint8_t version) const - { - uint8_t fieldLen; - int rc = 0; diff --git a/net/arts++/files/patch-classes::src::ArtsPrimitive.cc b/net/arts++/files/patch-classes::src::ArtsPrimitive.cc deleted file mode 100644 index 8f95b4a00c19..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsPrimitive.cc +++ /dev/null @@ -1,203 +0,0 @@ ---- ./classes/src/ArtsPrimitive.cc.orig Mon Oct 2 13:05:28 2000 -+++ ./classes/src/ArtsPrimitive.cc Wed Sep 25 16:38:10 2002 -@@ -150,11 +150,11 @@ - switch (len) { - case 1: - val8 = value; -- os.write(&val8,sizeof(val8)); -+ os.write((char *)&val8,sizeof(val8)); - break; - case 2: - val16 = htons(value); -- os.write(&val16,sizeof(val16)); -+ os.write((char *)&val16,sizeof(val16)); - break; - default: - #ifdef ARTS_DEBUG_DO_ASSERTIONS -@@ -218,11 +218,11 @@ - - switch (len) { - case 1: -- is.read(&val8,sizeof(val8)); -+ is.read((char *)&val8,sizeof(val8)); - value = val8; - break; - case 2: -- is.read(&val16,sizeof(val16)); -+ is.read((char *)&val16,sizeof(val16)); - value = ntohs(val16); - break; - default: -@@ -289,23 +289,23 @@ - switch (len) { - case 1: - val8 = value; -- os.write(&val8,sizeof(val8)); -+ os.write((char *)&val8,sizeof(val8)); - break; - case 2: - val16 = value; - val16 = htons(val16); -- os.write(&val16,sizeof(val16)); -+ os.write((char *)&val16,sizeof(val16)); - break; - case 3: - val8 = (value >> 16); -- os.write(&val8,sizeof(val8)); -+ os.write((char *)&val8,sizeof(val8)); - val16 = htons((value & 0x0000ffff)); -- os.write(&val16,sizeof(val16)); -+ os.write((char *)&val16,sizeof(val16)); - break; - case 4: - val32 = value; - val32 = htonl(value); -- os.write(&val32,sizeof(val32)); -+ os.write((char *)&val32,sizeof(val32)); - break; - default: - #ifdef ARTS_DEBUG_DO_ASSERTIONS -@@ -384,21 +384,21 @@ - - switch (len) { - case 1: -- is.read(&val8,sizeof(val8)); -+ is.read((char *)&val8,sizeof(val8)); - value = val8; - break; - case 2: -- is.read(&val16,sizeof(val16)); -+ is.read((char *)&val16,sizeof(val16)); - value = ntohs(val16); - break; - case 3: -- is.read(&val8,sizeof(val8)); -+ is.read((char *)&val8,sizeof(val8)); - value = ((uint32_t)val8) << 16; -- is.read(&val16,sizeof(val16)); -+ is.read((char *)&val16,sizeof(val16)); - value |= ntohs(val16); - break; - case 4: -- is.read(&val32,sizeof(val32)); -+ is.read((char *)&val32,sizeof(val32)); - value = ntohl(val32); - break; - default: -@@ -483,22 +483,22 @@ - switch (len) { - case 1: - val8 = value; -- os.write(&val8,sizeof(val8)); -+ os.write((char *)&val8,sizeof(val8)); - break; - case 2: - val16 = value; - val16 = htons(val16); -- os.write(&val16,sizeof(val16)); -+ os.write((char *)&val16,sizeof(val16)); - break; - case 4: - valuePart[0] = value; - valuePart[0] = htonl(value); -- os.write(&valuePart[0],sizeof(uint32_t)); -+ os.write((char *)&valuePart[0],sizeof(uint32_t)); - break; - case 8: - valuePart[0] = htonl(value >> 32); - valuePart[1] = htonl(value & 0xffffffff); -- os.write(valuePart,sizeof(valuePart)); -+ os.write((char *)valuePart,sizeof(valuePart)); - break; - default: - #ifdef ARTS_DEBUG_DO_ASSERTIONS -@@ -575,19 +575,19 @@ - - switch (len) { - case 1: -- is.read(&val8,sizeof(val8)); -+ is.read((char *)&val8,sizeof(val8)); - value = val8; - break; - case 2: -- is.read(&val16,sizeof(val16)); -+ is.read((char *)&val16,sizeof(val16)); - value = ntohs(val16); - break; - case 4: -- is.read(&valuePart[0],sizeof(uint32_t)); -+ is.read((char *)&valuePart[0],sizeof(uint32_t)); - value = ntohl(valuePart[0]); - break; - case 8: -- is.read(valuePart,sizeof(valuePart)); -+ is.read((char *)valuePart,sizeof(valuePart)); - value = ((uint64_t)ntohl(valuePart[0])) << 32; - value += ntohl(valuePart[1]); - break; -@@ -667,24 +667,24 @@ - - switch (len) { - case 1: -- is.read(&octet1,sizeof(octet1)); -+ is.read((char *)&octet1,sizeof(octet1)); - value = htonl((ipv4addr_t)octet1 << 24); - break; - case 2: -- is.read(&octet1,sizeof(octet1)); -- is.read(&octet2,sizeof(octet2)); -+ is.read((char *)&octet1,sizeof(octet1)); -+ is.read((char *)&octet2,sizeof(octet2)); - value = htonl(((ipv4addr_t)octet1 << 24) | ((ipv4addr_t)octet2 << 16)); - break; - case 3: -- is.read(&octet1,sizeof(octet1)); -- is.read(&octet2,sizeof(octet2)); -- is.read(&octet3,sizeof(octet3)); -+ is.read((char *)&octet1,sizeof(octet1)); -+ is.read((char *)&octet2,sizeof(octet2)); -+ is.read((char *)&octet3,sizeof(octet3)); - value = htonl(((ipv4addr_t)octet1 << 24) | - ((ipv4addr_t)octet2 << 16) | - ((ipv4addr_t)octet3 << 8)); - break; - case 4: -- is.read(&ipAddr,sizeof(ipAddr)); -+ is.read((char *)&ipAddr,sizeof(ipAddr)); - value = ipAddr; - break; - default: -@@ -766,26 +766,26 @@ - switch (len) { - case 1: - octet1 = ntohl(value) >> 24; -- os.write(&octet1,sizeof(octet1)); -+ os.write((char *)&octet1,sizeof(octet1)); - break; - case 2: - netaddr = ntohl(value); - octet1 = (ipv4addr_t)(netaddr >> 24) & 0xff; - octet2 = (ipv4addr_t)(netaddr >> 16) & 0xff; -- os.write(&octet1,sizeof(octet1)); -- os.write(&octet2,sizeof(octet2)); -+ os.write((char *)&octet1,sizeof(octet1)); -+ os.write((char *)&octet2,sizeof(octet2)); - break; - case 3: - netaddr = ntohl(value); - octet1 = (ipv4addr_t)(netaddr >> 24) & 0xff; - octet2 = (ipv4addr_t)(netaddr >> 16) & 0xff; - octet3 = (ipv4addr_t)(netaddr >> 8) & 0xff; -- os.write(&octet1,sizeof(octet1)); -- os.write(&octet2,sizeof(octet2)); -- os.write(&octet3,sizeof(octet3)); -+ os.write((char *)&octet1,sizeof(octet1)); -+ os.write((char *)&octet2,sizeof(octet2)); -+ os.write((char *)&octet3,sizeof(octet3)); - break; - case 4: -- os.write(&value,4); -+ os.write((char *)&value,4); - break; - default: - #ifdef ARTS_DEBUG_DO_ASSERTIONS diff --git a/net/arts++/files/patch-classes::src::ArtsProtocolTableAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsProtocolTableAggregatorMap.cc deleted file mode 100644 index ef06ff345812..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsProtocolTableAggregatorMap.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/src/ArtsProtocolTableAggregatorMap.cc.orig Mon Oct 2 13:05:28 2000 -+++ ./classes/src/ArtsProtocolTableAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,9 +46,11 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #include "ArtsProtocolTableAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::src::ArtsProtocolTableData.cc b/net/arts++/files/patch-classes::src::ArtsProtocolTableData.cc deleted file mode 100644 index aa663de0f88e..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsProtocolTableData.cc +++ /dev/null @@ -1,60 +0,0 @@ ---- ./classes/src/ArtsProtocolTableData.cc.orig Mon Oct 2 13:05:28 2000 -+++ ./classes/src/ArtsProtocolTableData.cc Wed Sep 25 16:38:10 2002 -@@ -182,7 +182,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsProtocolTableData::ComputeLength(uint8_t version = 0) const -+uint32_t ArtsProtocolTableData::ComputeLength(uint8_t version) const - { - this->_length = 0; - -@@ -205,18 +205,18 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsProtocolTableData::Length(uint8_t version = 0) const -+uint32_t ArtsProtocolTableData::Length(uint8_t version) const - { - this->ComputeLength(version); - return(this->_length); - } - - //------------------------------------------------------------------------- --// istream& ArtsProtocolTableData::read(istream& is, uint8_t version = 0) -+// istream& ArtsProtocolTableData::read(istream& is, uint8_t version) - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsProtocolTableData::read(istream& is, uint8_t version = 0) -+istream& ArtsProtocolTableData::read(istream& is, uint8_t version) - { - uint32_t numProtocols; - uint32_t protocolNum; -@@ -239,7 +239,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsProtocolTableData::read(int fd, uint8_t version = 0) -+int ArtsProtocolTableData::read(int fd, uint8_t version) - { - uint32_t numProtocols; - uint32_t protocolNum; -@@ -281,7 +281,7 @@ - // - //------------------------------------------------------------------------- - ostream& ArtsProtocolTableData::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numProtocols; - -@@ -306,7 +306,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsProtocolTableData::write(int fd, uint8_t version = 0) const -+int ArtsProtocolTableData::write(int fd, uint8_t version) const - { - uint32_t numProtocols; - int rc; diff --git a/net/arts++/files/patch-classes::src::ArtsProtocolTableEntry.cc b/net/arts++/files/patch-classes::src::ArtsProtocolTableEntry.cc deleted file mode 100644 index 160e3714b725..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsProtocolTableEntry.cc +++ /dev/null @@ -1,67 +0,0 @@ ---- ./classes/src/ArtsProtocolTableEntry.cc.orig Mon Oct 2 13:05:28 2000 -+++ ./classes/src/ArtsProtocolTableEntry.cc Wed Sep 25 16:38:10 2002 -@@ -189,7 +189,7 @@ - //------------------------------------------------------------------------- - // uint32_t ArtsProtocolTableEntry::Length(uint8_t version = 0) const - //------------------------------------------------------------------------- --uint32_t ArtsProtocolTableEntry::Length(uint8_t version = 0) const -+uint32_t ArtsProtocolTableEntry::Length(uint8_t version) const - { - uint32_t len = 0; - -@@ -204,15 +204,15 @@ - //------------------------------------------------------------------------- - // istream& ArtsProtocolTableEntry::read(istream& is, uint8_t version = 0) - //------------------------------------------------------------------------- --istream& ArtsProtocolTableEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsProtocolTableEntry::read(istream& is, uint8_t version) - { - uint8_t fieldLen; - - // protocol number -- is.read(&this->_protocolNum,sizeof(this->_protocolNum)); -+ is.read((char *)&this->_protocolNum,sizeof(this->_protocolNum)); - - // descriptor -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - // pkts - fieldLen = (this->_descriptor >> 3) + 1; -@@ -228,7 +228,7 @@ - //------------------------------------------------------------------------- - // int ArtsProtocolTableEntry::read(int fd, uint8_t version = 0) - //------------------------------------------------------------------------- --int ArtsProtocolTableEntry::read(int fd, uint8_t version = 0) -+int ArtsProtocolTableEntry::read(int fd, uint8_t version) - { - uint8_t fieldLen; - int rc = 0; -@@ -259,15 +259,15 @@ - // uint8_t version = 0) const - //------------------------------------------------------------------------- - ostream& ArtsProtocolTableEntry::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t fieldLen; - - // protocol number -- os.write(&this->_protocolNum,sizeof(this->_protocolNum)); -+ os.write((char *)&this->_protocolNum,sizeof(this->_protocolNum)); - - // descriptor -- os.write(&this->_descriptor,1); -+ os.write((char *)&this->_descriptor,1); - - // pkts - fieldLen = (this->_descriptor >> 3) + 1; -@@ -283,7 +283,7 @@ - //------------------------------------------------------------------------- - // int ArtsProtocolTableEntry::write(int fd, uint8_t version = 0) const - //------------------------------------------------------------------------- --int ArtsProtocolTableEntry::write(int fd, uint8_t version = 0) const -+int ArtsProtocolTableEntry::write(int fd, uint8_t version) const - { - uint8_t fieldLen; - int rc = 0; diff --git a/net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc b/net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc deleted file mode 100644 index dd45bc91abac..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc +++ /dev/null @@ -1,124 +0,0 @@ ---- classes/src/ArtsRttTimeSeriesTableData.cc.orig Thu Oct 19 16:37:14 2000 -+++ classes/src/ArtsRttTimeSeriesTableData.cc Thu Jul 17 19:19:28 2003 -@@ -47,6 +47,7 @@ - #include - #include - #include -+#include - } - - #include -@@ -192,7 +193,7 @@ - ostream & ArtsRttTimeSeriesTableEntry::write(ostream & os, - uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t rleFlags = 0; - uint8_t timestampSecsLength = 0; -@@ -217,7 +218,7 @@ - - timestampUsecsLength = BytesNeededForUint32(this->_timestamp.tv_usec); - rleFlags |= (timestampUsecsLength - 1); -- os.write(&rleFlags,sizeof(rleFlags)); -+ os.write((char *)&rleFlags,sizeof(rleFlags)); - if (rttLength > 0) - g_ArtsLibInternal_Primitive.WriteUint32(os,this->_rtt,rttLength); - if (timestampSecsLength > 0) -@@ -232,14 +233,14 @@ - // int ArtsRttTimeSeriesTableEntry::write(int fd, - // uint32_t timeBase, - // uint32_t prevSecsOffset, --// uint8_t version = 0) const -+// uint8_t version) const - //............................................................................ - // - //---------------------------------------------------------------------------- - int ArtsRttTimeSeriesTableEntry::write(int fd, - uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t rleFlags = 0; - uint8_t timestampSecsLength = 0; -@@ -302,7 +303,7 @@ - //---------------------------------------------------------------------------- - uint32_t ArtsRttTimeSeriesTableEntry::Length(uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t length = sizeof(uint8_t); // always have rleFlags - if (this->_rtt != k_droppedPacketRtt) { -@@ -330,13 +331,13 @@ - istream & ArtsRttTimeSeriesTableEntry::read(istream & is, - uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) -+ uint8_t version) - { - uint8_t rleFlags = 0; - uint8_t timestampUsecsLength = 0; - uint32_t timeVal; - -- is.read(&rleFlags,sizeof(rleFlags)); -+ is.read((char *)&rleFlags,sizeof(rleFlags)); - - if (rleFlags & 0x80) { - // it's a dropped packet; RTT length is 0 -@@ -374,7 +375,7 @@ - //---------------------------------------------------------------------------- - int ArtsRttTimeSeriesTableEntry::read(int fd, uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) -+ uint8_t version) - { - uint8_t rleFlags = 0; - uint8_t timestampUsecsLength = 0; -@@ -594,7 +595,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsRttTimeSeriesTableData::read(istream& is, uint8_t version = 0) -+istream & ArtsRttTimeSeriesTableData::read(istream& is, uint8_t version) - { - uint32_t numRttEntries, rttEntryNum; - ArtsRttTimeSeriesTableEntry rttEntry; -@@ -623,7 +624,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsRttTimeSeriesTableData::read(int fd, uint8_t version = 0) -+int ArtsRttTimeSeriesTableData::read(int fd, uint8_t version) - { - uint32_t numRttEntries, rttEntryNum; - ArtsRttTimeSeriesTableEntry rttEntry; -@@ -664,7 +665,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsRttTimeSeriesTableData::Length(uint8_t version = 0) const -+uint32_t ArtsRttTimeSeriesTableData::Length(uint8_t version) const - { - uint32_t length = 0; - uint32_t rttEntryNum, numRttEntries; -@@ -693,7 +694,7 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsRttTimeSeriesTableData::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numRttEntries, rttEntryNum; - uint32_t rttUsecs; -@@ -729,7 +730,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsRttTimeSeriesTableData::write(int fd, uint8_t version = 0) const -+int ArtsRttTimeSeriesTableData::write(int fd, uint8_t version) const - { - uint32_t numRttEntries, rttEntryNum; - uint32_t rttUsecs; diff --git a/net/arts++/files/patch-classes::src::ArtsSelectedPortTableData.cc b/net/arts++/files/patch-classes::src::ArtsSelectedPortTableData.cc deleted file mode 100644 index d5468cf366a8..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsSelectedPortTableData.cc +++ /dev/null @@ -1,56 +0,0 @@ ---- ./classes/src/ArtsSelectedPortTableData.cc.orig Mon Oct 2 13:05:29 2000 -+++ ./classes/src/ArtsSelectedPortTableData.cc Wed Sep 25 16:38:10 2002 -@@ -188,7 +188,7 @@ - // - //------------------------------------------------------------------------- - uint32_t --ArtsSelectedPortTableData::ComputeLength(uint8_t version = 0) const -+ArtsSelectedPortTableData::ComputeLength(uint8_t version) const - { - this->_length = 0; - -@@ -214,7 +214,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsSelectedPortTableData::Length(uint8_t version = 0) const -+uint32_t ArtsSelectedPortTableData::Length(uint8_t version) const - { - this->ComputeLength(version); - return(this->_length); -@@ -227,7 +227,7 @@ - // - //------------------------------------------------------------------------- - istream& ArtsSelectedPortTableData::read(istream& is, -- uint8_t version = 0) -+ uint8_t version) - { - uint32_t numPorts; - uint32_t portNum; -@@ -251,7 +251,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsSelectedPortTableData::read(int fd, uint8_t version = 0) -+int ArtsSelectedPortTableData::read(int fd, uint8_t version) - { - uint32_t numPorts; - uint32_t portNum; -@@ -298,7 +298,7 @@ - // - //------------------------------------------------------------------------- - ostream& ArtsSelectedPortTableData::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numPorts; - vector::const_iterator portEntry; -@@ -323,7 +323,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsSelectedPortTableData::write(int fd, uint8_t version = 0) const -+int ArtsSelectedPortTableData::write(int fd, uint8_t version) const - { - uint32_t numPorts; - int rc; diff --git a/net/arts++/files/patch-classes::src::ArtsTosTableAggregatorMap.cc b/net/arts++/files/patch-classes::src::ArtsTosTableAggregatorMap.cc deleted file mode 100644 index 38559eaa2a34..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsTosTableAggregatorMap.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- ./classes/src/ArtsTosTableAggregatorMap.cc.orig Mon Oct 2 13:05:29 2000 -+++ ./classes/src/ArtsTosTableAggregatorMap.cc Wed Sep 25 16:38:10 2002 -@@ -46,9 +46,11 @@ - - #include - #ifdef HAVE_FSTREAM -- #include -+# include -+# include -+ using namespace std; - #else -- #include -+# include - #endif - - #include "ArtsTosTableAggregatorMap.hh" diff --git a/net/arts++/files/patch-classes::src::ArtsTosTableData.cc b/net/arts++/files/patch-classes::src::ArtsTosTableData.cc deleted file mode 100644 index fa7a323bdde0..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsTosTableData.cc +++ /dev/null @@ -1,121 +0,0 @@ ---- ./classes/src/ArtsTosTableData.cc.orig Mon Oct 2 13:05:29 2000 -+++ ./classes/src/ArtsTosTableData.cc Wed Sep 25 16:38:10 2002 -@@ -166,7 +166,7 @@ - //------------------------------------------------------------------------- - // uint32_t ArtsTosTableEntry::Length(uint8_t version = 0) const - //------------------------------------------------------------------------- --uint32_t ArtsTosTableEntry::Length(uint8_t version = 0) const -+uint32_t ArtsTosTableEntry::Length(uint8_t version) const - { - uint32_t len = 0; - -@@ -181,15 +181,15 @@ - //------------------------------------------------------------------------- - // istream& ArtsTosTableEntry::read(istream& is, uint8_t version = 0) - //------------------------------------------------------------------------- --istream& ArtsTosTableEntry::read(istream& is, uint8_t version = 0) -+istream& ArtsTosTableEntry::read(istream& is, uint8_t version) - { - uint8_t fieldLen; - - // tos number -- is.read(&this->_tosNum,sizeof(this->_tosNum)); -+ is.read((char *)&this->_tosNum,sizeof(this->_tosNum)); - - // descriptor -- is.read(&this->_descriptor,sizeof(this->_descriptor)); -+ is.read((char *)&this->_descriptor,sizeof(this->_descriptor)); - - // pkts - fieldLen = (this->_descriptor >> 3) + 1; -@@ -205,7 +205,7 @@ - //------------------------------------------------------------------------- - // int ArtsTosTableEntry::read(int fd, uint8_t version = 0) - //------------------------------------------------------------------------- --int ArtsTosTableEntry::read(int fd, uint8_t version = 0) -+int ArtsTosTableEntry::read(int fd, uint8_t version) - { - uint8_t fieldLen; - int rc = 0; -@@ -236,15 +236,15 @@ - // uint8_t version = 0) const - //------------------------------------------------------------------------- - ostream& ArtsTosTableEntry::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t fieldLen; - - // tos number -- os.write(&this->_tosNum,sizeof(this->_tosNum)); -+ os.write((char *)&this->_tosNum,sizeof(this->_tosNum)); - - // descriptor -- os.write(&this->_descriptor,1); -+ os.write((char *)&this->_descriptor,1); - - // pkts - fieldLen = (this->_descriptor >> 3) + 1; -@@ -260,7 +260,7 @@ - //------------------------------------------------------------------------- - // int ArtsTosTableEntry::write(int fd, uint8_t version = 0) const - //------------------------------------------------------------------------- --int ArtsTosTableEntry::write(int fd, uint8_t version = 0) const -+int ArtsTosTableEntry::write(int fd, uint8_t version) const - { - uint8_t fieldLen; - int rc = 0; -@@ -482,7 +482,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsTosTableData::ComputeLength(uint8_t version = 0) const -+uint32_t ArtsTosTableData::ComputeLength(uint8_t version) const - { - this->_length = 0; - -@@ -505,7 +505,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --uint32_t ArtsTosTableData::Length(uint8_t version = 0) const -+uint32_t ArtsTosTableData::Length(uint8_t version) const - { - this->ComputeLength(version); - return(this->_length); -@@ -516,7 +516,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --istream& ArtsTosTableData::read(istream& is, uint8_t version = 0) -+istream& ArtsTosTableData::read(istream& is, uint8_t version) - { - uint32_t numToss; - uint32_t tosNum; -@@ -539,7 +539,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsTosTableData::read(int fd, uint8_t version = 0) -+int ArtsTosTableData::read(int fd, uint8_t version) - { - uint32_t numToss; - uint32_t tosNum; -@@ -581,7 +581,7 @@ - // - //------------------------------------------------------------------------- - ostream& ArtsTosTableData::write(ostream& os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numToss; - -@@ -606,7 +606,7 @@ - //......................................................................... - // - //------------------------------------------------------------------------- --int ArtsTosTableData::write(int fd, uint8_t version = 0) const -+int ArtsTosTableData::write(int fd, uint8_t version) const - { - uint32_t numToss; - int rc; diff --git a/net/arts++/files/patch-configure.in b/net/arts++/files/patch-configure.in deleted file mode 100644 index ba79f0e9ce84..000000000000 --- a/net/arts++/files/patch-configure.in +++ /dev/null @@ -1,10 +0,0 @@ ---- ./configure.in.orig Wed Sep 25 16:45:26 2002 -+++ ./configure.in Wed Sep 25 16:45:55 2002 -@@ -240,6 +240,7 @@ - AC_TRY_CPP([#include ],AC_DEFINE(HAVE_IOSTREAM)) - AC_TRY_CPP([#include ],AC_DEFINE(HAVE_IOMANIP)) - AC_TRY_CPP([#include ],AC_DEFINE(HAVE_STRSTREAM)) -+AC_TRY_CPP([#include ],AC_DEFINE(HAVE_OSTREAM)) - - AC_CHECK_LIB(nsl, inet_ntoa) - AC_CHECK_LIB(socket, socket) diff --git a/net/arts++/pkg-descr b/net/arts++/pkg-descr deleted file mode 100644 index dcfe77237170..000000000000 --- a/net/arts++/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -arts++ is a support package for CAIDA's cflowd and skitter. - -It provides a C++ class library and simple applications for handling -data produced by cflowd and skitter. - -See: http://www.caida.org/tools/measurement/cflowd/ - http://www.caida.org/tools/measurement/skitter/ - -WWW: http://www.caida.org/tools/utilities/arts/ diff --git a/net/arts++/pkg-plist b/net/arts++/pkg-plist deleted file mode 100644 index a46e51300b9e..000000000000 --- a/net/arts++/pkg-plist +++ /dev/null @@ -1,96 +0,0 @@ -bin/artsagg -bin/artsasagg -bin/artsases -bin/artsdump -bin/artsintfmagg -bin/artsintfms -bin/artsnetagg -bin/artsnets -bin/artsnexthopagg -bin/artsnexthops -bin/artsportagg -bin/artsportmagg -bin/artsportms -bin/artsports -bin/artsprotoagg -bin/artsprotos -bin/artstoc -bin/artstos -include/Arts.hh -include/ArtsAggregatorMapKey.hh -include/ArtsAsMatrix.hh -include/ArtsAsMatrixAggregator.hh -include/ArtsAsMatrixAggregatorMap.hh -include/ArtsAsMatrixData.hh -include/ArtsAsMatrixEntry.hh -include/ArtsAttribute.hh -include/ArtsAttributeVector.hh -include/ArtsBgp4AggregatorAttribute.hh -include/ArtsBgp4AsPathAttribute.hh -include/ArtsBgp4AsPathSegment.hh -include/ArtsBgp4Attribute.hh -include/ArtsBgp4DPAttribute.hh -include/ArtsBgp4Prefix.hh -include/ArtsBgp4RouteEntry.hh -include/ArtsBgp4RouteTable.hh -include/ArtsBgp4RouteTableData.hh -include/ArtsBitString.hh -include/ArtsDebug.hh -include/ArtsFileUtil.hh -include/ArtsHeader.hh -include/ArtsIfIndexSelectionSet.hh -include/ArtsInterfaceMatrix.hh -include/ArtsInterfaceMatrixAggregator.hh -include/ArtsInterfaceMatrixAggregatorMap.hh -include/ArtsInterfaceMatrixData.hh -include/ArtsInterfaceMatrixEntry.hh -include/ArtsIpPath.hh -include/ArtsIpPathData.hh -include/ArtsIpPathEntry.hh -include/ArtsNetMatrix.hh -include/ArtsNetMatrixAggregator.hh -include/ArtsNetMatrixAggregatorMap.hh -include/ArtsNetMatrixData.hh -include/ArtsNetMatrixEntry.hh -include/ArtsNextHopTable.hh -include/ArtsNextHopTableAggregator.hh -include/ArtsNextHopTableAggregatorMap.hh -include/ArtsNextHopTableData.hh -include/ArtsNextHopTableEntry.hh -include/ArtsObjectTypeSelectionSet.hh -include/ArtsPackageVersion.hh -include/ArtsPortChoice.hh -include/ArtsPortChooser.hh -include/ArtsPortMatrix.hh -include/ArtsPortMatrixAggregator.hh -include/ArtsPortMatrixAggregatorMap.hh -include/ArtsPortMatrixData.hh -include/ArtsPortMatrixEntry.hh -include/ArtsPortTable.hh -include/ArtsPortTableAggregator.hh -include/ArtsPortTableData.hh -include/ArtsPortTableEntry.hh -include/ArtsPrimitive.hh -include/ArtsProtocolTable.hh -include/ArtsProtocolTableAggregator.hh -include/ArtsProtocolTableAggregatorMap.hh -include/ArtsProtocolTableData.hh -include/ArtsProtocolTableEntry.hh -include/ArtsRttTimeSeriesTable.hh -include/ArtsRttTimeSeriesTableData.hh -include/ArtsSelectedPortTable.hh -include/ArtsSelectedPortTableData.hh -include/ArtsTimeIntervalSelectionSet.hh -include/ArtsTosTable.hh -include/ArtsTosTableAggregator.hh -include/ArtsTosTableAggregatorMap.hh -include/ArtsTosTableData.hh -include/ArtsTosTableEntry.hh -include/Ipv4Network.hh -include/Ipv4PrefixPatricia.hh -include/artslocal.h -include/caida_t.h -lib/libArts.a -lib/libArts.la -lib/libArts.so -lib/libArts.so.0 -- cgit v1.2.3